Home
last modified time | relevance | path

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

/system/core/adb/client/
Dusb_osx.cpp75 static auto& g_usb_handles = *new std::vector<std::unique_ptr<usb_handle>>(); variable
79 for (auto& usb : g_usb_handles) { in IsKnownDevice()
93 for (auto& usb : g_usb_handles) { in KickDisconnectedDevices()
105 g_usb_handles.push_back(std::move(handle)); in AddDevice()
550 for (auto it = g_usb_handles.begin(); it != g_usb_handles.end(); ++it) { in usb_close()
552 g_usb_handles.erase(it); in usb_close()
Dusb_linux.cpp92 static auto& g_usb_handles = *new std::list<usb_handle*>(); variable
96 for (usb_handle* usb : g_usb_handles) { in is_known_device()
109 for (usb_handle* usb : g_usb_handles) { in kick_disconnected_devices()
501 g_usb_handles.remove(h); in usb_close()
526 for (usb_handle* usb: g_usb_handles) { in register_device()
582 g_usb_handles.push_back(done_usb); in register_device()