Searched refs:mCv (Results 1 – 3 of 3) sorted by relevance
103 private ConditionVariable mCv; field in NetworkStatsObserversTest127 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 …]
1208 private final ConditionVariable mCv; field in NetworkStatsServiceTest.LatchedHandler1213 mCv = cv; in LatchedHandler()1219 mCv.open(); in handleMessage()
280 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