Home
last modified time | relevance | path

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

12

/hardware/google/camera/common/hal/tests/
Dzsl_buffer_manager_tests.cc52 auto manager = std::make_unique<ZslBufferManager>(); in TEST() local
53 ASSERT_NE(manager, nullptr) << "Create ZslBufferManager failed."; in TEST()
55 status_t res = manager->AllocateBuffers(kRawBufferDescriptor); in TEST()
61 auto manager = std::make_unique<ZslBufferManager>(); in TEST() local
62 ASSERT_NE(manager, nullptr) << "Create ZslBufferManager failed."; in TEST()
64 status_t res = manager->AllocateBuffers(kRawBufferDescriptor); in TEST()
68 buffer = manager->GetEmptyBuffer(); in TEST()
72 buffer = manager->GetEmptyBuffer(); in TEST()
81 auto manager = std::make_unique<ZslBufferManager>(); in TEST() local
82 ASSERT_NE(manager, nullptr) << "Creating ZslBufferManager failed."; in TEST()
[all …]
/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.cpp147 manager.reset(new VehicleHalManager(hal.get())); in SetUp()
153 manager.reset(nullptr); in TearDown()
171 manager->get(requestedPropValue, [&refStatus, &refValue, &called] in invokeGet()
190 std::unique_ptr<VehicleHalManager> manager; member in android::hardware::automotive::vehicle::V2_0::__anon2922a9af0111::VehicleHalManagerTest
199 manager->getPropConfigs(properties, in TEST_F()
210 manager->getPropConfigs({ toInt(VehicleProperty::HVAC_FAN_SPEED) }, in TEST_F()
225 manager->getAllPropConfigs( in TEST_F()
247 StatusCode res = manager->subscribe(cb, options); in TEST_F()
261 StatusCode res = manager->subscribe(cb, options); in TEST_F()
299 StatusCode res = manager->subscribe(cb, options); in TEST_F()
[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/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/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);
DDummyDynamicAccelDaemon.h39 DummyDynamicAccelDaemon(DynamicSensorManager& manager);
/hardware/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test.cpp160 using ::android::hidl::manager::V1_2::IServiceManager; in IsGnssHalVersion_1_1()
161 sp<IServiceManager> manager = ::android::hardware::defaultServiceManager1_2(); in IsGnssHalVersion_1_1() local
164 manager->listManifestByInterface( in IsGnssHalVersion_1_1()
172 manager->listManifestByInterface( in IsGnssHalVersion_1_1()
179 manager->listManifestByInterface( in IsGnssHalVersion_1_1()
/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.bp47 name: "[email protected]manager-lib",
90 "[email protected]manager-lib",
157 name: "[email protected]manager-unit-tests",
160 whole_static_libs: ["[email protected]manager-lib"],
207 "[email protected]manager-lib",
/hardware/interfaces/gnss/2.0/vts/functional/
Dgnss_hal_test.cpp156 using ::android::hidl::manager::V1_2::IServiceManager; in IsGnssHalVersion_2_0()
157 sp<IServiceManager> manager = ::android::hardware::defaultServiceManager1_2(); in IsGnssHalVersion_2_0() local
160 manager->listManifestByInterface( in IsGnssHalVersion_2_0()
167 manager->listManifestByInterface( in IsGnssHalVersion_2_0()
/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.cc61 auto manager = in Create() local
63 if (manager == nullptr) { in Create()
68 manager->dummy_buffer_allocator_ = GrallocBufferAllocator::Create(); in Create()
69 if (manager->dummy_buffer_allocator_ == nullptr) { in Create()
76 return manager; in Create()
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanControllerV1_0TargetTest.cpp123 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in assertRegistered() local
124 auto busService = manager->get(ICanBus::descriptor, srvname); in assertRegistered()
/hardware/interfaces/media/bufferpool/1.0/
DREADME.md51 A manager of buffer pool clients and clients' connections to buffer pools. It
52 sets up a process to be a receiver of buffers from a buffer pool. The manager
/hardware/interfaces/media/bufferpool/2.0/
DREADME.md51 A manager of buffer pool clients and clients' connections to buffer pools. It
52 sets up a process to be a receiver of buffers from a buffer pool. The manager
/hardware/interfaces/wifi/supplicant/1.3/
DISupplicant.hal23 * with the hardware service manager.
/hardware/interfaces/wifi/supplicant/1.2/
DISupplicant.hal23 * with the hardware service manager.
/hardware/google/pixel-sepolicy/sota_app/system_ext/
Dfactory_ota_app.te18 # For get access WiFi manager service and activity service
/hardware/interfaces/automotive/evs/1.1/
DIEvsEnumerator.hal54 * Tells whether this is EVS manager or HAL implementation.
56 * @return result False for EVS manager implementations and true for all others.
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedScene.cpp443 sp<ISensorManager> manager = ISensorManager::getService(); in InitializeSensorQueue() local
444 if (manager == nullptr) { in InitializeSensorQueue()
448 manager->getSensorList( in InitializeSensorQueue()
461 manager->createEventQueue( in InitializeSensorQueue()

12