Home
last modified time | relevance | path

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

/system/core/adb/client/
Dusb_linux.cpp91 static auto& g_usb_handles_mutex = *new std::mutex(); variable
95 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in is_known_device()
107 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in kick_disconnected_devices()
500 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()
525 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()
581 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in register_device()
Dusb_osx.cpp74 static auto& g_usb_handles_mutex = *new std::mutex(); variable
78 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in IsKnownDevice()
92 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in KickDisconnectedDevices()
104 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in AddDevice()
549 std::lock_guard<std::mutex> lock(g_usb_handles_mutex); in usb_close()
581 std::lock_guard<std::mutex> lock_guard(g_usb_handles_mutex); in usb_kick()