Loading automotive/can/1.0/default/CanBus.cpp +2 −12 Original line number Diff line number Diff line Loading @@ -25,12 +25,7 @@ #include <linux/can/error.h> #include <linux/can/raw.h> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { /** Whether to log sent/received packets. */ static constexpr bool kSuperVerbose = false; Loading Loading @@ -345,9 +340,4 @@ void CanBus::onError(int errnoVal) { if (errcb != nullptr) errcb(); } } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation automotive/can/1.0/default/CanBus.h +2 −12 Original line number Diff line number Diff line Loading @@ -26,12 +26,7 @@ #include <atomic> #include <thread> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { struct CanBus : public ICanBus { using ErrorCallback = std::function<void()>; Loading Loading @@ -114,9 +109,4 @@ struct CanBus : public ICanBus { ErrorCallback mErrCb; }; } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation automotive/can/1.0/default/CanBusNative.cpp +2 −12 Original line number Diff line number Diff line Loading @@ -20,12 +20,7 @@ #include <libnetdevice/can.h> #include <libnetdevice/libnetdevice.h> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { CanBusNative::CanBusNative(const std::string& ifname, uint32_t baudrate) : CanBus(ifname), mBaudrate(baudrate) {} Loading @@ -49,9 +44,4 @@ ICanController::Result CanBusNative::preUp() { return ICanController::Result::OK; } } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation automotive/can/1.0/default/CanBusNative.h +2 −12 Original line number Diff line number Diff line Loading @@ -18,12 +18,7 @@ #include "CanBus.h" namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { struct CanBusNative : public CanBus { CanBusNative(const std::string& ifname, uint32_t baudrate); Loading @@ -35,9 +30,4 @@ struct CanBusNative : public CanBus { const uint32_t mBaudrate; }; } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation automotive/can/1.0/default/CanBusSlcan.cpp +2 −12 Original line number Diff line number Diff line Loading @@ -25,12 +25,7 @@ #include <sys/stat.h> #include <termios.h> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { namespace slcanprotocol { static const std::string kOpenCommand = "O\r"; Loading Loading @@ -158,9 +153,4 @@ bool CanBusSlcan::postDown() { return true; } } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation Loading
automotive/can/1.0/default/CanBus.cpp +2 −12 Original line number Diff line number Diff line Loading @@ -25,12 +25,7 @@ #include <linux/can/error.h> #include <linux/can/raw.h> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { /** Whether to log sent/received packets. */ static constexpr bool kSuperVerbose = false; Loading Loading @@ -345,9 +340,4 @@ void CanBus::onError(int errnoVal) { if (errcb != nullptr) errcb(); } } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation
automotive/can/1.0/default/CanBus.h +2 −12 Original line number Diff line number Diff line Loading @@ -26,12 +26,7 @@ #include <atomic> #include <thread> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { struct CanBus : public ICanBus { using ErrorCallback = std::function<void()>; Loading Loading @@ -114,9 +109,4 @@ struct CanBus : public ICanBus { ErrorCallback mErrCb; }; } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation
automotive/can/1.0/default/CanBusNative.cpp +2 −12 Original line number Diff line number Diff line Loading @@ -20,12 +20,7 @@ #include <libnetdevice/can.h> #include <libnetdevice/libnetdevice.h> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { CanBusNative::CanBusNative(const std::string& ifname, uint32_t baudrate) : CanBus(ifname), mBaudrate(baudrate) {} Loading @@ -49,9 +44,4 @@ ICanController::Result CanBusNative::preUp() { return ICanController::Result::OK; } } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation
automotive/can/1.0/default/CanBusNative.h +2 −12 Original line number Diff line number Diff line Loading @@ -18,12 +18,7 @@ #include "CanBus.h" namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { struct CanBusNative : public CanBus { CanBusNative(const std::string& ifname, uint32_t baudrate); Loading @@ -35,9 +30,4 @@ struct CanBusNative : public CanBus { const uint32_t mBaudrate; }; } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation
automotive/can/1.0/default/CanBusSlcan.cpp +2 −12 Original line number Diff line number Diff line Loading @@ -25,12 +25,7 @@ #include <sys/stat.h> #include <termios.h> namespace android { namespace hardware { namespace automotive { namespace can { namespace V1_0 { namespace implementation { namespace android::hardware::automotive::can::V1_0::implementation { namespace slcanprotocol { static const std::string kOpenCommand = "O\r"; Loading Loading @@ -158,9 +153,4 @@ bool CanBusSlcan::postDown() { return true; } } // namespace implementation } // namespace V1_0 } // namespace can } // namespace automotive } // namespace hardware } // namespace android } // namespace android::hardware::automotive::can::V1_0::implementation