Home
last modified time | relevance | path

Searched refs:GetCurrentFunctions (Results 1 - 17 of 17) sorted by relevance

/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp154 int32_t UsbDeviceManager::GetCurrentFunctions() in GetCurrentFunctions() function in OHOS::USB::UsbDeviceManager
185 usbd_->GetCurrentFunctions(currentFunctions_); in HandleEvent()
288 ret = usbd_->GetCurrentFunctions(currentFunction); in DumpSetFunc()
290 dprintf(fd, "GetCurrentFunctions failed: %d\n", __LINE__); in DumpSetFunc()
307 ret = usbd_->GetCurrentFunctions(currentFunction); in DumpSetFunc()
309 dprintf(fd, "GetCurrentFunctions failed: %d\n", __LINE__); in DumpSetFunc()
H A Dusb_service.cpp530 int32_t UsbService::GetCurrentFunctions(int32_t &functions) in GetCurrentFunctions() function in OHOS::USB::UsbService
544 return usbd_->GetCurrentFunctions(functions); in GetCurrentFunctions()
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_dfx_test.cpp184 UsbSrvClient.GetCurrentFunctions(funcs); in HWTEST_F()
210 UsbSrvClient.GetCurrentFunctions(funcs); in HWTEST_F()
260 UsbSrvClient.GetCurrentFunctions(funcs); in HWTEST_F()
H A Dusb_core_test.cpp75 * @tc.desc: Test functions to GetCurrentFunctions()
83 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
91 * @tc.desc: Test functions to GetCurrentFunctions()
100 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
109 * @tc.desc: Test functions to GetCurrentFunctions()
118 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
127 * @tc.desc: Test functions to GetCurrentFunctions()
136 int32_t ret = instance.GetCurrentFunctions(funcs); in HWTEST_F()
/base/usb/usb_manager/services/native/include/
H A Dusb_device_manager.h42 int32_t GetCurrentFunctions();
H A Dusb_service.h75 int32_t GetCurrentFunctions(int32_t &funcs) override;
/base/usb/usb_manager/test/native/mock/src/
H A Dusb_core_mock_test.cpp96 EXPECT_CALL(*mockUsbImpl_, GetCurrentFunctions(testing::_)).WillRepeatedly(Return(0)); in SetUpTestCase()
125 * @tc.desc: Test functions to GetCurrentFunctions()
133 EXPECT_CALL(*mockUsbImpl_, GetCurrentFunctions(testing::_)).WillRepeatedly(Return(0)); in HWTEST_F()
134 auto ret = usbSrv_->GetCurrentFunctions(funcs); in HWTEST_F()
H A Dusb_event_mock_test.cpp123 EXPECT_CALL(*mockUsbImpl_, GetCurrentFunctions(testing::_)).WillRepeatedly(Return(0)); in HWTEST_F()
151 EXPECT_CALL(*mockUsbImpl_, GetCurrentFunctions(testing::_)).WillRepeatedly(Return(0)); in HWTEST_F()
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h55 int32_t GetCurrentFunctions(int32_t &funcs);
H A Diusb_srv.h36 virtual int32_t GetCurrentFunctions(int32_t &funcs) = 0;
/base/usb/usb_manager/test/native/mock/include/
H A Dusb_impl_mock.h93 MOCK_METHOD1(GetCurrentFunctions, int32_t(int32_t &funcs));
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h42 int32_t GetCurrentFunctions(int32_t &funcs) override;
/base/usb/usb_manager/test/tool/
H A Dusb_function_test.cpp120 int32_t ret = g_usbClient.GetCurrentFunctions(funcs); in GetCurrentFunctionInfo()
/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp178 int32_t UsbSrvClient::GetCurrentFunctions(int32_t &funcs) in GetCurrentFunctions() function in OHOS::USB::UsbSrvClient
181 int32_t ret = proxy_->GetCurrentFunctions(funcs); in GetCurrentFunctions()
186 USB_HILOGI(MODULE_USB_INNERKIT, " Calling GetCurrentFunctions Success!"); in GetCurrentFunctions()
187 USB_HILOGI(MODULE_USB_INNERKIT, "GetCurrentFunctions funcs = %{public}d!", funcs); in GetCurrentFunctions()
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_proxy.cpp416 int32_t UsbServerProxy::GetCurrentFunctions(int32_t &funcs) in GetCurrentFunctions() function in OHOS::USB::UsbServerProxy
H A Dusb_srv_stub.cpp283 int32_t ret = GetCurrentFunctions(functions); in DoGetCurrentFunctions()
285 UsbReportSysEvent::ReportTransforFaultSysEvent("GetCurrentFunctions", {0, 0}, {0, 0}, ret); in DoGetCurrentFunctions()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dusb_info.cpp787 int32_t ret = g_usbClient.GetCurrentFunctions(cfuncs); in CoreGetCurrentFunctions()

Completed in 20 milliseconds