Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java473 final CountDownLatch[] mLatchHolder = new CountDownLatch[1]; field in ServiceRestarterTest.MyUidImportanceListener
488 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()
DActivityManagerTest.java928 private CountDownLatch[] mLatchHolder; field in ActivityManagerTest.H
932 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.MyUidImportanceListener
976 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()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java501 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 …]