Home
last modified time | relevance | path

Searched refs:CanBus (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/automotive/can/aidl/default/
DCanBus.cpp24 CanBus::CanBus(std::string_view ifname) : mIfname(ifname) {} in CanBus() function in aidl::android::hardware::automotive::can::CanBus
26 CanBus::~CanBus() { in ~CanBus()
31 Result CanBus::preUp() { in preUp()
35 bool CanBus::postDown() { in postDown()
39 std::string CanBus::getIfaceName() { in getIfaceName()
43 Result CanBus::up() { in up()
71 Result CanBus::down() { in down()
DCanBus.h28 class CanBus {
36 CanBus(std::string_view ifname = std::string_view{""});
38 virtual ~CanBus();
DCanBusNative.h22 class CanBusNative : public CanBus {
DCanBusVirtual.h22 class CanBusVirtual : public CanBus {
DCanBusSlcan.h24 class CanBusSlcan : public CanBus {
DCanBusVirtual.cpp26 CanBusVirtual::CanBusVirtual(const std::string& ifname) : CanBus(ifname) {} in CanBusVirtual()
DCanBusNative.cpp28 : CanBus(ifname), mBitrate(bitrate) {} in CanBusNative()
DCanController.h43 std::map<std::string, std::unique_ptr<CanBus>> mBusesByName = {};
DAndroid.bp33 "CanBus.cpp",
DCanBusSlcan.cpp53 : CanBus(), mTtyPath(uartName), kBitrate(bitrate) {} in CanBusSlcan()
/hardware/interfaces/automotive/can/1.0/default/
DCanBus.cpp33 Return<Result> CanBus::send(const CanMessage& message) { in send()
55 Return<void> CanBus::listen(const hidl_vec<CanMessageFilter>& filter, in listen()
85 CanBus::CanBus() {} in CanBus() function in android::hardware::automotive::can::V1_0::implementation::CanBus
87 CanBus::CanBus(const std::string& ifname) : mIfname(ifname) {} in CanBus() function in android::hardware::automotive::can::V1_0::implementation::CanBus
89 CanBus::~CanBus() { in ~CanBus()
97 void CanBus::setErrorCallback(ErrorCallback errcb) { in setErrorCallback()
104 ICanController::Result CanBus::preUp() { in preUp()
108 bool CanBus::postDown() { in postDown()
112 ICanController::Result CanBus::up() { in up()
137 CanSocket::ReadCallback rdcb = std::bind(&CanBus::onRead, this, _1, _2); in up()
[all …]
DCanBus.h32 struct CanBus : public ICanBus { struct
35 virtual ~CanBus(); argument
53 CanBus();
55 CanBus(const std::string& ifname);
DCanBusNative.h23 struct CanBusNative : public CanBus {
DCanBusVirtual.h23 struct CanBusVirtual : public CanBus {
DCanBusSlcan.h27 struct CanBusSlcan : public CanBus {
DCanController.h33 std::map<std::string, sp<CanBus>> mCanBuses GUARDED_BY(mCanBusesGuard);
DCanBusVirtual.cpp24 CanBusVirtual::CanBusVirtual(const std::string& ifname) : CanBus(ifname) {} in CanBusVirtual()
DCanBusNative.cpp26 : CanBus(ifname), mBitrate(bitrate) {} in CanBusNative()
DAndroid.bp66 "CanBus.cpp",
DCanBusSlcan.cpp48 : CanBus(), mUartName(uartName), kBitrate(bitrate) {} in CanBusSlcan()
DCanController.cpp231 sp<CanBus> busService; in upInterface()