Home
last modified time | relevance | path

Searched refs:SetCurrentFunctions (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_function_test.cpp157 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
186 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
201 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
244 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
259 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
274 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
289 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
304 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
319 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
334 auto ret = g_usbInterface->SetCurrentFunctions(funcs);
[all …]
H A Dusbfn_mtp_test.cpp192 ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_MTP); in SetUpTestCase()
208 ret = g_usbInterface->SetCurrentFunctions(g_currentFunc); in TearDownTestCase()
/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A Dusb_core_mock_test.cpp147 EXPECT_CALL(*mockUsbImpl_, SetCurrentFunctions(testing::_)).WillRepeatedly(Return(0));
148 int32_t isok = usbSrv_->SetCurrentFunctions(UsbSrvSupport::FUNCTION_ACM);
161 EXPECT_CALL(*mockUsbImpl_, SetCurrentFunctions(testing::_)).WillRepeatedly(Return(0));
162 int32_t isok = usbSrv_->SetCurrentFunctions(UsbSrvSupport::FUNCTION_ECM);
177 int32_t isok = usbSrv_->SetCurrentFunctions(funcs);
191 int32_t isok = usbSrv_->SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
206 int32_t isok = usbSrv_->SetCurrentFunctions(funcs);
221 int32_t isok = usbSrv_->SetCurrentFunctions(funcs);
235 int32_t isok = usbSrv_->SetCurrentFunctions(UsbSrvSupport::FUNCTION_MTP);
249 int32_t isok = usbSrv_->SetCurrentFunctions(UsbSrvSupport::FUNCTION_NONE);
[all …]
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_core_test.cpp152 int32_t isok = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_ACM);
167 int32_t isok = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_ECM);
183 int32_t isok = instance.SetCurrentFunctions(funcs);
198 int32_t isok = instance.SetCurrentFunctions(UsbSrvSupport::FUNCTION_HDC);
214 int32_t isok = instance.SetCurrentFunctions(funcs);
230 int32_t isok = instance.SetCurrentFunctions(funcs);
276 int32_t isok = instance.SetCurrentFunctions(funcs);
292 int32_t isok = instance.SetCurrentFunctions(funcs);
308 int32_t isok = instance.SetCurrentFunctions(funcs);
324 int32_t isok = instance.SetCurrentFunctions(funcs);
[all …]
H A Dusb_dfx_test.cpp184 int32_t isok = UsbSrvClient.SetCurrentFunctions(funcs);
209 UsbSrvClient.SetCurrentFunctions(funcs);
/ohos5.0/drivers/peripheral/usb/test/benchmarktest/
H A Dusb_benchmark_function_test.cpp85 BENCHMARK_F(UsbBenchmarkFunctionTest, SetCurrentFunctions)(benchmark::State &state) in BENCHMARK_F() argument
90 ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_ACM); in BENCHMARK_F()
95 BENCHMARK_REGISTER_F(UsbBenchmarkFunctionTest, SetCurrentFunctions)->
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp212 usbd_->SetCurrentFunctions(currentFunctions_); in HandleEvent()
229 return usbd_->SetCurrentFunctions(currentFunctions_); in UserChangeProcess()
333 ret = usbd_->SetCurrentFunctions(mode); in DumpSetFunc()
H A Dusb_accessory_manager.cpp159 int32_t ret = usbdImpl_->SetCurrentFunctions(FUN_ACCESSORY); in ProcessAccessoryStart()
168 int32_t ret = usbdImpl_ ->SetCurrentFunctions(this->lastDeviceFunc_); in ProcessAccessoryStart()
188 int32_t ret = usbdImpl_ ->SetCurrentFunctions(lastDeviceFunc_); in ProcessAccessoryStop()
/ohos5.0/base/usb/usb_manager/test/fuzztest/usbmgrsetcurrentfunctions_fuzzer/
H A Dusbmgrsetcurrentfunctions_fuzzer.cpp35 if (usbSrvClient.SetCurrentFunctions(func) == UEC_OK) { in UsbMgrSetCurrentFunctionsFuzzTest()
/ohos5.0/drivers/peripheral/usb/test/fuzztest/usbsetcurrentfunctions_fuzzer/
H A Dusbsetcurrentfunctions_fuzzer.cpp37 ret = usbInterface->SetCurrentFunctions(func); in UsbSetCurrentFunctionsFuzzTest()
/ohos5.0/drivers/peripheral/usb/test/unittest/mock/src/
H A Dusbd_function_auto_test.cpp65 auto ret = g_usbInterface->SetCurrentFunctions(USB_FUNCTION_UNSUPPORTED);
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/usb/
H A D_o_h_o_s_1_1_u_s_b_1_1_usbd_client.md43 | [SetCurrentFunctions](#setcurrentfunctions) (int32_t funcs) | 设置从设备支持的功能列表(按位域表示)(从设备)。 |
856 ### SetCurrentFunctions()
859 int32_t UsbdClient::SetCurrentFunctions (int32_t funcs)
H A Dinterface_i_usb_interface_v10.md47 | [SetCurrentFunctions](#setcurrentfunctions) ([in] int funcs) | 设置USB设备当前的功能(按位域表示)。 |
835 ### SetCurrentFunctions()
838 IUsbInterface::SetCurrentFunctions ([in] int funcs)
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h55 int32_t SetCurrentFunctions(int32_t funcs);
H A Diusb_srv.h37 virtual int32_t SetCurrentFunctions(int32_t funcs) = 0;
/ohos5.0/base/usb/usb_manager/test/native/mock/include/
H A Dusb_impl_mock.h94 MOCK_METHOD1(SetCurrentFunctions, int32_t(int32_t funcs));
/ohos5.0/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/
H A Dusb_impl_mock.h92 MOCK_METHOD1(SetCurrentFunctions, int32_t(int32_t funcs));
/ohos5.0/base/usb/usb_manager/test/tool/
H A Dusb_function_test.cpp136 int32_t ret = g_usbClient.SetCurrentFunctions(mode); in FunctionSwitch()
/ohos5.0/base/usb/usb_manager/
H A DREADME_zh.md62 | int32_t SetCurrentFunctions(int32_t funcs); | 设置从设备支持的功能列表(按位域表示) |
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp176 int32_t UsbSrvClient::SetCurrentFunctions(int32_t funcs) in SetCurrentFunctions() function in OHOS::USB::UsbSrvClient
180 int32_t ret = proxy_->SetCurrentFunctions(funcs); in SetCurrentFunctions()
/ohos5.0/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h42 int32_t SetCurrentFunctions(int32_t funcs) override;
/ohos5.0/drivers/peripheral/usb/hdi_service/include/
H A Dusb_impl.h85 int32_t SetCurrentFunctions(int32_t funcs) override;
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_v1_0/cpp_target/usb/v1_0/
H A Dusb_interface_service.h.txt92 int32_t SetCurrentFunctions(int32_t funcs) override;
H A Dusb_interface_service.cpp.txt170 int32_t UsbInterfaceService::SetCurrentFunctions(int32_t funcs)
H A Diusb_interface.h.txt167 virtual int32_t SetCurrentFunctions(int32_t funcs) = 0;

12