Home
last modified time | relevance | path

Searched refs:sampleService (Results 1 – 3 of 3) sorted by relevance

/test/xts/hats/hdf/manager/managerHdiTest/
Dservice_manager_hdi_c_test.cpp83 struct HdfRemoteService *sampleService = servmgr->GetService(servmgr, TEST_SERVICE_NAME); variable
85 ASSERT_TRUE(sampleService != nullptr);
87 bool ret = HdfRemoteServiceSetInterfaceDesc(sampleService, TEST_SERVICE_INTERFACE_DESC);
94 ret = HdfRemoteServiceWriteInterfaceToken(sampleService, data);
100 … int status = sampleService->dispatcher->Dispatch(sampleService, SAMPLE_SERVICE_PING, data, reply);
132 struct HdfRemoteService *sampleService = servmgr->GetService(servmgr, TEST_SERVICE_NAME); variable
134 ASSERT_TRUE(sampleService != nullptr);
135 bool ret = HdfRemoteServiceSetInterfaceDesc(sampleService, TEST_SERVICE_INTERFACE_DESC);
144 ret = HdfRemoteServiceWriteInterfaceToken(sampleService, data);
150 …int status = sampleService->dispatcher->Dispatch(sampleService, SAMPLE_SERVICE_CALLBACK, data, rep…
[all …]
/test/xts/hats/hdf/manager/managerServiceTest/
Dservice_manager_hdi_test.cpp77 void TestSampleService(sptr<IRemoteObject>& sampleService, const sptr<IDeviceManager>& devmgr,
124 auto sampleService = servmgr->GetService(TEST_SERVICE_NAME); variable
126 ASSERT_TRUE(sampleService != nullptr);
135 int status = sampleService->SendRequest(SAMPLE_SERVICE_PING, data, reply, option);
150 auto sampleService = servmgr->GetService(TEST_SERVICE_NAME); variable
151 ASSERT_TRUE(sampleService != nullptr);
163 int status = sampleService->SendRequest(SAMPLE_SERVICE_CALLBACK, data, reply, option);
179 auto sampleService = servmgr->GetService(TEST_SERVICE_NAME); variable
180 ASSERT_TRUE(sampleService != nullptr);
190 int status = sampleService->SendRequest(SAMPLE_SERVICE_SUM, data, reply, option);
[all …]
/test/xts/hats/hdf/manager/managerBenchmarkTest/
Dhdf_manager_benchmark_test.cpp61 void TestSampleService(sptr<IRemoteObject>& sampleService, const sptr<IDeviceManager>& devmgr,
112 auto sampleService = servmgr->GetService(TEST_SERVICE_NAME); in BENCHMARK_F() local
113 ASSERT_TRUE(sampleService != nullptr); in BENCHMARK_F()
124 status = sampleService->SendRequest(SAMPLE_SERVICE_PING, data, reply, option); in BENCHMARK_F()
141 auto sampleService = servmgr->GetService(TEST_SERVICE_NAME); in BENCHMARK_F() local
143 sampleService = servmgr->GetService(TEST_SERVICE_NAME); in BENCHMARK_F()
145 ASSERT_TRUE(sampleService != nullptr); in BENCHMARK_F()
157 status = sampleService->SendRequest(SAMPLE_SERVICE_CALLBACK, data, reply, option); in BENCHMARK_F()
179 auto sampleService = servmgr->GetService(TEST_SERVICE_NAME); in BENCHMARK_F() local
180 ASSERT_TRUE(sampleService == nullptr); in BENCHMARK_F()
[all …]