Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 12 of 12) sorted by relevance

/system/core/adb/
Dfdevent_test.h37 std::condition_variable cv; in WaitForFdeventLoop() local
42 cv.notify_one(); in WaitForFdeventLoop()
44 cv.wait(lock); in WaitForFdeventLoop()
Dadb_utils.h67 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/
Ddns_responder.h80 std::condition_variable& getCv() { return cv; } in getCv()
176 std::condition_variable cv; variable
Ddns_responder.cpp974 cv.notify_one(); in handleQuery()
/system/core/adb/client/
Dusb_linux.cpp81 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()
Dusb_libusb.cpp79 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/
Dtest_main.cpp334 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/
Ddnsresolver_binder_test.cpp201 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()
Dres_cache.cpp1161 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()
Dresolver_test.cpp1933 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/
Dbinder_test.cpp2918 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/
Dcountryzones.txt1055 isoCode:"cv"