Home
last modified time | relevance | path

Searched refs:portMap_ (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_port_manager.cpp84 if (portMap_.size() > 0) { in GetPorts()
85 for (auto it = portMap_.begin(); it != portMap_.end(); ++it) { in GetPorts()
93 for (auto it = portMap_.begin(); it != portMap_.end(); ++it) { in GetPorts()
107 auto it = portMap_.find(portId); in GetSupportedModes()
108 if (it != portMap_.end()) { in GetSupportedModes()
151 auto it = portMap_.find(portId); in UpdatePort()
152 if (it != portMap_.end()) { in UpdatePort()
170 auto res = portMap_.insert(std::map<int32_t, UsbPort>::value_type(port.id, port)); in AddPort()
182 size_t num = portMap_.erase(portId); in RemovePort()
/ohos5.0/base/usb/usb_manager/services/native/include/
H A Dusb_port_manager.h56 std::map<int32_t, UsbPort> portMap_; variable