Home
last modified time | relevance | path

Searched refs:ICanBus (Results 1 – 17 of 17) sorted by relevance

/hardware/interfaces/automotive/can/1.0/tools/
Dcanhaldump.cpp34 using ICanBus = V1_0::ICanBus; typedef
74 static sp<ICanBus> tryOpen(const std::string& busname) { in tryOpen()
75 auto bus = ICanBus::tryGetService(busname); in tryOpen()
81 auto ret = manager->get(ICanBus::descriptor, busname).withDefault(nullptr); in tryOpen()
87 return ICanBus::castFrom(ret); in tryOpen()
Dcanhalsend.cpp28 using ICanBus = V1_0::ICanBus; typedef
42 static sp<ICanBus> tryOpen(const std::string& busname) { in tryOpen()
43 auto bus = ICanBus::tryGetService(busname); in tryOpen()
49 auto ret = manager->get(ICanBus::descriptor, busname).withDefault(nullptr); in tryOpen()
55 return ICanBus::castFrom(ret); in tryOpen()
/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/
DAutomotiveCanV1_0Fuzzer.h63 const auto service = manager->get(ICanBus::descriptor, config.name); in Bus()
64 mBus = ICanBus::castFrom(service); in Bus()
77 ICanBus* operator->() const { return mBus.get(); }
78 sp<ICanBus> get() { return mBus; } in get()
104 sp<ICanBus> mBus;
DAutomotiveCanV1_0Fuzzer.cpp53 manager->listManifestByInterface(ICanBus::descriptor, hidl_utils::fill(&services)); in getBusNames()
/hardware/interfaces/automotive/can/1.0/tools/libprotocan/include/libprotocan/
DMessageInjector.h54 void onReceive(can::V1_0::ICanBus& bus, const can::V1_0::CanMessage& msg);
55 void processQueueLocked(can::V1_0::ICanBus& bus);
71 void onReceive(sp<can::V1_0::ICanBus> bus, const can::V1_0::CanMessage& msg);
/hardware/interfaces/automotive/can/1.0/tools/libprotocan/
DMessageInjector.cpp32 using can::V1_0::ICanBus;
54 void MessageInjector::processQueueLocked(can::V1_0::ICanBus& bus) { in processQueueLocked()
87 void MessageInjector::onReceive(ICanBus& bus, const CanMessage& msg) { in onReceive()
104 void MessageInjectorManager::onReceive(sp<ICanBus> bus, const CanMessage& msg) { in onReceive()
/hardware/interfaces/automotive/can/1.0/
DICanController.hal22 * server instances of ICanBus for each one that's up.
25 * A system can elect to publish only ICanBus if the hardware is hardcoded
88 * Name under which ICanBus HIDL service should be published.
95 * of changing it should be a different ICanBus HIDL service name and
177 * Bring up the CAN interface and publish ICanBus server instance.
185 * Unpublish ICanBus server instance and bring down the CAN interface.
187 * In case of failure, at least the ICanBus server instance must be
DICanErrorListener.hal26 * this specific ICanBus instance.
29 * @param isFatal Whether an error would result with ICanBus instance being unusable.
DAndroid.bp18 "ICanBus.hal",
DICanBus.hal27 interface ICanBus {
66 * this specific ICanBus instance (see ICanErrorListener).
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanControllerV1_0TargetTest.cpp45 auto service = manager->get(ICanBus::descriptor, config.name); in Bus()
46 mBus = ICanBus::castFrom(service); in Bus()
49 ICanBus* operator->() const { return mBus.get(); } in operator ->()
50 sp<ICanBus> get() { return mBus; } in get()
57 sp<ICanBus> mBus;
152 auto busService = manager->get(ICanBus::descriptor, srvname); in assertRegistered()
DVtsHalCanBusV1_0TargetTest.cpp53 sp<ICanBus> mCanBus;
58 mCanBus = ICanBus::getService(GetParam()); in SetUp()
224 testing::ValuesIn(getAllHalInstanceNames(ICanBus::descriptor)),
DVtsHalCanBusVirtualV1_0TargetTest.cpp91 auto service = manager->get(ICanBus::descriptor, config.name); in Bus()
92 mBus = ICanBus::castFrom(service); in Bus()
107 ICanBus* operator->() const { return mBus.get(); } in operator ->()
108 sp<ICanBus> get() { return mBus; } in get()
132 sp<ICanBus> mBus;
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/
Dlibcanhaltools.cpp29 using ICanBus = V1_0::ICanBus; typedef
/hardware/interfaces/automotive/can/1.0/vts/utils/
Dbus-enumerator.cpp26 manager->listManifestByInterface(ICanBus::descriptor, hidl_utils::fill(&services)); in getBusNames()
/hardware/interfaces/automotive/can/1.0/default/
DCanBus.h32 struct CanBus : public ICanBus {
/hardware/interfaces/
Dcurrent.txt651 …efa3f6f631f56120eae3f02313f251dbf9246c327e419cdf0652a2 android.hardware.automotive.can@1.0::ICanBus