Home
last modified time | relevance | path

Searched refs:devmgr (Results 1 – 9 of 9) sorted by relevance

/test/xts/hats/hdf/location/geofence/
Dlocation_geofence_test.cpp76 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in SetUpTestCase() local
77 if (devmgr == nullptr) { in SetUpTestCase()
81 if (devmgr->LoadDevice(GNSS_SERVICE_NAME) != 0) { in SetUpTestCase()
85 if (devmgr->LoadDevice(AGNSS_SERVICE_NAME) != 0) { in SetUpTestCase()
89 if (devmgr->LoadDevice(GEOFENCE_SERVICE_NAME) != 0) { in SetUpTestCase()
98 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in TearDownTestCase() local
99 if (devmgr == nullptr) { in TearDownTestCase()
103 if (devmgr->UnloadDevice(GNSS_SERVICE_NAME) != 0) { in TearDownTestCase()
107 if (devmgr->UnloadDevice(AGNSS_SERVICE_NAME) != 0) { in TearDownTestCase()
111 if (devmgr->UnloadDevice(GEOFENCE_SERVICE_NAME) != 0) { in TearDownTestCase()
/test/xts/hats/hdf/manager/managerHdiTest/
Dservice_manager_hdi_c_test.cpp43 struct HDIDeviceManager *devmgr = HDIDeviceManagerGet(); in SetUpTestCase() local
44 if (devmgr != nullptr) { in SetUpTestCase()
45 devmgr->LoadDevice(devmgr, TEST_SERVICE_NAME); in SetUpTestCase()
50 struct HDIDeviceManager *devmgr = HDIDeviceManagerGet(); in TearDownTestCase() local
51 if (devmgr != nullptr) { in TearDownTestCase()
52 devmgr->UnloadDevice(devmgr, TEST_SERVICE_NAME); in TearDownTestCase()
294 struct HDIDeviceManager *devmgr = HDIDeviceManagerGet(); variable
295 ASSERT_TRUE(devmgr != nullptr);
296 devmgr->UnloadDevice(devmgr, TEST_SERVICE_NAME);
304 int ret = devmgr->LoadDevice(devmgr, TEST_SERVICE_NAME);
[all …]
/test/xts/hats/hdf/manager/managerServiceTest/
Dservice_manager_hdi_test.cpp62 auto devmgr = IDeviceManager::Get(); in SetUpTestCase() local
63 if (devmgr != nullptr) { in SetUpTestCase()
65 devmgr->LoadDevice(TEST_SERVICE_NAME); in SetUpTestCase()
70 auto devmgr = IDeviceManager::Get(); in TearDownTestCase() local
71 if (devmgr != nullptr) { in TearDownTestCase()
73 devmgr->UnloadDevice(TEST_SERVICE_NAME); in TearDownTestCase()
76 …void TestServiceListenerStop(const sptr<IDeviceManager>& devmgr, const sptr<IServiceManager>& serv…
77 void TestSampleService(sptr<IRemoteObject>& sampleService, const sptr<IDeviceManager>& devmgr,
244 auto devmgr = IDeviceManager::Get(); variable
245 ASSERT_TRUE(devmgr != nullptr);
[all …]
/test/xts/hats/hdf/manager/managerBenchmarkTest/
Dhdf_manager_benchmark_test.cpp60 …void TestServiceListenerStop(const sptr<IDeviceManager>& devmgr, const sptr<IServiceManager>& serv…
61 void TestSampleService(sptr<IRemoteObject>& sampleService, const sptr<IDeviceManager>& devmgr,
68 auto devmgr = IDeviceManager::Get(); in SetUp() local
69 if (devmgr != nullptr) { in SetUp()
71 devmgr->LoadDevice(TEST_SERVICE_NAME); in SetUp()
76 auto devmgr = IDeviceManager::Get(); in TearDown() local
77 if (devmgr != nullptr) { in TearDown()
79 devmgr->UnloadDevice(TEST_SERVICE_NAME); in TearDown()
172 auto devmgr = IDeviceManager::Get(); in BENCHMARK_F() local
173 ASSERT_TRUE(devmgr != nullptr); in BENCHMARK_F()
[all …]
/test/xts/hats/hdf/location/gnss/
Dlocation_gnss_test.cpp153 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in SetUpTestCase() local
154 if (devmgr == nullptr) { in SetUpTestCase()
158 if (devmgr->LoadDevice(GNSS_SERVICE_NAME) != 0) { in SetUpTestCase()
162 if (devmgr->LoadDevice(AGNSS_SERVICE_NAME) != 0) { in SetUpTestCase()
166 if (devmgr->LoadDevice(GEOFENCE_SERVICE_NAME) != 0) { in SetUpTestCase()
175 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in TearDownTestCase() local
176 if (devmgr == nullptr) { in TearDownTestCase()
180 if (devmgr->UnloadDevice(GNSS_SERVICE_NAME) != 0) { in TearDownTestCase()
184 if (devmgr->UnloadDevice(AGNSS_SERVICE_NAME) != 0) { in TearDownTestCase()
188 if (devmgr->UnloadDevice(GEOFENCE_SERVICE_NAME) != 0) { in TearDownTestCase()
/test/xts/hats/hdf/location/agnss/
Dagnss_hdi_test.cpp287 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in SetUpTestCase() local
288 if (devmgr == nullptr) { in SetUpTestCase()
292 if (devmgr->LoadDevice(GNSS_SERVICE_NAME) != 0) { in SetUpTestCase()
296 if (devmgr->LoadDevice(AGNSS_SERVICE_NAME) != 0) { in SetUpTestCase()
300 if (devmgr->LoadDevice(GEOFENCE_SERVICE_NAME) != 0) { in SetUpTestCase()
316 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in TearDownTestCase() local
317 if (devmgr == nullptr) { in TearDownTestCase()
321 if (devmgr->UnloadDevice(GNSS_SERVICE_NAME) != 0) { in TearDownTestCase()
325 if (devmgr->UnloadDevice(AGNSS_SERVICE_NAME) != 0) { in TearDownTestCase()
329 if (devmgr->UnloadDevice(GEOFENCE_SERVICE_NAME) != 0) { in TearDownTestCase()
/test/xts/hats/startup/partitionslot_additional/src/
Dpartitionslot_test.cpp32 auto devmgr = IDeviceManager::Get(); in SetUpTestCase() local
33 if (devmgr != nullptr) { in SetUpTestCase()
34 devmgr->LoadDevice("partition_slot_service"); in SetUpTestCase()
41 auto devmgr = IDeviceManager::Get(); in TearDownTestCase() local
42 if (devmgr != nullptr) { in TearDownTestCase()
43 devmgr->UnloadDevice("partition_slot_service"); in TearDownTestCase()
/test/xts/hats/startup/partitionslot/src/
Dpartitionslot_test.cpp32 auto devmgr = IDeviceManager::Get(); in SetUpTestCase() local
33 if (devmgr != nullptr) { in SetUpTestCase()
34 devmgr->LoadDevice("partition_slot_service"); in SetUpTestCase()
41 auto devmgr = IDeviceManager::Get(); in TearDownTestCase() local
42 if (devmgr != nullptr) { in TearDownTestCase()
43 devmgr->UnloadDevice("partition_slot_service"); in TearDownTestCase()
/test/xts/hats/hdf/location/geofence_additional/
Dlocation_geofence_test.cpp75 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in SetUpTestCase() local
76 if (devmgr == nullptr) { in SetUpTestCase()
80 if (devmgr->LoadDevice("gnss_interface_service") != 0) { in SetUpTestCase()
84 if (devmgr->LoadDevice("agnss_interface_service") != 0) { in SetUpTestCase()
88 if (devmgr->LoadDevice("geofence_interface_service") != 0) { in SetUpTestCase()
97 auto devmgr = HDI::DeviceManager::V1_0::IDeviceManager::Get(); in TearDownTestCase() local
98 if (devmgr == nullptr) { in TearDownTestCase()
102 if (devmgr->UnloadDevice("gnss_interface_service") != 0) { in TearDownTestCase()
106 if (devmgr->UnloadDevice("agnss_interface_service") != 0) { in TearDownTestCase()
110 if (devmgr->UnloadDevice("geofence_interface_service") != 0) { in TearDownTestCase()