/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | JobThrottlingTest.java | 64 private static final long BACKGROUND_JOBS_EXPECTED_DELAY = 3_000; 67 private static final long SHELL_TIMEOUT = 3_000; 150 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist() 151 tempWhitelistTestApp(5_000); in testAllowWhileIdleJobInTempwhitelist() 153 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist() 170 mTestAppInterface.awaitJobStart(3_000)); in testForegroundJobsStartImmediately() 253 assertFalse("New job started in NEVER standby", mTestAppInterface.awaitJobStart(3_000)); in testJobsInNeverApp() 260 tempWhitelistTestApp(6_000); in testUidActiveBypassesStandby() 264 mTestAppInterface.awaitJobStart(4_000)); in testUidActiveBypassesStandby() 275 mTestAppInterface.awaitJobStart(3_000)); in testBatterySaverOff() [all …]
|
D | BatteryConstraintTest.java | 202 waitFor(2_000); in testBatteryNotLowConstraintExecutes_withPower() 227 waitFor(2_000); in testBatteryNotLowConstraintExecutes_withoutPower() 308 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower() 329 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower() 341 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower()
|
D | DeviceStatesTest.java | 78 waitFor(2_000); in toggleFakeDeviceDockState() 91 waitFor(2_000); in toggleScreenOn() 100 waitFor(2_000); in triggerIdleMaintenance()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | Timeouts.java | 26 private static final long ONE_TIMEOUT_TO_RULE_THEN_ALL_MS = 20_000; 27 private static final long ONE_NAPTIME_TO_RULE_THEN_ALL_MS = 2_000; 29 static final long MOCK_IME_TIMEOUT_MS = 5_000; 97 static final Timeout WEBVIEW_TIMEOUT = new Timeout("WEBVIEW_TIMEOUT", 3_000, 2F, 5_000);
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | ProcStateTestCase.java | 51 public static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000; 52 public static final int SLEEP_OF_ACTION_LONG_SLEEP_WHILE_TOP = 60_000; 53 public static final int SLEEP_OF_ACTION_BACKGROUND_SLEEP = 2_000; 54 public static final int SLEEP_OF_FOREGROUND_SERVICE = 2_000;
|
D | ProcStateAtomTests.java | 40 private static final int WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS = 1_000; 41 private static final int EXTRA_WAIT_TIME_MS = 1_000; // as buffer when proc state changing. 131 final int waitTime = EXTRA_WAIT_TIME_MS + 5_000; // Overlay may need to sit there a while. in testForeground() 232 final int cacheTime = 2_000; // process should be in cached state for up to this long in testCached() 244 assertStatesOccurred(stateSet, data, 1_000, PROC_STATE_FUNCTION); in testCached()
|
D | DeviceAtomTestCase.java | 291 assertTrue("Device failed to boot", getDevice().waitForBootComplete(120_000)); in rebootDeviceAndWaitUntilReady() 292 assertTrue("Stats service failed to start", waitForStatsServiceStart(60_000)); in rebootDeviceAndWaitUntilReady() 293 Thread.sleep(2_000); in rebootDeviceAndWaitUntilReady() 304 Thread.sleep(Math.min(200 * counter, 2_000)); in waitForStatsServiceStart()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | GnssLocationRateChangeTest.java | 39 private static final int[] TBF_MSEC = {0, 4_000, 250_000, 6_000_000, 10, 1_000, 16_000, 64_000};
|
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/ |
D | ValueMetricsTests.java | 167 Thread.sleep(2*60_000 + 10_000); in testPullerAcrossBuckets() 171 Thread.sleep(1_000); in testPullerAcrossBuckets() 192 assertTrue(totalValue > (130_000 - 60_000)); in testPullerAcrossBuckets() 245 final long GAP_INTERVAL = 10_000; in testMultipleEventsPerBucket() 255 Thread.sleep(1_000); in testMultipleEventsPerBucket() 276 assertTrue(totalValue > (GAP_INTERVAL*NUM_EVENTS - 60_000)); in testMultipleEventsPerBucket() 325 Thread.sleep(60_000 + 10_000); in testPullerAcrossBucketsWithActivation() 328 Thread.sleep(1_000); in testPullerAcrossBucketsWithActivation() 421 doAppBreadcrumbReported(3_000); in testValueMetricWithConditionAndActivation() 428 doAppBreadcrumbReported(40_000); in testValueMetricWithConditionAndActivation() [all …]
|
D | DurationMetricsTests.java | 171 Thread.sleep(2_000); in testDurationMetricWithCondition() 185 Thread.sleep(2_000); in testDurationMetricWithCondition() 199 Thread.sleep(2_000); in testDurationMetricWithCondition() 205 Thread.sleep(2_000); in testDurationMetricWithCondition() 278 Thread.sleep(2_000); in testDurationMetricWithActivation() 292 Thread.sleep(2_000); in testDurationMetricWithActivation() 298 Thread.sleep(2_000); in testDurationMetricWithActivation() 397 Thread.sleep(2_000); in testDurationMetricWithConditionAndActivation() 411 Thread.sleep(2_000); in testDurationMetricWithConditionAndActivation() 426 Thread.sleep(2_000); in testDurationMetricWithConditionAndActivation() [all …]
|
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/ |
D | ProcStatsValidationTests.java | 51 private static final int EXTRA_WAIT_TIME_MS = 1_000; // as buffer when proc state changing. 77 final int cacheTime = 2_000; // process should be in cached state for up to this long in testProcessStateTopDuration() 82 Thread.sleep(EXTRA_WAIT_TIME_MS + 5_000); in testProcessStateTopDuration() 142 final int cacheTime = 2_000; // process should be in cached state for up to this long 147 Thread.sleep(EXTRA_WAIT_TIME_MS + 5_000); 207 final int cacheTime = 2_000; // process should be in cached state for up to this long 212 Thread.sleep(EXTRA_WAIT_TIME_MS + 5_000); 266 final int cacheTime = 2_000; // process should be in cached state for up to this long 271 Thread.sleep(EXTRA_WAIT_TIME_MS + 5_000); 273 Thread.sleep(60_000); [all …]
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | BatteryStatsValidationTest.java | 284 executeBackground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testBleScans() 289 executeForeground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testBleScans() 310 executeBackground(ACTION_BLE_SCAN_OPTIMIZED, 40_000); in testUnoptimizedBleScans() 319 executeForeground(ACTION_BLE_SCAN_OPTIMIZED, 40_000); in testUnoptimizedBleScans() 328 executeBackground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testUnoptimizedBleScans() 337 executeForeground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testUnoptimizedBleScans() 366 executeBackground(ACTION_GPS, 60_000); in testGpsUpdates() 371 executeForeground(ACTION_GPS, 60_000); in testGpsUpdates() 398 executeBackground(ACTION_JOB_SCHEDULE, 60_000); in testJobBgVsFg() 403 executeForeground(ACTION_JOB_SCHEDULE, 60_000); in testJobBgVsFg() [all …]
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 67 private static final long DEFAULT_WAIT = 2_000; 71 private static final long ALLOW_WHILE_IDLE_SHORT_TIME = 10_000; 72 private static final long MIN_FUTURITY = 1_000; 89 5_000, // Working set 90 10_000, // Frequent 91 15_000, // Rare 93 private static final long APP_STANDBY_WINDOW = 10_000; 262 Thread.sleep(10_000); in testNeverDelay() 335 final long firstTrigger = startElapsed + 4_000; in testSimpleQuotaDeferral() 386 Thread.sleep(10_000); in testNeverQuota() [all …]
|
D | TimeChangeTests.java | 54 private static final long DEFAULT_WAIT_MILLIS = 1_000; 55 private static final long MILLIS_IN_MINUTE = 60_000; 103 final long delayElapsed = 5_000; in elapsedAlarmsUnaffected()
|
D | BackgroundRestrictedAlarmsTest.java | 61 private static final long DEFAULT_WAIT = 1_000; 63 private static final long MIN_REPEATING_INTERVAL = 10_000; 142 final long waitInterval = 3_000; in testAlarmClockNotBlocked()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 79 sleep(2_000); in testAudioState() 117 sleep(8_000); in performBleScan() 146 waitForReceiver(InstrumentationRegistry.getContext(), 59_000, resultsLatch, null); in performBleScan() local 148 sleep(2_000); in performBleScan() 173 sleep(2_000); in testCameraState() 197 waitForReceiver(context, 10_000, latch, null); in testCameraState() 262 sleep(1_000); in testGpsScan() 269 waitForReceiver(context, 59_000, latch, null); in testGpsScan() 309 waitForReceiver(context, 120_000, latch, null); in testSyncState() 317 waitForReceiver(context, 120_000, latch, null); in testSyncState() [all …]
|
D | StatsdCtsForegroundActivity.java | 48 public static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000; 49 public static final int SLEEP_OF_ACTION_SHOW_APPLICATION_OVERLAY = 2_000; 50 public static final int LONG_SLEEP_WHILE_TOP = 60_000;
|
/cts/hostsidetests/statsd/src/android/cts/statsd/alert/ |
D | AnomalyDetectionTests.java | 168 Thread.sleep(6_000); // Recorded duration at end: 6s in testDurationAnomalyDetection() 172 Thread.sleep(4_000); // Recorded duration at end: 6s in testDurationAnomalyDetection() 177 Thread.sleep(9_000); // Recorded duration at end: 13s in testDurationAnomalyDetection() 186 Thread.sleep(3_000); // Recorded duration at end: 13s in testDurationAnomalyDetection() 192 Thread.sleep(8_000); // Recorded duration at end: 9s in testDurationAnomalyDetection() 194 Thread.sleep(15_000); // Recorded duration at end: 15s in testDurationAnomalyDetection() 229 Thread.sleep(5_000); in testDurationAnomalyDetectionForLateAlarms() 231 Thread.sleep(2_000); in testDurationAnomalyDetectionForLateAlarms() 415 Thread.sleep(6_000); // Wait long enough to ensure AlarmManager signals >= 1 pull in testPulledAnomalyDetection()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | BatterySaverAlarmTest.java | 70 private static final long DEFAULT_WAIT = 1_000; 71 private static final long THROTTLED_WAIT = 5_000; 74 private static final long MIN_REPEATING_INTERVAL = 5_000; 75 private static final long ALLOW_WHILE_IDLE_SHORT_TIME = 10_000; 76 private static final long ALLOW_WHILE_IDLE_LONG_TIME = 20_000; 77 private static final long MIN_FUTURITY = 2_000;
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedTimeouts.java | 26 private static final long ONE_TIMEOUT_TO_RULE_THEN_ALL_MS = 1_000; 27 private static final long ONE_NAPTIME_TO_RULE_THEN_ALL_MS = 3_000;
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | Poc18_10.java | 38 boolean vulnerableBecauseCrashed = getDevice().waitForDeviceNotAvailable(10_000); in testPocCVE_2018_9515() 41 getDevice().waitForDeviceAvailable(120_000); // 2 minutes in testPocCVE_2018_9515()
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsBgVsFgActions.java | 178 sleep(1_000); in performBleScan() 211 sleep(2_000); in performBleScan() 254 sleep(1_000); in doGpsUpdate() 259 waitForReceiver(ctx, 59_000, latch, null); in doGpsUpdate() 284 waitForReceiver(null, 60_000, latch, null); in doScheduleJob() 445 sleep(1_000); in checkAppState()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/alarm/ |
D | AlarmTests.java | 60 Thread.sleep(9_000); in testAlarm() 71 .setPeriodMillis(5_000) // every 5 seconds. in getBaseConfig()
|
/cts/hostsidetests/deviceidle/src/com/android/cts/deviceidle/ |
D | DeviceIdleWhitelistTest.java | 79 Thread.sleep(10_000); // write to disk happens after 5 seconds in testRemovesPersistedAcrossReboots() 81 Thread.sleep(5_000); // to make sure service is initialized in testRemovesPersistedAcrossReboots()
|
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/ |
D | Constants.java | 26 long ALARM_DELAY = 5_000;
|