/hardware/google/camera/common/hal/tests/ |
D | zsl_buffer_manager_tests.cc | 52 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/ |
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() 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/ |
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/interfaces/radio/aidl/compat/service/ |
D | hidl-utils.cpp | 38 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/ |
D | gen_calendar_entries.py | 42 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/ |
D | ThreadInfo.cpp | 25 ObjectNameManager* manager) { in updateInfo() argument 31 objManager = manager; in updateInfo()
|
/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/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()
|
/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() 175 manager->listManifestByInterface( in IsGnssHalVersion_1_1() 182 manager->listManifestByInterface( in IsGnssHalVersion_1_1()
|
/hardware/google/aemu/base/include/aemu/base/threads/internal/ |
D | ParallelTaskBase.h | 52 ManagedThread(ParallelTaskBase* manager, ThreadFlags flags) in ManagedThread() argument 53 : Thread(flags), mManager(manager) {} in ManagedThread()
|
/hardware/interfaces/automotive/can/1.0/default/tests/fuzzer/ |
D | AutomotiveCanV1_0Fuzzer.h | 62 const auto manager = hidl::manager::V1_2::IServiceManager::getService(); in Bus() local 63 const auto service = manager->get(ICanBus::descriptor, config.name); in Bus()
|
D | AutomotiveCanV1_0Fuzzer.cpp | 52 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/ |
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/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()
|
/hardware/interfaces/automotive/vehicle/2.0/default/ |
D | Android.bp | 58 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",
|
D | TEST_MAPPING | 4 "name": "android.hardware.automotive.vehicle@2.0-manager-unit-tests"
|
/hardware/interfaces/automotive/can/1.0/vts/functional/ |
D | VtsHalCanControllerV1_0TargetTest.cpp | 44 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/ |
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()
|