/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 132 static final int WAITFOR_MSEC = 10000; field in ActivityManagerFgsBgStartTest 225 WAITFOR_MSEC, PROCESS_CAPABILITY_ALL); in testFgsLocationStartFromBG() 250 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBG() 274 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBG() 308 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBG() 335 WAITFOR_MSEC, PROCESS_CAPABILITY_ALL); in testFgsLocationStartFromBGTwoProcesses() 337 WAITFOR_MSEC, PROCESS_CAPABILITY_ALL); in testFgsLocationStartFromBGTwoProcesses() 357 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBGTwoProcesses() 385 waiter.doWait(WAITFOR_MSEC); in testFgsLocationStartFromBGTwoProcesses() 423 WAITFOR_MSEC, PROCESS_CAPABILITY_ALL); in testFgsLocationPendingIntent() [all …]
|
D | BroadcastOptionsIntegrationTest.java | 21 import static android.app.cts.ActivityManagerFgsBgStartTest.WAITFOR_MSEC; 69 waiter.doWait(WAITFOR_MSEC); in assertBroadcastSuccess() 80 assertThrows(Exception.class, () -> waiter.doWait(WAITFOR_MSEC)); in assertBroadcastFailure()
|
D | ActivityManagerProcessStateTest.java | 117 private static final int WAITFOR_MSEC = 10000; field in ActivityManagerProcessStateTest 262 WAITFOR_MSEC, PROCESS_CAPABILITY_ALL); in setupWatchers() 1646 WAITFOR_MSEC); in testCycleFgs() 1648 WAITFOR_MSEC); in testCycleFgs() 1713 WAITFOR_MSEC); in testCycleFgsTriangle() 1715 WAITFOR_MSEC); in testCycleFgsTriangle() 1717 WAITFOR_MSEC); in testCycleFgsTriangle() 1804 WAITFOR_MSEC); in testCycleFgsTriangleBiDi() 1806 WAITFOR_MSEC); in testCycleFgsTriangleBiDi() 1808 WAITFOR_MSEC); in testCycleFgsTriangleBiDi() [all …]
|
D | ActivityManagerApi29Test.java | 84 private static final int WAITFOR_MSEC = 10000; field in ActivityManagerApi29Test 131 mUidWatcher = new WatchUidRunner(sInstrumentation, sUid, WAITFOR_MSEC); in setUp() 258 waiter.doWait(WAITFOR_MSEC); in testAppOpsHistoricalOps() 263 waiter.doWait(WAITFOR_MSEC); in testAppOpsHistoricalOps()
|
D | ActivityManagerTest.java | 153 private static final long WAITFOR_MSEC = 5000; field in ActivityManagerTest 591 Thread.sleep(WAITFOR_MSEC); 628 WAITFOR_MSEC, PROCESS_CAPABILITY_ALL); 658 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_EARLY_ANR, WAITFOR_MSEC)); 664 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_ANR, WAITFOR_MSEC * 3)); 695 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_CRASHED, WAITFOR_MSEC)); 1140 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_EARLY_ANR, WAITFOR_MSEC)); in testAppNotResponding() 1203 Thread.sleep(WAITFOR_MSEC); in testKillingPidsOnImperceptible() 1730 final WatchUidRunner[] watchers = initWatchUidRunners(packageNames, WAITFOR_MSEC); in testServiceDoneLRUPosition() 1765 countDownLatchHolder[0].await(WAITFOR_MSEC, TimeUnit.MILLISECONDS)); in testServiceDoneLRUPosition() [all …]
|
D | ActivityManagerFgsDelegateTest.java | 78 static final int WAITFOR_MSEC = 10000; field in ActivityManagerFgsDelegateTest 751 new WatchUidRunner(mInstrumentation, app1Info.uid, WAITFOR_MSEC); in createUiWatcher() 769 latch.await(WAITFOR_MSEC, TimeUnit.MILLISECONDS)); in sendCommandReceiverCommand()
|
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/ |
D | ActivityManagerForegroundServiceTypeTest.java | 87 private static final long WAITFOR_MSEC = 5000; field in ActivityManagerForegroundServiceTypeTest 305 WAITFOR_MSEC); in testForegroundServiceTypeDisabledCommon() 307 WAITFOR_MSEC); in testForegroundServiceTypeDisabledCommon() 367 latch.await(WAITFOR_MSEC, TimeUnit.MILLISECONDS); in startForegroundServiceWithType()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 155 private static final long WAITFOR_MSEC = 10000; field in ActivityManagerAppExitInfoTest 197 mWatcher = new WatchUidRunner(mInstrumentation, mStubPackageUid, WAITFOR_MSEC); in setUp() 394 awaitForLatch(latch, WAITFOR_MSEC, reasonFormat, reasonArgs); in awaitForLatch() 400 Log.d(TAG, "waiting " + WAITFOR_MSEC + " for " + reason); in awaitForLatch() 650 sleep(WAITFOR_MSEC); in testAnr() 770 id.uid, WAITFOR_MSEC); in testOther() 1080 final long timeout = now + WAITFOR_MSEC; in testDependencyDied() 1205 WAITFOR_MSEC); in prepareTestUser()
|