Searched defs:Bus (Results 1 – 5 of 5) sorted by relevance
56 struct Bus { struct59 Bus(sp<ICanController> controller, const ICanController::BusConfig& config) in Bus() function67 virtual ~Bus() { reset(); } in ~Bus() argument70 mBus.clear(); in reset() argument78 sp<ICanBus> get() { return mBus; } in get() argument83 if (!mBus) { in listen() argument104 sp<ICanBus> mBus; argument115 Bus makeBus(); argument
80 struct Bus { struct83 Bus(sp<ICanController> controller, const ICanController::BusConfig& config) in Bus() function96 virtual ~Bus() { reset(); } in ~Bus()98 void reset() { in reset()107 ICanBus* operator->() const { return mBus.get(); } in operator ->()108 sp<ICanBus> get() { return mBus; } in get()110 sp<CanMessageListener> listen(const hidl_vec<CanMessageFilter>& filter) { in listen()122 void send(const CanMessage& msg) { in send()130 const std::string mIfname;131 sp<ICanController> mController;[all …]
36 struct Bus { struct39 Bus(sp<ICanController> controller, const ICanController::BusConfig& config) in Bus() argument49 ICanBus* operator->() const { return mBus.get(); } in operator ->()50 sp<ICanBus> get() { return mBus; } in get()52 Return<Result> send(const CanMessage& msg) { return mBus->send(msg); } in send()55 const std::string mIfname;56 sp<ICanController> mController;57 sp<ICanBus> mBus;
39 message Bus { message