Home
last modified time | relevance | path

Searched refs:mCv (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsObserversTest.java103 private ConditionVariable mCv; field in NetworkStatsObserversTest
127 mCv = new ConditionVariable(); in setUp()
128 mHandler = new LatchedHandler(Looper.getMainLooper(), mCv); in setUp()
243 assertTrue(mCv.block(WAIT_TIMEOUT)); in testUpdateStats_initialSample_doesNotNotify()
279 assertTrue(mCv.block(WAIT_TIMEOUT)); in testUpdateStats_belowThreshold_doesNotNotify()
280 mCv.block(WAIT_TIMEOUT); in testUpdateStats_belowThreshold_doesNotNotify()
317 assertTrue(mCv.block(WAIT_TIMEOUT)); in testUpdateStats_deviceAccess_notifies()
355 assertTrue(mCv.block(WAIT_TIMEOUT)); in testUpdateStats_defaultAccess_notifiesSameUid()
393 assertTrue(mCv.block(WAIT_TIMEOUT)); in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
431 assertTrue(mCv.block(WAIT_TIMEOUT)); in testUpdateStats_userAccess_usageSameUser_notifies()
[all …]
DNetworkStatsServiceTest.java1208 private final ConditionVariable mCv; field in NetworkStatsServiceTest.LatchedHandler
1213 mCv = cv; in LatchedHandler()
1219 mCv.open(); in handleMessage()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.cpp280 if (mCv.wait_for(lock, std::chrono::seconds(2)) == std::cv_status::timeout) in get()
295 if (mCv.wait_for(lock, std::chrono::seconds(2)) == std::cv_status::timeout) in get()
310 mCv.notify_all(); in set()
319 std::condition_variable mCv; member in Hwc2TestFenceGenerator