Searched refs:mLatchHolder (Results 1 – 3 of 3) sorted by relevance
473 final CountDownLatch[] mLatchHolder = new CountDownLatch[1]; field in ServiceRestarterTest.MyUidImportanceListener488 if (importance == mExpectedImportance && mLatchHolder[0] != null) { in onUidImportance()489 mLatchHolder[0].countDown(); in onUidImportance()503 mLatchHolder[0] = new CountDownLatch(1); in waitFor()505 return mLatchHolder[0].await(timeout, TimeUnit.MILLISECONDS); in waitFor()
928 private CountDownLatch[] mLatchHolder; field in ActivityManagerTest.H932 mLatchHolder = latchHolder; in H()940 mLatchHolder[0].countDown(); in handleMessage()943 mLatchHolder[0].countDown(); in handleMessage()963 final CountDownLatch[] mLatchHolder = new CountDownLatch[1]; field in ActivityManagerTest.MyUidImportanceListener976 if (importance == mExpectedImportance && mLatchHolder[0] != null) { in onUidImportance()977 mLatchHolder[0].countDown(); in onUidImportance()991 mLatchHolder[0] = new CountDownLatch(1); in waitFor()993 return mLatchHolder[0].await(timeout, TimeUnit.MILLISECONDS); in waitFor()
502 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingBackgroundRestrictInternal()582 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingStandbyBucket()597 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingStandbyBucket()605 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingStandbyBucket()1043 listener.mLatchHolder[0] = new CountDownLatch(1); in testBgCurrentDrainMonitor()1058 listener.mLatchHolder[0] = new CountDownLatch(1); in testBgCurrentDrainMonitor()2360 listener.mLatchHolder[0] = new CountDownLatch(1); in runTestBgCurrentDrainExemptionOnce()2561 listener.mLatchHolder[0] = new CountDownLatch(1); in runTestExcessiveEvent()2652 listener.mLatchHolder[0] = new CountDownLatch(1);2685 listener.mLatchHolder[0] = new CountDownLatch(1);[all …]