Home
last modified time | relevance | path

Searched refs:_000 (Results 1 – 25 of 84) sorted by relevance

1234

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java64 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 …]
DBatteryConstraintTest.java202 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()
DDeviceStatesTest.java78 waitFor(2_000); in toggleFakeDeviceDockState()
91 waitFor(2_000); in toggleScreenOn()
100 waitFor(2_000); in triggerIdleMaintenance()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DTimeouts.java26 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/
DProcStateTestCase.java51 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;
DProcStateAtomTests.java40 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()
DDeviceAtomTestCase.java291 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/
DGnssLocationRateChangeTest.java39 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/
DValueMetricsTests.java167 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 …]
DDurationMetricsTests.java171 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/
DProcStatsValidationTests.java51 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/
DBatteryStatsValidationTest.java284 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/
DAppStandbyTests.java67 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 …]
DTimeChangeTests.java54 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()
DBackgroundRestrictedAlarmsTest.java61 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/
DAtomTests.java79 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 …]
DStatsdCtsForegroundActivity.java48 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/
DAnomalyDetectionTests.java168 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/
DBatterySaverAlarmTest.java70 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/
DAugmentedTimeouts.java26 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/
DPoc18_10.java38 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/
DBatteryStatsBgVsFgActions.java178 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/
DAlarmTests.java60 Thread.sleep(9_000); in testAlarm()
71 .setPeriodMillis(5_000) // every 5 seconds. in getBaseConfig()
/cts/hostsidetests/deviceidle/src/com/android/cts/deviceidle/
DDeviceIdleWhitelistTest.java79 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/
DConstants.java26 long ALARM_DELAY = 5_000;

1234