Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dusb_osx.cpp75 static auto& g_usb_handles_mutex = *new std::mutex(); variable
79 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in IsKnownDevice()
93 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in KickDisconnectedDevices()
105 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in AddDevice()
599 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()
631 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in usb_kick()
Dusb_linux.cpp97 static auto& g_usb_handles_mutex = *new std::mutex(); variable
101 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in is_known_device()
113 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in kick_disconnected_devices()
530 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()
573 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()
616 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()