Home
last modified time | relevance | path

Searched refs:usbd_ (Results 1 - 6 of 6) sorted by relevance

/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp97 usbd_ = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in UsbService()
98 if (usbd_ == nullptr) { in UsbService()
112 usbd_ = usbd; in SetUsbd()
151 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> usbd_ = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in OnRemoveSystemAbility() local
152 if (usbd_ != nullptr) { in OnRemoveSystemAbility()
153 usbd_->UnbindUsbdSubscriber(usbdSubscriber_); in OnRemoveSystemAbility()
250 usbd_ = OHOS::HDI::Usb::V1_1::IUsbInterface::Get(); in InitUsbd()
251 if (usbd_ == nullptr) { in InitUsbd()
252 USB_HILOGE(MODULE_USB_SERVICE, " get usbd_ is nullptr"); in InitUsbd()
262 sptr<IRemoteObject> remote = OHOS::HDI::hdi_objcast<HDI::Usb::V1_0::IUsbInterface>(usbd_); in InitUsbd()
[all...]
H A Dusb_device_manager.cpp53 usbd_ = IUsbInterface::Get(); in UsbDeviceManager()
54 if (usbd_ == nullptr) { in UsbDeviceManager()
80 usbd_ = usbd; in SetUsbd()
161 if (usbd_ == nullptr) { in HandleEvent()
162 USB_HILOGE(MODULE_USB_SERVICE, "UsbDeviceManager::usbd_ is nullptr"); in HandleEvent()
185 usbd_->GetCurrentFunctions(currentFunctions_); in HandleEvent()
283 if (usbd_ == nullptr) { in DumpSetFunc()
284 USB_HILOGE(MODULE_USB_SERVICE, "UsbDeviceManager::DumpSetFunc usbd_ is nullptr"); in DumpSetFunc()
288 ret = usbd_->GetCurrentFunctions(currentFunction); in DumpSetFunc()
302 ret = usbd_ in DumpSetFunc()
[all...]
H A Dusb_port_manager.cpp59 if (usbd_ == nullptr) { in GetIUsbInterface()
61 usbd_ = IUsbInterface::Get(); in GetIUsbInterface()
62 if (usbd_ == nullptr) { in GetIUsbInterface()
78 usbd_ = usbd; in SetUsbd()
125 if (usbd_ == nullptr) { in QueryPort()
126 USB_HILOGE(MODULE_USB_SERVICE, "UsbPortManager::usbd_ is nullptr"); in QueryPort()
129 int32_t ret = usbd_->QueryPort(portId, powerRole, dataRole, mode); in QueryPort()
243 if (usbd_ == nullptr) { in DumpSetPortRoles()
244 USB_HILOGE(MODULE_USB_SERVICE, "UsbPortManager::DumpSetPortRoles usbd_ is nullptr"); in DumpSetPortRoles()
255 usbd_ in DumpSetPortRoles()
[all...]
/base/usb/usb_manager/services/native/include/
H A Dusb_port_manager.h57 sptr<HDI::Usb::V1_0::IUsbInterface> usbd_ = nullptr; member in OHOS::USB::UsbPortManager
H A Dusb_device_manager.h62 sptr<HDI::Usb::V1_0::IUsbInterface> usbd_ = nullptr; member in OHOS::USB::UsbDeviceManager
H A Dusb_service.h199 sptr<HDI::Usb::V1_1::IUsbInterface> usbd_ = nullptr; member in OHOS::USB::UsbService

Completed in 5 milliseconds