/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | SubscriptionManager_test.cpp | 39 SubscriptionManagerTest() : manager(([this](int x) { onPropertyUnsubscribed(x); })) {} in SubscriptionManagerTest() 41 SubscriptionManager manager; member in android::hardware::automotive::vehicle::V2_0::__anonb5671a3f0111::SubscriptionManagerTest 76 return manager.getSubscribedClients(PROP1, SubscribeFlags::EVENTS_FROM_CAR); in clientsToProp1() 80 return manager.getSubscribedClients(PROP2, SubscribeFlags::EVENTS_FROM_CAR); in clientsToProp2() 106 manager.addOrUpdateSubscription(1, cb1, subscrToProp1, &updatedOptions)); in TEST_F() 108 manager.addOrUpdateSubscription(2, cb2, subscrToProp1, &updatedOptions)); in TEST_F() 110 auto clients = manager.getSubscribedClients(PROP1, SubscribeFlags::EVENTS_FROM_CAR); in TEST_F() 118 manager.addOrUpdateSubscription(1, cb1, subscrToProp1, &updatedOptions)); in TEST_F() 121 auto clients = manager.getSubscribedClients(toInt(VehicleProperty::AP_POWER_BOOTUP_REASON), in TEST_F() 126 clients = manager.getSubscribedClients(PROP1, SubscribeFlags::EVENTS_FROM_ANDROID); in TEST_F() [all …]
|
D | VehicleHalManager_test.cpp | 39 VehicleHalManagerTestHelper(VehicleHalManager* manager) { mManager = manager; } in VehicleHalManagerTestHelper() argument 147 manager.reset(new VehicleHalManager(hal.get())); in SetUp() 153 manager.reset(nullptr); in TearDown() 171 manager->get(requestedPropValue, [&refStatus, &refValue, &called] in invokeGet() 202 std::unique_ptr<VehicleHalManager> manager; member in android::hardware::automotive::vehicle::V2_0::__anon2922a9af0111::VehicleHalManagerTest 211 manager->getPropConfigs(properties, in TEST_F() 222 manager->getPropConfigs({ toInt(VehicleProperty::HVAC_FAN_SPEED) }, in TEST_F() 237 manager->getAllPropConfigs( in TEST_F() 259 StatusCode res = manager->subscribe(cb, options); in TEST_F() 273 StatusCode res = manager->subscribe(cb, options); in TEST_F() [all …]
|
/hardware/interfaces/vibrator/aidl/vts/ |
D | VtsHalVibratorManagerTargetTest.cpp | 63 manager = android::waitForDeclaredService<IVibratorManager>(String16(GetParam().c_str())); in SetUp() 64 ASSERT_NE(manager, nullptr); in SetUp() 65 ASSERT_TRUE(manager->getCapabilities(&capabilities).isOk()); in SetUp() 66 EXPECT_TRUE(manager->getVibratorIds(&vibratorIds).isOk()); in SetUp() 69 sp<IVibratorManager> manager; member in VibratorAidl 82 EXPECT_TRUE(manager->getVibrator(id, &vibrator).isOk()); in TEST_P() 91 manager->getVibrator(invalidId, &vibrator).exceptionCode()); in TEST_P() 98 EXPECT_TRUE(manager->prepareSynced(vibratorIds).isOk()); in TEST_P() 104 EXPECT_EQ(Status::EX_ILLEGAL_ARGUMENT, manager->prepareSynced(emptyIds).exceptionCode()); in TEST_P() 109 Status status = manager->prepareSynced(vibratorIds); in TEST_P() [all …]
|
/hardware/interfaces/automotive/can/1.0/vts/utils/ |
D | bus-enumerator.cpp | 24 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in getBusNames() local 26 manager->listManifestByInterface(ICanBus::descriptor, hidl_utils::fill(&services)); in getBusNames()
|
/hardware/interfaces/gnss/2.1/vts/functional/ |
D | gnss_hal_test.cpp | 27 using ::android::hidl::manager::V1_2::IServiceManager; 30 sp<IServiceManager> manager = ::android::hardware::defaultServiceManager1_2(); in IsGnssHalVersion_2_1() local 32 manager->listManifestByInterface( in IsGnssHalVersion_2_1()
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | BaseDynamicSensorDaemon.h | 35 BaseDynamicSensorDaemon(DynamicSensorManager& manager) : mManager(manager) {} in BaseDynamicSensorDaemon() argument
|
D | HidRawSensorDaemon.cpp | 38 HidRawSensorDaemon::HidRawSensorDaemon(DynamicSensorManager& manager) in HidRawSensorDaemon() argument 39 : BaseDynamicSensorDaemon(manager) { in HidRawSensorDaemon()
|
D | DummyDynamicAccelDaemon.cpp | 38 DummyDynamicAccelDaemon::DummyDynamicAccelDaemon(DynamicSensorManager& manager) in DummyDynamicAccelDaemon() argument 39 : BaseDynamicSensorDaemon(manager) { in DummyDynamicAccelDaemon()
|
D | HidRawSensorDaemon.h | 46 HidRawSensorDaemon(DynamicSensorManager& manager);
|
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/ |
D | libcanhaltools.cpp | 34 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in getControlServices() local 36 manager->listManifestByInterface(ICanController::descriptor, hidl_utils::fill(&services)); in getControlServices()
|
/hardware/interfaces/gnss/1.1/vts/functional/ |
D | gnss_hal_test.cpp | 164 using ::android::hidl::manager::V1_2::IServiceManager; in IsGnssHalVersion_1_1() 165 sp<IServiceManager> manager = ::android::hardware::defaultServiceManager1_2(); in IsGnssHalVersion_1_1() local 168 manager->listManifestByInterface( in IsGnssHalVersion_1_1() 176 manager->listManifestByInterface( in IsGnssHalVersion_1_1() 183 manager->listManifestByInterface( in IsGnssHalVersion_1_1()
|
/hardware/google/camera/common/sensor_listener/ |
D | goog_sensor_environment.cc | 121 sp<ISensorManager> manager = ISensorManager::getService(); in GetSensorHandle() local 122 if (manager == nullptr) { in GetSensorHandle() 129 manager->getDefaultSensor(GetHalSensorType(environment_sensor_type_), in GetSensorHandle()
|
D | goog_gyro_direct.cc | 106 sp<ISensorManager> manager = ISensorManager::getService(); in EnableDirectChannel() local 107 if (manager == nullptr) { in EnableDirectChannel() 112 manager->getDefaultSensor(SensorType::GYROSCOPE, in EnableDirectChannel() 174 manager->createGrallocDirectChannel( in EnableDirectChannel()
|
D | goog_sensor_wrapper.cc | 145 sp<ISensorManager> manager = ISensorManager::getService(); in InitializeEventQueueLocked() local 146 if (manager == nullptr) { in InitializeEventQueueLocked() 151 manager->createEventQueue( in InitializeEventQueueLocked()
|
D | goog_sensor_motion.cc | 164 sp<ISensorManager> manager = ISensorManager::getService(); in GetSensorHandle() local 165 if (manager == nullptr) { in GetSensorHandle() 172 manager->getDefaultSensor(GetHalSensorType(motion_sensor_type_), in GetSensorHandle()
|
D | goog_sensor_sync.cc | 129 sp<ISensorManager> manager = ISensorManager::getService(); in GetSensorHandle() local 130 if (manager == nullptr) { in GetSensorHandle() 141 manager->getSensorList( in GetSensorHandle()
|
/hardware/interfaces/automotive/can/1.0/tools/ |
D | canhaldump.cpp | 80 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in tryOpen() local 81 auto ret = manager->get(ICanBus::descriptor, busname).withDefault(nullptr); in tryOpen()
|
D | canhalsend.cpp | 48 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in tryOpen() local 49 auto ret = manager->get(ICanBus::descriptor, busname).withDefault(nullptr); in tryOpen()
|
/hardware/interfaces/automotive/vehicle/2.0/default/ |
D | Android.bp | 56 name: "android.hardware.automotive.vehicle@2.0-manager-lib", 101 "android.hardware.automotive.vehicle@2.0-manager-lib", 171 name: "android.hardware.automotive.vehicle@2.0-manager-unit-tests", 174 whole_static_libs: ["android.hardware.automotive.vehicle@2.0-manager-lib"], 222 "android.hardware.automotive.vehicle@2.0-manager-lib", 232 whole_static_libs: ["android.hardware.automotive.vehicle@2.0-manager-lib"],
|
/hardware/google/pixel-sepolicy/pixelstats/ |
D | genfs_contexts | 1 genfscon debugfs /physical-memory-group-manager u:object_r:debugfs_mgm:s0
|
/hardware/google/pixel/usb/include/pixelusb/ |
D | UsbOverheatEvent.h | 62 using ::android::hidl::manager::V1_0::IServiceManager; 63 using ::android::hidl::manager::V1_0::IServiceNotification;
|
/hardware/interfaces/gnss/2.0/vts/functional/ |
D | gnss_hal_test.cpp | 160 using ::android::hidl::manager::V1_2::IServiceManager; in IsGnssHalVersion_2_0() 161 sp<IServiceManager> manager = ::android::hardware::defaultServiceManager1_2(); in IsGnssHalVersion_2_0() local 164 manager->listManifestByInterface( in IsGnssHalVersion_2_0() 171 manager->listManifestByInterface( in IsGnssHalVersion_2_0()
|
/hardware/nxp/secure_element/snxxx/1.2/OsuHal/src/ |
D | OsuHalExtn.cpp | 139 static OsuHalExtn manager; in getInstance() local 140 return manager; in getInstance()
|
/hardware/interfaces/automotive/can/1.0/default/ |
D | CanController.cpp | 296 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in unregisterCanBusService() local 297 if (!manager) return false; in unregisterCanBusService() 298 const auto res = manager->tryUnregister(ICanBus::descriptor, name, busService); in unregisterCanBusService()
|
/hardware/google/camera/common/hal/utils/ |
D | stream_buffer_cache_manager.cc | 76 auto manager = in Create() local 78 if (manager == nullptr) { in Create() 83 manager->dummy_buffer_allocator_ = GrallocBufferAllocator::Create(); in Create() 84 if (manager->dummy_buffer_allocator_ == nullptr) { in Create() 91 return manager; in Create()
|