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()
501 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingBackgroundRestrictInternal()581 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingStandbyBucket()596 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingStandbyBucket()604 listener.mLatchHolder[0] = new CountDownLatch(1); in testTogglingStandbyBucket()1042 listener.mLatchHolder[0] = new CountDownLatch(1); in testBgCurrentDrainMonitor()1057 listener.mLatchHolder[0] = new CountDownLatch(1); in testBgCurrentDrainMonitor()2359 listener.mLatchHolder[0] = new CountDownLatch(1); in runTestBgCurrentDrainExemptionOnce()2569 listener.mLatchHolder[0] = new CountDownLatch(1); in runTestExcessiveEvent()2660 listener.mLatchHolder[0] = new CountDownLatch(1);2693 listener.mLatchHolder[0] = new CountDownLatch(1);[all …]