Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 25 of 57) sorted by relevance

123

/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DSubscriptionManager_test.cpp39 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 …]
DVehicleHalManager_test.cpp39 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/
DVtsHalVibratorManagerTargetTest.cpp63 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/
Dbus-enumerator.cpp24 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/
Dgnss_hal_test.cpp27 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/
DBaseDynamicSensorDaemon.h35 BaseDynamicSensorDaemon(DynamicSensorManager& manager) : mManager(manager) {} in BaseDynamicSensorDaemon() argument
DHidRawSensorDaemon.cpp38 HidRawSensorDaemon::HidRawSensorDaemon(DynamicSensorManager& manager) in HidRawSensorDaemon() argument
39 : BaseDynamicSensorDaemon(manager) { in HidRawSensorDaemon()
DDummyDynamicAccelDaemon.cpp38 DummyDynamicAccelDaemon::DummyDynamicAccelDaemon(DynamicSensorManager& manager) in DummyDynamicAccelDaemon() argument
39 : BaseDynamicSensorDaemon(manager) { in DummyDynamicAccelDaemon()
DHidRawSensorDaemon.h46 HidRawSensorDaemon(DynamicSensorManager& manager);
/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/
Dlibcanhaltools.cpp34 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/
Dgnss_hal_test.cpp164 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/
Dgoog_sensor_environment.cc121 sp<ISensorManager> manager = ISensorManager::getService(); in GetSensorHandle() local
122 if (manager == nullptr) { in GetSensorHandle()
129 manager->getDefaultSensor(GetHalSensorType(environment_sensor_type_), in GetSensorHandle()
Dgoog_gyro_direct.cc106 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()
Dgoog_sensor_wrapper.cc145 sp<ISensorManager> manager = ISensorManager::getService(); in InitializeEventQueueLocked() local
146 if (manager == nullptr) { in InitializeEventQueueLocked()
151 manager->createEventQueue( in InitializeEventQueueLocked()
Dgoog_sensor_motion.cc164 sp<ISensorManager> manager = ISensorManager::getService(); in GetSensorHandle() local
165 if (manager == nullptr) { in GetSensorHandle()
172 manager->getDefaultSensor(GetHalSensorType(motion_sensor_type_), in GetSensorHandle()
Dgoog_sensor_sync.cc129 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/
Dcanhaldump.cpp80 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in tryOpen() local
81 auto ret = manager->get(ICanBus::descriptor, busname).withDefault(nullptr); in tryOpen()
Dcanhalsend.cpp48 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/
DAndroid.bp56 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/
Dgenfs_contexts1 genfscon debugfs /physical-memory-group-manager u:object_r:debugfs_mgm:s0
/hardware/google/pixel/usb/include/pixelusb/
DUsbOverheatEvent.h62 using ::android::hidl::manager::V1_0::IServiceManager;
63 using ::android::hidl::manager::V1_0::IServiceNotification;
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test.cpp160 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/
DOsuHalExtn.cpp139 static OsuHalExtn manager; in getInstance() local
140 return manager; in getInstance()
/hardware/interfaces/automotive/can/1.0/default/
DCanController.cpp296 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/
Dstream_buffer_cache_manager.cc76 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()

123