Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/utils/
DMultiConditionTrigger_test.cpp65 unique_lock<mutex> unique_lk(lock); in TEST() local
66 cv.wait(unique_lk, [&triggerCalled] { in TEST()
92 unique_lock<mutex> unique_lk(lock); in TEST() local
93 cv.wait(unique_lk, [&triggerCalled] { return triggerCalled; }); in TEST()
124 unique_lock<mutex> unique_lk(lock); in TEST() local
125 cv.wait(unique_lk, [&triggerCalled] { return triggerCalled; }); in TEST()
151 unique_lock<mutex> unique_lk(lock); in TEST() local
152 cv.wait(unique_lk, [&triggerCalled] { return triggerCalled; }); in TEST()
162 unique_lock<mutex> unique_lk(lock); in TEST() local
163 cv.wait_for(unique_lk, chrono::milliseconds(5), [&triggerCalled] { return triggerCalled; }); in TEST()
/frameworks/base/cmds/statsd/src/external/
DStatsCallbackPuller.cpp94 unique_lock<mutex> unique_lk(*cv_mutex); in PullInternal() local
96 cv->wait_for(unique_lk, chrono::nanoseconds(mPullTimeoutNs), in PullInternal()