Home
last modified time | relevance | path

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

12

/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/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java277 executeBackground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testBleScans()
282 executeForeground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testBleScans()
303 executeBackground(ACTION_BLE_SCAN_OPTIMIZED, 40_000); in testUnoptimizedBleScans()
312 executeForeground(ACTION_BLE_SCAN_OPTIMIZED, 40_000); in testUnoptimizedBleScans()
321 executeBackground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testUnoptimizedBleScans()
330 executeForeground(ACTION_BLE_SCAN_UNOPTIMIZED, 40_000); in testUnoptimizedBleScans()
356 executeBackground(ACTION_GPS, 60_000); in testGpsUpdates()
361 executeForeground(ACTION_GPS, 60_000); in testGpsUpdates()
379 executeBackground(ACTION_JOB_SCHEDULE, 60_000); in testJobBgVsFg()
384 executeForeground(ACTION_JOB_SCHEDULE, 60_000); in testJobBgVsFg()
[all …]
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java62 private static final long DEFAULT_WAIT = 4_000;
66 private static final long ALLOW_WHILE_IDLE_SHORT_TIME = 15_000;
67 private static final long MIN_FUTURITY = 2_000;
68 private static final long[] APP_STANDBY_DELAYS = {0, 10_000, 20_000, 30_000, 600_000};
221 scheduleAlarm(mLastAlarmTime + 9_000, true, 0); in testAllowWhileIdleAlarms()
231 scheduleAlarm(mLastAlarmTime + 12_000, true, 0); in testAllowWhileIdleAlarms()
304 assertTrue("Battery could not be unplugged", waitUntil(() -> !bm.isCharging(), 5_000)); in setBatteryCharging()
DBackgroundRestrictedAlarmsTest.java58 private static final long DEFAULT_WAIT = 1_000;
60 private static final long MIN_REPEATING_INTERVAL = 10_000;
139 final long waitInterval = 10_000; in testAlarmClockNotBlocked()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java77 sleep(2_000); in testAudioState()
115 sleep(8_000); in performBleScan()
144 waitForReceiver(InstrumentationRegistry.getContext(), 59_000, resultsLatch, null); in performBleScan() local
146 sleep(2_000); in performBleScan()
171 sleep(2_000); in testCameraState()
195 waitForReceiver(context, 10_000, latch, null); in testCameraState()
260 sleep(1_000); in testGpsScan()
267 waitForReceiver(context, 59_000, latch, null); in testGpsScan()
307 waitForReceiver(context, 120_000, latch, null); in testSyncState()
315 waitForReceiver(context, 120_000, latch, null); in testSyncState()
[all …]
DStatsdCtsForegroundActivity.java43 public static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000;
44 public static final int SLEEP_OF_ACTION_SHOW_APPLICATION_OVERLAY = 2_000;
DStatsdCtsBackgroundService.java33 public static final int SLEEP_OF_ACTION_BACKGROUND_SLEEP = 2_000;
DWakelockLoadTestRunnable.java36 long sleepTimeNs = 700_000; in run()
DStatsdCtsForegroundService.java41 public static final int SLEEP_OF_FOREGROUND_SERVICE = 2_000;
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DProcStateAtomTests.java53 public static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000;
54 public static final int SLEEP_OF_ACTION_BACKGROUND_SLEEP = 2_000;
55 public static final int SLEEP_OF_FOREGROUND_SERVICE = 2_000;
59 private static final int WAIT_TIME_FOR_CONFIG_AND_SCREEN_MS = 1_000;
60 private static final int EXTRA_WAIT_TIME_MS = 1_000; // as buffer when proc state changing.
149 final int waitTime = EXTRA_WAIT_TIME_MS + 5_000; // Overlay may need to sit there a while. in testForeground()
250 final int cacheTime = 2_000; // process should be in cached state for up to this long in testCached()
262 assertStatesOccurred(stateSet, data, 1_000, PROC_STATE_FUNCTION); in testCached()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DValueMetricsTests.java173 Thread.sleep(2*60_000 + 10_000); in testPullerAcrossBuckets()
177 Thread.sleep(1_000); in testPullerAcrossBuckets()
196 assertTrue(totalValue > (130_000 - 60_000)); in testPullerAcrossBuckets()
249 final long GAP_INTERVAL = 10_000; in testMultipleEventsPerBucket()
259 Thread.sleep(1_000); in testMultipleEventsPerBucket()
278 assertTrue(totalValue > (GAP_INTERVAL*NUM_EVENTS - 60_000)); in testMultipleEventsPerBucket()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DDeviceIdleJobsTest.java62 private static final long BACKGROUND_JOBS_EXPECTED_DELAY = 3_000;
65 private static final long SHELL_TIMEOUT = 3_000;
151 assertFalse("Job started without being tempwhitelisted", awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
152 tempWhitelistTestApp(5_000); in testAllowWhileIdleJobInTempwhitelist()
169 awaitJobStart(3_000)); in testForegroundJobsStartImmediately()
197 assertFalse("New job started in NEVER standby", awaitJobStart(3_000)); in testJobsInNeverApp()
205 tempWhitelistTestApp(6_000); in testUidActiveBypassesStandby()
209 awaitJobStart(4_000)); in testUidActiveBypassesStandby()
DBatteryConstraintTest.java167 waitFor(2_000); in testBatteryNotLowConstraintExecutes_withPower()
187 waitFor(2_000); in testBatteryNotLowConstraintExecutes_withoutPower()
253 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower()
274 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower()
286 waitFor(2_000); in testBatteryNotLowConstraintFails_withoutPower()
/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/statsd/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java151 Thread.sleep(6_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
155 Thread.sleep(4_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
160 Thread.sleep(9_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
169 Thread.sleep(3_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
175 Thread.sleep(8_000); // Recorded duration at end: 9s in testDurationAnomalyDetection()
177 Thread.sleep(15_000); // Recorded duration at end: 15s in testDurationAnomalyDetection()
212 Thread.sleep(5_000); in testDurationAnomalyDetectionForLateAlarms()
214 Thread.sleep(2_000); in testDurationAnomalyDetectionForLateAlarms()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java69 private static final long DEFAULT_WAIT = 1_000;
73 private static final long MIN_REPEATING_INTERVAL = 5_000;
74 private static final long ALLOW_WHILE_IDLE_SHORT_TIME = 10_000;
75 private static final long ALLOW_WHILE_IDLE_LONG_TIME = 20_000;
76 private static final long MIN_FUTURITY = 2_000;
/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/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java170 sleep(8_000); in performBleScan()
198 sleep(2_000); in performBleScan()
240 sleep(1_000); in doGpsUpdate()
247 waitForReceiver(ctx, 59_000, latch, null); in doGpsUpdate()
270 waitForReceiver(null, 60_000, latch, null); in doScheduleJob()
431 sleep(1_000); in checkAppState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DOverlayingActivity.java34 private static final long ACTIVITY_TIMEOUT_ON_WATCH = 10_000;
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DProfileTimeoutTestHelper.java32 private static final int TIMEOUT_MS = 5_000;
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestActivity.java35 private static final long DEFAULT_WAIT_DURATION = 30_000;
DTestJobSchedulerReceiver.java39 public static final int JOB_INITIAL_BACKOFF = 10_000;
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/
DTestActivity.java35 private static final long DEFAULT_WAIT_DURATION = 30_000;
DTestJobSchedulerReceiver.java39 public static final int JOB_INITIAL_BACKOFF = 10_000;
/cts/hostsidetests/statsd/src/android/cts/statsd/metadata/
DMetadataTests.java74 while(System.currentTimeMillis() - startTime < 8_000) { in testConfigTtl()

12