Home
last modified time | relevance | path

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

/base/usb/usb_manager/services/native/include/
H A Dusb_port_manager.h37 int32_t SetUsbd(const sptr<HDI::Usb::V1_0::IUsbInterface> &usbd);
H A Dusb_device_manager.h38 int32_t SetUsbd(const sptr<HDI::Usb::V1_0::IUsbInterface> &usbd);
H A Dusb_service.h67 int32_t SetUsbd(const sptr<HDI::Usb::V1_1::IUsbInterface> &usbd);
/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp74 int32_t UsbDeviceManager::SetUsbd(const sptr<IUsbInterface> &usbd) in SetUsbd() argument
76 if (usbd == nullptr) { in SetUsbd()
77 USB_HILOGE(MODULE_USB_SERVICE, "UsbDeviceManager usbd is nullptr"); in SetUsbd()
80 usbd_ = usbd; in SetUsbd()
H A Dusb_port_manager.cpp72 int32_t UsbPortManager::SetUsbd(const sptr<IUsbInterface> &usbd) in SetUsbd() argument
74 if (usbd == nullptr) { in SetUsbd()
75 USB_HILOGE(MODULE_USB_SERVICE, "UsbPortManager usbd is nullptr"); in SetUsbd()
78 usbd_ = usbd; in SetUsbd()
H A Dusb_service.cpp106 int32_t UsbService::SetUsbd(const sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> &usbd) in SetUsbd() argument
108 if (usbd == nullptr) { in SetUsbd()
109 USB_HILOGE(MODULE_USB_SERVICE, "UsbService usbd is nullptr"); in SetUsbd()
112 usbd_ = usbd; in SetUsbd()
118 usbPortManager_->SetUsbd(usbd); in SetUsbd()
124 usbDeviceManager_->SetUsbd(usbd); in SetUsbd()
184 // wait for the usbd service to start and bind usb service and usbd service in OnStart()
648 USB_HILOGI(MODULE_USB_SERVICE, "calling usbd getPorts"); in SetPortRole()
/base/usb/usb_manager/test/native/mock/src/
H A Dusb_event_mock_test.cpp87 sptr<IUsbInterface> usbd = IUsbInterface::Get(); in TearDownTestCase() local
89 usbSrv_->SetUsbd(usbd); in TearDownTestCase()
H A Dusb_core_mock_test.cpp110 sptr<IUsbInterface> usbd = IUsbInterface::Get(); in TearDownTestCase() local
111 usbSrv_->SetUsbd(usbd); in TearDownTestCase()
H A Dusb_request_mock_test.cpp109 sptr<IUsbInterface> usbd = IUsbInterface::Get(); in TearDownTestCase() local
110 usbSrv_->SetUsbd(usbd); in TearDownTestCase()
H A Dusb_bulkcallback_mock_test.cpp141 sptr<IUsbInterface> usbd = IUsbInterface::Get(); in TearDownTestCase() local
142 usbSrv_->SetUsbd(usbd); in TearDownTestCase()
H A Dusb_device_pipe_mock_test.cpp127 sptr<IUsbInterface> usbd = IUsbInterface::Get(); in TearDownTestCase() local
128 usbSrv_->SetUsbd(usbd); in TearDownTestCase()

Completed in 16 milliseconds