Home
last modified time | relevance | path

Searched refs:UsbPortManager (Results 1 – 4 of 4) sorted by relevance

/base/usb/usb_manager/services/native/src/
Dusb_port_manager.cpp27 UsbPortManager::UsbPortManager() in UsbPortManager() function in OHOS::USB::UsbPortManager
36 UsbPortManager::~UsbPortManager() in ~UsbPortManager()
41 void UsbPortManager::Init() in Init()
50 int32_t UsbPortManager::GetPorts(std::vector<UsbPort> &ports) in GetPorts()
73 int32_t UsbPortManager::GetSupportedModes(int32_t portId, int32_t &supportedModes) in GetSupportedModes()
86 int32_t UsbPortManager::QueryPort() in QueryPort()
116 void UsbPortManager::UpdatePort(int32_t portId, int32_t powerRole, int32_t dataRole, int32_t mode) in UpdatePort()
135 void UsbPortManager::AddPort(UsbPort &port) in AddPort()
146 void UsbPortManager::RemovePort(int32_t portId) in RemovePort()
158 bool UsbPortManager::Dump(int fd, const std::string &args) in Dump()
[all …]
Dusb_service.cpp68 usbPortManager_ = std::make_shared<UsbPortManager>(); in UsbService()
/base/usb/usb_manager/services/native/include/
Dusb_port_manager.h30 class UsbPortManager {
32 UsbPortManager();
33 ~UsbPortManager();
Dusb_service.h139 std::shared_ptr<UsbPortManager> usbPortManager_;