Lines Matching refs:devices
374 std::map<std::string, UsbDevice *> devices; in GetDevices() local
381 usbHostManger_->GetDevices(devices); in GetDevices()
382 USB_HILOGI(MODULE_USB_SERVICE, "list size %{public}zu", devices.size()); in GetDevices()
383 for (auto it = devices.begin(); it != devices.end(); ++it) { in GetDevices()
955 std::vector<std::string> devices; in InitUsbRight() local
957 devices.push_back(it->second); in InitUsbRight()
959 …USB_HILOGI(MODULE_USBD, "clean: %{public}zu/%{public}zu", devices.size(), deviceVidPidMap_.size()); in InitUsbRight()
960 ret = usbRightManager_->CleanUpRightExpired(devices); in InitUsbRight()
1195 std::map<std::string, UsbDevice *> devices; in UnLoadSelf() local
1196 usbHostManger_->GetDevices(devices); in UnLoadSelf()
1197 if (devices.size() != 0 || usbDeviceManager_->IsGadgetConnected()) { // delay unload conditions in UnLoadSelf()