Searched refs:cv (Results 1 – 12 of 12) sorted by relevance
/system/core/adb/ |
D | fdevent_test.h | 37 std::condition_variable cv; in WaitForFdeventLoop() local 42 cv.notify_one(); in WaitForFdeventLoop() 44 cv.wait(lock); in WaitForFdeventLoop()
|
D | adb_utils.h | 67 std::condition_variable cv; variable 76 cv.notify_one(); in Push() 85 cv.wait(lock, [this]() { return !queue.empty(); }); in PopAll()
|
/system/netd/resolv/dns_responder/ |
D | dns_responder.h | 80 std::condition_variable& getCv() { return cv; } in getCv() 176 std::condition_variable cv; variable
|
D | dns_responder.cpp | 974 cv.notify_one(); in handleQuery()
|
/system/core/adb/client/ |
D | usb_linux.cpp | 81 std::condition_variable cv; member 328 if (h->cv.wait_until(lock, now + 5s) == std::cv_status::timeout || h->dead) { in usb_bulk_write() 404 h->cv.notify_all(); in usb_bulk_read() 492 h->cv.notify_all(); in usb_kick()
|
D | usb_libusb.cpp | 79 std::condition_variable cv; member 86 cv.notify_one(); in Notify() 556 info->cv.wait(lock, [info]() { return info->transfer_complete; }); in perform_usb_transfer()
|
/system/libhidl/ |
D | test_main.cpp | 334 std::condition_variable cv; in TEST_F() local 342 cv.notify_all(); in TEST_F() 348 EXPECT_TRUE(cv.wait_for(lock, 1s, [&]{return flag;})); in TEST_F()
|
/system/netd/resolv/ |
D | dnsresolver_binder_test.cpp | 201 auto& cv = testOnDnsEvent->getCv(); in TEST_F() local 218 EXPECT_EQ(std::cv_status::no_timeout, cv.wait_for(lock, std::chrono::seconds(2))); in TEST_F()
|
D | res_cache.cpp | 1161 static std::condition_variable cv; variable 1180 cv.notify_all(); in cache_flush_pending_requests_locked() 1221 cv.notify_all(); in _cache_notify_waiting_tid_locked() 1464 bool ret = cv.wait_for(lock, std::chrono::seconds(PENDING_REQUEST_TIMEOUT), in _resolv_cache_lookup()
|
D | resolver_test.cpp | 1933 auto& cv = dns.getCv(); in TEST_F() local 1941 EXPECT_EQ(std::cv_status::no_timeout, cv.wait_for(lk, std::chrono::seconds(1))); in TEST_F()
|
/system/netd/tests/ |
D | binder_test.cpp | 2918 auto& cv = testUnsolService->getCv(); in TEST_F() local 2937 EXPECT_EQ(std::cv_status::no_timeout, cv.wait_for(lock, std::chrono::seconds(2))); in TEST_F() 3086 auto& cv = testListener->getCv(); in TEST_F() local 3099 EXPECT_EQ(std::cv_status::no_timeout, cv.wait_for(lock, std::chrono::seconds(2))); in TEST_F()
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 1055 isoCode:"cv"
|