Home
last modified time | relevance | path

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

/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_device_pipe.cpp48 int32_t USBDevicePipe::ReleaseInterface(const UsbInterface &interface) in ReleaseInterface() function in OHOS::USB::USBDevicePipe
50 return UsbSrvClient::GetInstance().ReleaseInterface(*this, interface); in ReleaseInterface()
H A Dusb_srv_client.cpp284 int32_t UsbSrvClient::ReleaseInterface(USBDevicePipe &pipe, const UsbInterface &interface) in ReleaseInterface() function in OHOS::USB::UsbSrvClient
287 int32_t ret = proxy_->ReleaseInterface(pipe.GetBusNum(), pipe.GetDevAddr(), interface.GetId()); in ReleaseInterface()
/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_device_pipe.h30 int32_t ReleaseInterface(const UsbInterface &interface);
H A Dusb_srv_client.h62 int32_t ReleaseInterface(USBDevicePipe &pip, const UsbInterface &interface);
H A Diusb_srv.h43 virtual int32_t ReleaseInterface(uint8_t busNum, uint8_t devAddr, uint8_t interfaceid) = 0;
/base/usb/usb_manager/test/fuzztest/usbmgrreleaseinterface_fuzzer/
H A Dusbmgrreleaseinterface_fuzzer.cpp51 ret = usbSrvClient.ReleaseInterface( in UsbMgrReleaseInterfaceFuzzTest()
/base/usb/usb_manager/test/native/mock/src/
H A Dusb_device_pipe_mock_test.cpp840 * @tc.desc: Test functions to ReleaseInterface(const UsbInterface &interface);
848 EXPECT_CALL(*mockUsbImpl_, ReleaseInterface(testing::_, testing::_)).WillRepeatedly(Return(0)); in HWTEST_F()
849 auto ret = usbSrv_->ReleaseInterface(dev_.busNum, dev_.devAddr, interfaceId); in HWTEST_F()
850 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbReleaseInterface001 ReleaseInterface=%{public}d", ret); in HWTEST_F()
856 * @tc.desc: Test functions to ReleaseInterface(const UsbInterface &interface);
865 EXPECT_CALL(*mockUsbImpl_, ReleaseInterface(testing::_, testing::_)).WillRepeatedly(Return(RETVAL_INVALID)); in HWTEST_F()
866 auto ret = usbSrv_->ReleaseInterface(dev_.busNum, dev_.devAddr, interfaceId); in HWTEST_F()
867 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbReleaseInterface002 ReleaseInterface=%{public}d", ret); in HWTEST_F()
875 * @tc.desc: Test functions to ReleaseInterface(const UsbInterface &interface);
884 EXPECT_CALL(*mockUsbImpl_, ReleaseInterface(testin in HWTEST_F()
[all...]
/base/print/print_fwk/services/print_service/src/
H A Dprint_usb_manager.cpp202 UsbSrvClient::GetInstance().ReleaseInterface(usbDevicePipe, commonInterface); in AllocateInterface()
254 UsbSrvClient::GetInstance().ReleaseInterface(usbDevicePipe, commonInterface); in DisConnectUsbPinter()
255 UsbSrvClient::GetInstance().ReleaseInterface(usbDevicePipe, sendDocIterface); in DisConnectUsbPinter()
/base/usb/usb_manager/test/native/mock/include/
H A Dusb_impl_mock.h69 MOCK_METHOD2(ReleaseInterface, int32_t(const UsbDev &dev, uint8_t interfaceid));
/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h53 int32_t ReleaseInterface(uint8_t busNum, uint8_t devAddr, uint8_t interfaceid) override;
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_dfx_test.cpp271 UsbSrvClient.ReleaseInterface(pipe, interface); in HWTEST_F()
H A Dusb_device_pipe_test.cpp2209 * @tc.desc: Test functions to ReleaseInterface(const UsbInterface &interface);
2214 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : UsbReleaseInterface001 : ReleaseInterface"); in HWTEST_F()
2232 ret = UsbSrvClient.ReleaseInterface(pipe, interface); in HWTEST_F()
2233 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest::UsbReleaseInterface001 %{public}d ReleaseInterface=%{public}d", in HWTEST_F()
2240 USB_HILOGI(MODULE_USB_SERVICE, "Case End : UsbReleaseInterface001 : ReleaseInterface"); in HWTEST_F()
2245 * @tc.desc: Test functions to ReleaseInterface(const UsbInterface &interface);
2250 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : UsbReleaseInterface002 : ReleaseInterface"); in HWTEST_F()
2269 ret = UsbSrvClient.ReleaseInterface(pipe, interface); in HWTEST_F()
2270 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest::UsbReleaseInterface002 %{public}d ReleaseInterface=%{public}d", in HWTEST_F()
2278 USB_HILOGI(MODULE_USB_SERVICE, "Case End : UsbReleaseInterface002 : ReleaseInterface"); in HWTEST_F()
[all...]
/base/usb/usb_manager/services/native/include/
H A Dusb_service.h86 int32_t ReleaseInterface(uint8_t busNum, uint8_t devAddr, uint8_t interfaceid) override;
/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp733 int32_t UsbService::ReleaseInterface(uint8_t busNum, uint8_t devAddr, uint8_t interface) in ReleaseInterface() function in OHOS::USB::UsbService
744 int32_t ret = usbd_->ReleaseInterface(dev, interface); in ReleaseInterface()
746 USB_HILOGE(MODULE_USB_SERVICE, "ReleaseInterface failed."); in ReleaseInterface()
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_proxy.cpp678 int32_t UsbServerProxy::ReleaseInterface(uint8_t busNum, uint8_t devAddr, uint8_t interface) in ReleaseInterface() function in OHOS::USB::UsbServerProxy
H A Dusb_srv_stub.cpp483 HITRACE_METER_NAME(HITRACE_TAG_USB, "ReleaseInterface"); in DoReleaseInterface()
490 WRITE_PARCEL_WITH_RET(reply, Int32, ReleaseInterface(busNum, devAddr, interface), UEC_SERVICE_WRITE_PARCEL_ERROR); in DoReleaseInterface()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dusb_info.cpp1006 int32_t ret = pipe.ReleaseInterface(interface); in PipeReleaseInterface()

Completed in 22 milliseconds