Searched refs:busService (Results 1 – 2 of 2) sorted by relevance
231 sp<CanBus> busService; in upInterface() local250 busService = new CanBusNative(ifaceName, config.bitrate); in upInterface()254 busService = new CanBusVirtual(config.interfaceId.virtualif().ifname); in upInterface()272 busService = new CanBusSlcan(ttyName, config.bitrate); in upInterface()277 busService->setErrorCallback([this, name = config.name]() { downInterface(name); }); in upInterface()279 const auto result = busService->up(); in upInterface()282 if (busService->registerAsService(config.name) != OK) { in upInterface()284 if (!busService->down()) { in upInterface()290 mCanBuses[config.name] = busService; in upInterface()295 static bool unregisterCanBusService(const hidl_string& name, sp<CanBus> busService) { in unregisterCanBusService() argument[all …]
124 auto busService = manager->get(ICanBus::descriptor, srvname); in assertRegistered() local125 ASSERT_EQ(expectRegistered, busService.withDefault(nullptr) != nullptr) in assertRegistered()