Home
last modified time | relevance | path

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

123

/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.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()
99 EXPECT_TRUE(manager->cancelSynced().isOk()); in TEST_P()
105 EXPECT_EQ(Status::EX_ILLEGAL_ARGUMENT, manager->prepareSynced(emptyIds).exceptionCode()); 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/interfaces/radio/aidl/compat/service/
Dhidl-utils.cpp38 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in listManifestByInterface() local
40 manager->listManifestByInterface(descriptor, hidl_utils::fill(&services)); in listManifestByInterface()
/hardware/google/gfxstream/guest/mesa/bin/
Dgen_calendar_entries.py42 manager: str
48 manager: str
112 … writer.writerow([f'{major}.{minor}', date.isoformat(), f'{major}.{minor}.0-rc1', args.manager])
115 writer.writerow([None, date.isoformat(), f'{major}.{minor}.0-rc{row}', args.manager])
117 …writer.writerow([None, date.isoformat(), f'{major}.{minor}.0-rc4', args.manager, OR_FINAL.format(f…
156 writer.writerow([args.series, date.isoformat(), f'{args.series}.{base}', args.manager])
159 writer.writerow([None, date.isoformat(), f'{args.series}.{row}', args.manager])
161 …writer.writerow([None, date.isoformat(), f'{args.series}.3', args.manager, LAST_RELEASE.format(arg…
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DThreadInfo.cpp25 ObjectNameManager* manager) { in updateInfo() argument
31 objManager = manager; in updateInfo()
/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()
/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()
175 manager->listManifestByInterface( in IsGnssHalVersion_1_1()
182 manager->listManifestByInterface( in IsGnssHalVersion_1_1()
/hardware/google/aemu/base/include/aemu/base/threads/internal/
DParallelTaskBase.h52 ManagedThread(ParallelTaskBase* manager, ThreadFlags flags) in ManagedThread() argument
53 : Thread(flags), mManager(manager) {} in ManagedThread()
/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/
DAutomotiveCanV1_0Fuzzer.h62 const auto manager = hidl::manager::V1_2::IServiceManager::getService(); in Bus() local
63 const auto service = manager->get(ICanBus::descriptor, config.name); in Bus()
DAutomotiveCanV1_0Fuzzer.cpp52 if (auto manager = hidl::manager::V1_2::IServiceManager::getService(); manager) { in getBusNames() local
53 manager->listManifestByInterface(ICanBus::descriptor, hidl_utils::fill(&services)); in getBusNames()
/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/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()
/hardware/interfaces/automotive/vehicle/2.0/default/
DAndroid.bp58 name: "android.hardware.automotive.vehicle@2.0-manager-lib",
105 "android.hardware.automotive.vehicle@2.0-manager-lib",
165 name: "android.hardware.automotive.vehicle@2.0-manager-unit-tests",
168 whole_static_libs: ["android.hardware.automotive.vehicle@2.0-manager-lib"],
267 "android.hardware.automotive.vehicle@2.0-manager-lib",
277 whole_static_libs: ["android.hardware.automotive.vehicle@2.0-manager-lib"],
299 … description: "The fuzzer targets the APIs of android.hardware.automotive.vehicle@2.0-manager-lib",
DTEST_MAPPING4 "name": "android.hardware.automotive.vehicle@2.0-manager-unit-tests"
/hardware/interfaces/automotive/can/1.0/vts/functional/
DVtsHalCanControllerV1_0TargetTest.cpp44 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in Bus() local
45 auto service = manager->get(ICanBus::descriptor, config.name); in Bus()
151 auto manager = hidl::manager::V1_2::IServiceManager::getService(); in assertRegistered() local
152 auto busService = manager->get(ICanBus::descriptor, srvname); in assertRegistered()
/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()

123