Home
last modified time | relevance | path

Searched refs:testService (Results 1 - 11 of 11) sorted by relevance

/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_loader_test.c51 struct HdfIoService *testService = NULL; in main() local
84 testService = HdfIoServiceBind(USB_TEST_SAMPLE_SERVICE_NAME); in main()
85 if (testService == NULL) { in main()
91 HdfIoServiceRecycle(testService); in main()
H A Dusb_pnp_sample.c63 static struct IDeviceIoService testService = { in UsbPnpSampleTestDriverBind() local
68 deviceObject->service = &testService; in UsbPnpSampleTestDriverBind()
/drivers/hdf_core/framework/test/unittest/common/
H A Dhdf_main_test.c201 struct TestService *testService = NULL; in HdfTestCaseProcess() local
214 testService = (struct TestService *)client->device->service; in HdfTestCaseProcess()
215 if (testService == NULL) { in HdfTestCaseProcess()
254 static struct TestService testService; in HdfTestDriverBind() local
260 testService.testRemoteService.Dispatch = HdfTestCaseProcess; in HdfTestDriverBind()
262 device->service = &testService.testRemoteService; in HdfTestDriverBind()
/drivers/hdf_core/framework/test/unittest/uevent/
H A Ddevmgr_uevent_test.c41 static struct IDeviceIoService testService = { in HdfUeventDriverBind() local
47 deviceObject->service = &testService; in HdfUeventDriverBind()
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/
H A Dusb_test_pnp_notify.c60 static struct IDeviceIoService testService = { in UsbTestPnpNotifyBind() local
65 deviceObject->service = &testService; in UsbTestPnpNotifyBind()
/drivers/hdf_core/adapter/khdf/linux/test/test_helper_driver/src/
H A Dtest_helper_driver.c56 static struct IDeviceIoService testService = { in HdfHelperDriverBind() local
66 deviceObject->service = &testService; in HdfHelperDriverBind()
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/
H A Dsample_driver.cpp39 static struct IDeviceIoService testService = { in HdfSampleDriverBind() local
49 deviceObject->service = &testService; in HdfSampleDriverBind()
/drivers/hdf_core/framework/core/manager/test/unittest/common/
H A Dhdf_ioservice_test.cpp782 struct HdfIoService *testService = HdfIoServiceBind(SAMPLE_SERVICE); in TestServiceStop() local
783 ASSERT_TRUE(testService != nullptr); in TestServiceStop()
790 int ret = testService->dispatcher->Dispatch(&testService->object, SAMPLE_DRIVER_REGISTER_DEVICE, data, nullptr); in TestServiceStop()
805 ret = testService->dispatcher->Dispatch(&testService->object, SAMPLE_DRIVER_UNREGISTER_DEVICE, data, nullptr); in TestServiceStop()
819 HdfIoServiceRecycle(testService); in TestServiceStop()
872 struct HdfIoService *testService = HdfIoServiceBind(SAMPLE_SERVICE); in HWTEST_F() local
873 ASSERT_TRUE(testService != nullptr); in HWTEST_F()
879 int ret = testService in HWTEST_F()
926 struct HdfIoService *testService = HdfIoServiceBind(SAMPLE_SERVICE); HWTEST_F() local
[all...]
/drivers/hdf_core/adapter/uhdf2/osal/test/unittest/common/
H A Dsample_driver.c121 static struct IDeviceIoService testService = { in HdfSampleDriverBind() local
126 deviceObject->service = &testService; in HdfSampleDriverBind()
/drivers/hdf_core/framework/test/unittest/manager/
H A Dsample_driver_test.c226 static struct IDeviceIoService testService = { in HdfSampleDriverBind() local
236 deviceObject->service = &testService; in HdfSampleDriverBind()
/drivers/hdf_core/framework/test/unittest/pm/
H A Dhdf_pm_driver_test.c595 static struct IDeviceIoService testService = { in HdfPmDriverBind() local
600 deviceObject->service = &testService; in HdfPmDriverBind()

Completed in 6 milliseconds