/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_core_test.cpp | 46 auto &srvClient = UsbSrvClient::GetInstance(); in SetUpTestCase() 74 auto &instance = UsbSrvClient::GetInstance(); 90 auto &instance = UsbSrvClient::GetInstance(); 105 auto &instance = UsbSrvClient::GetInstance(); 120 auto &instance = UsbSrvClient::GetInstance(); 135 auto &instance = UsbSrvClient::GetInstance(); 150 auto &instance = UsbSrvClient::GetInstance(); 165 auto &instance = UsbSrvClient::GetInstance(); 180 auto &instance = UsbSrvClient::GetInstance(); 195 auto &instance = UsbSrvClient::GetInstance(); [all …]
|
D | usb_bulkcallback_test.cpp | 78 auto &srvClient = UsbSrvClient::GetInstance(); in SetUpTestCase() 115 auto &UsbSrvClient = UsbSrvClient::GetInstance(); variable 116 auto ret = UsbSrvClient.GetDevices(devi); 123 UsbSrvClient.RequestRight(device.GetName()); 124 ret = UsbSrvClient.OpenDevice(device, pipe); 132 ret = UsbSrvClient.ClaimInterface(pipe, interface, true); 136 ret = UsbSrvClient.RegBulkCallback(pipe, point, cb); 140 ret = UsbSrvClient.UnRegBulkCallback(pipe, point); 144 bool close = UsbSrvClient.Close(pipe); 163 auto &UsbSrvClient = UsbSrvClient::GetInstance(); variable [all …]
|
D | usb_device_pipe_test.cpp | 42 auto &srvClient = UsbSrvClient::GetInstance(); in SetUpTestCase() 77 auto &UsbSrvClient = UsbSrvClient::GetInstance(); variable 78 auto ret = UsbSrvClient.GetDevices(devi); 86 UsbSrvClient.RequestRight(device.GetName()); 87 ret = UsbSrvClient.OpenDevice(device, pipe); 90 ret = UsbSrvClient.Close(pipe); 106 auto &UsbSrvClient = UsbSrvClient::GetInstance(); variable 108 auto ret = UsbSrvClient.GetDevices(deviceList); 116 UsbSrvClient.RequestRight(device.GetName()); 117 ret = UsbSrvClient.OpenDevice(device, pipe); [all …]
|
D | usb_request_test.cpp | 46 auto &srvClient = UsbSrvClient::GetInstance(); in SetUpTestCase() 79 auto &UsbSrvClient = UsbSrvClient::GetInstance(); variable 80 auto ret = UsbSrvClient.GetDevices(delist); 86 UsbSrvClient.RequestRight(device.GetName()); 88 ret = UsbSrvClient.OpenDevice(device, pip); 94 ret = UsbSrvClient.ClaimInterface(pip, interface, true); 106 bool close = UsbSrvClient.Close(pip); 122 auto &UsbSrvClient = UsbSrvClient::GetInstance(); variable 123 auto ret = UsbSrvClient.GetDevices(delist); 129 UsbSrvClient.RequestRight(device.GetName()); [all …]
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
D | usb_srv_client.cpp | 30 UsbSrvClient::UsbSrvClient() in UsbSrvClient() function in OHOS::USB::UsbSrvClient 34 UsbSrvClient::~UsbSrvClient() {} in ~UsbSrvClient() 36 int32_t UsbSrvClient::Connect() in Connect() 64 void UsbSrvClient::ResetProxy(const wptr<IRemoteObject> &remote) in ResetProxy() 75 void UsbSrvClient::UsbSrvDeathRecipient::OnRemoteDied(const wptr<IRemoteObject> &remote) in OnRemoteDied() 81 UsbSrvClient::GetInstance().ResetProxy(remote); in OnRemoteDied() 85 int32_t UsbSrvClient::OpenDevice(const UsbDevice &device, USBDevicePipe &pipe) in OpenDevice() 100 bool UsbSrvClient::HasRight(std::string deviceName) in HasRight() 107 int32_t UsbSrvClient::RequestRight(std::string deviceName) in RequestRight() 117 int32_t UsbSrvClient::RemoveRight(std::string deviceName) in RemoveRight() [all …]
|
D | usb_device_pipe.cpp | 36 bool bSuccess = UsbSrvClient::GetInstance().Close(*this); in Close() 45 return UsbSrvClient::GetInstance().ClaimInterface(*this, interface, force); in ClaimInterface() 50 return UsbSrvClient::GetInstance().ReleaseInterface(*this, interface); in ReleaseInterface() 55 return UsbSrvClient::GetInstance().BulkTransfer(*this, endpoint, bufferData, timeOut); in BulkTransfer() 60 return UsbSrvClient::GetInstance().ControlTransfer(*this, ctrl, bufferData); in ControlTransfer() 65 return UsbSrvClient::GetInstance().SetConfiguration(*this, config); in SetConfiguration() 70 return UsbSrvClient::GetInstance().SetInterface(*this, interface); in SetInterface()
|
D | usb_request.cpp | 26 int32_t ret = UsbSrvClient::GetInstance().RequestInitialize(*this); in Initialize() 35 int32_t ret = UsbSrvClient::GetInstance().RequestQueue(*this); in Queue() 44 int32_t ret = UsbSrvClient::GetInstance().RequestFree(*this); in Free() 53 int32_t ret = UsbSrvClient::GetInstance().RequestAbort(*this); in Abort()
|
/base/usb/usb_manager/test/tool/ |
D | usb_function_port_test.cpp | 31 static UsbSrvClient &g_usbClient = UsbSrvClient::GetInstance(); 65 static void FunctionSwitch(UsbSrvClient &g_usbClient, int32_t mode) in FunctionSwitch() 98 static void PortSwitch(UsbSrvClient &g_usbClient, int32_t mode) in PortSwitch()
|
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
D | usb_srv_client.h | 40 class UsbSrvClient final : public DelayedRefSingleton<UsbSrvClient> { 41 DECLARE_DELAYED_REF_SINGLETON(UsbSrvClient) 44 DISALLOW_COPY_AND_MOVE(UsbSrvClient);
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestright_fuzzer/ |
D | usbmgrrequestright_fuzzer.cpp | 25 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrRequestRightFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrusbfunctionsfromstring_fuzzer/ |
D | usbmgrusbfunctionsfromstring_fuzzer.cpp | 25 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrUsbFunctionsFromStringFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetportrole_fuzzer/ |
D | usbmgrsetportrole_fuzzer.cpp | 25 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrSetPortRoleFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrgetsupportedmodes_fuzzer/ |
D | usbmgrgetsupportedmodes_fuzzer.cpp | 25 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrGetSupportedModesFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrusbfunctionstostring_fuzzer/ |
D | usbmgrusbfunctionstostring_fuzzer.cpp | 29 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrUsbFunctionsToStringFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetcurrentfunctions_fuzzer/ |
D | usbmgrsetcurrentfunctions_fuzzer.cpp | 29 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrSetCurrentFunctionsFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrregbulkcallback_fuzzer/ |
D | usbmgrregbulkcallback_fuzzer.cpp | 35 … int32_t ret = UsbSrvClient::GetInstance().RegBulkCallback(reinterpret_cast<USBDevicePipe &>(data), in UsbMgrRegBulkCallbackFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrhasright_fuzzer/ |
D | usbmgrhasright_fuzzer.cpp | 25 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrHasRightFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/ |
D | usbmgrremoveright_fuzzer.cpp | 25 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrRemoveRightFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrbulkread_fuzzer/ |
D | usbmgrbulkread_fuzzer.cpp | 33 auto& usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrBulkReadFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrbulkwrite_fuzzer/ |
D | usbmgrbulkwrite_fuzzer.cpp | 33 auto& usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrBulkWriteFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrunregbulkcallback_fuzzer/ |
D | usbmgrunregbulkcallback_fuzzer.cpp | 34 auto& usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrUnRegBulkCallbackFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestinitialize_fuzzer/ |
D | usbmgrrequestinitialize_fuzzer.cpp | 26 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrRequestInitializeFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrclose_fuzzer/ |
D | usbmgrclose_fuzzer.cpp | 26 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrCloseFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrclaiminterface_fuzzer/ |
D | usbmgrclaiminterface_fuzzer.cpp | 26 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrClaimInterfaceFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetconfiguration_fuzzer/ |
D | usbmgrsetconfiguration_fuzzer.cpp | 26 auto &usbSrvClient = UsbSrvClient::GetInstance(); in UsbMgrSetConfigurationFuzzTest()
|