Home
last modified time | relevance | path

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

1234567891011

/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
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 public static final long MOCK_IME_TIMEOUT_MS = 5_000;
30 public static final long DRAWABLE_TIMEOUT_MS = 5_000;
112 public static final Timeout WEBVIEW_TIMEOUT = new Timeout("WEBVIEW_TIMEOUT", 3_000, 2F, 5_000);
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/statsdatom/apps/alarmhelperapp/src/com/android/server/cts/device/statsdalarmhelper/
DAlarmAtomTests.java63 SystemClock.elapsedRealtime() + 5_000, pi); in testWakeupAlarm()
80 final long trigger1 = SystemClock.elapsedRealtime() + 5_000; in testAlarmScheduled()
82 mAlarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, trigger1, 10_000, pi1); in testAlarmScheduled()
83 mAlarmManager.setWindow(AlarmManager.RTC, trigger2, 10_000, pi2); in testAlarmScheduled()
93 final long trigger1 = SystemClock.elapsedRealtime() + 5_000; in testExactAlarmScheduled()
109 final long farTriggerRtc = System.currentTimeMillis() + 600_000; in testPendingAlarmInfo()
110 final long farTriggerElapsed = SystemClock.elapsedRealtime() + 600_000; in testPendingAlarmInfo()
119 mAlarmManager.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, farTriggerElapsed, 60_000, in testPendingAlarmInfo()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java80 private static final long BACKGROUND_JOBS_EXPECTED_DELAY = 3_000;
83 private static final long SHELL_TIMEOUT = 3_000;
199 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
200 tempWhitelistTestApp(5_000); in testAllowWhileIdleJobInTempwhitelist()
202 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
539 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_ParoleSession()
542 assertFalse("New job started in RESTRICTED bucket", mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_ParoleSession()
568 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_CorrectParoleWhileCharging()
572 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_CorrectParoleWhileCharging()
595 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_DeferredUntilFreeResources()
[all …]
DBatteryConstraintTest.java157 Thread.sleep(2_000); in testBatteryNotLowConstraintExecutes_withPower()
182 Thread.sleep(2_000); in testBatteryNotLowConstraintExecutes_withoutPower()
263 Thread.sleep(2_000); in testBatteryNotLowConstraintFails_withoutPower()
284 Thread.sleep(2_000); in testBatteryNotLowConstraintFails_withoutPower()
296 Thread.sleep(2_000); in testBatteryNotLowConstraintFails_withoutPower()
DIdleConstraintTest.java90 Thread.sleep(2_000); in toggleFakeDeviceDockState()
106 Thread.sleep(2_000); in triggerIdleMaintenance()
233 Thread.sleep(2_000); in setAutomotiveProjection()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DGnssLocationRateChangeTest.java45 private static final int[] TBF_MSEC = {0, 4_000, 250_000, 6_000_000, 10, 1_000, 16_000, 64_000};
/cts/tests/musicrecognition/src/android/musicrecognition/cts/
DMusicRecognitionManagerTest.java76 private static final long VERIFY_TIMEOUT_MS = 40_000;
111 AudioRecord record = new AudioRecord(MediaRecorder.AudioSource.MIC, 16_000, in testRecognitionRequest()
112 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT, 256_000); in testRecognitionRequest()
122 .setIgnoreBeginningFrames(16_000) in testRecognitionRequest()
128 assertThat(request.getIgnoreBeginningFrames()).isEqualTo(16_000); in testRecognitionRequest()
158 assertThat(mWatcher.stream).hasLength(256_000 - 32_000); in testOnRecognitionSucceeded()
266 AudioRecord record = new AudioRecord(MediaRecorder.AudioSource.MIC, 16_000, in invokeMusicRecognitionApi()
267 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT, 256_000); in invokeMusicRecognitionApi()
277 .setIgnoreBeginningFrames(16_000) in invokeMusicRecognitionApi()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DSecondaryUsersTest.java40 private static final long SECONDARY_USER_BOOT_COMPLETE_TIMEOUT_MS = 100_000;
42 private static final long POLL_INTERVAL_MS = 1_000;
43 private static final long WAIT_FOR_DEVICE_READY_INTERVAL_MS = 10_000;
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DPoc18_10.java41 boolean vulnerableBecauseCrashed = getDevice().waitForDeviceNotAvailable(10_000); in testPocCVE_2018_9515()
44 getDevice().waitForDeviceAvailable(120_000); // 2 minutes in testPocCVE_2018_9515()
DLaunchSomeWhere.java90 if (device.waitForDeviceNotAvailable(9_000)) in launchSomeWhere()
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DBaseBlobStoreDeviceTest.java41 protected static final long TIMEOUT_WAIT_FOR_IDLE_MS = 100_000;
42 protected static final long TIMEOUT_COMMIT_CALLBACK_MS = 100_000;
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DActivityManagerShortFgsTimeoutTest.java115 assertConfigAtLeast(keyValues, "short_fgs_timeout_duration", 3 * 60_000); in testDefaultTimeouts()
116 assertConfigAtLeast(keyValues, "short_fgs_proc_state_extra_wait_duration", 5_000); in testDefaultTimeouts()
117 assertConfigAtLeast(keyValues, "short_fgs_anr_extra_wait_duration", 10_000); in testDefaultTimeouts()
DActivityManagerShortFgsTest.java90 public static final long WAIT_TIMEOUT = 10_000;
96 public static final long SHORTENED_TIMEOUT = 5_000;
102 public static final long SHORTENED_PROCSTATE_GRACE_PERIOD = 5_000;
121 public static final long SHORTENED_START_SERVICE_TIMEOUT = 5_000;
126 public static final long TOP_TO_FGS_GRACE_PERIOD = 5_000;
763 updateDeviceConfig("short_fgs_timeout_duration", SHORTENED_START_SERVICE_TIMEOUT + 30_000); in testCannotStartAnotherFgsFromShortService()
808 updateDeviceConfig("short_fgs_timeout_duration", SHORTENED_START_SERVICE_TIMEOUT + 60_000); in testCantStartAnotherFgsFromShortServiceAndAnotherFgs()
850 updateDeviceConfig("short_fgs_timeout_duration", (TOP_TO_FGS_GRACE_PERIOD + 60_000)); in testTopStartedShortService()
901 final int anrExtraTimeout = 10_000; in testAnr()
923 final long anrTime = monitor.waitForAnrAndReturnUptime(60_000); in testAnr()
[all …]
/cts/hostsidetests/car/nonrecoverable/src/android/car/cts/
DCarServiceHelperServiceTest.java34 private static final int RESTART_AND_CREATE_USER_WAIT_TIME_MS = 300_000;
35 private static final int RETRY_WAIT_TIME_MS = 1_000;
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DProcStateAtomTests.java64 private static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000;
65 private static final int SLEEP_OF_ACTION_LONG_SLEEP_WHILE_TOP = 60_000;
66 private static final int SLEEP_OF_ACTION_BACKGROUND_SLEEP = 2_000;
67 private static final int SLEEP_OF_FOREGROUND_SERVICE = 2_000;
71 private static final int WAIT_TIME_FOR_SCREEN_MS = 1_000;
72 private static final int EXTRA_WAIT_TIME_MS = 5_000; // as buffer when proc state changing.
176 final int waitTime = EXTRA_WAIT_TIME_MS + 5_000; // Overlay may need to sit there a while. in testForeground()
268 final int cacheTime = 2_000; // process should be in cached state for up to this long in testCached()
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/
DFgsTimeoutConfigsTest.java78 assertConfigAtLeast(keyValues, "fgs_crash_extra_wait_duration", 10_000); in testDefaultTimeouts()
80 "data_sync_fgs_timeout_duration", 6 * 60 * 60_000); in testDefaultTimeouts()
82 "media_processing_fgs_timeout_duration", 6 * 60 * 60_000); in testDefaultTimeouts()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java75 private static final long DEFAULT_WAIT = 2_000;
79 private static final long MIN_FUTURITY = 1_000;
91 private static final long APP_STANDBY_WINDOW = 10_000;
185 final long firstTrigger = startElapsed + 4_000; in testSimpleQuotaDeferral()
236 Thread.sleep(10_000); in testNeverQuota()
300 assertTrue("Battery could not be unplugged", waitUntil(() -> !bm.isCharging(), 5_000)); in setBatteryCharging()
DBackgroundRestrictedAlarmsTest.java72 private static final long DEFAULT_WAIT = 1_000;
74 private static final long MIN_REPEATING_INTERVAL = 10_000;
75 private static final long APP_STANDBY_WINDOW = 10_000;
76 private static final long APP_STANDBY_RESTRICTED_WINDOW = 10_000;
190 final long waitInterval = 3_000; in testAlarmClockNotBlocked()
DTimeChangeTests.java60 private static final long DEFAULT_WAIT_MILLIS = 5_000;
61 private static final long MILLIS_IN_MINUTE = 60_000;
120 final long delayElapsed = 5_000; in elapsedAlarmsUnaffected()
/cts/tests/tests/security/src/android/security/cts/
DBitmapTest.java152 .replace(BitmapWrapper.Field.Height, 10_000) in test_inplace_213169612()
153 .replace(BitmapWrapper.Field.RowBytes, 50_000); in test_inplace_213169612()
200 .replace(BitmapWrapper.Field.Height, 10_000) in test_ashmem_213169612()
201 .replace(BitmapWrapper.Field.RowBytes, 50_000); in test_ashmem_213169612()
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/
DConstants.java26 long ALARM_DELAY = 5_000;
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantConnectionManagerTest.java68 private static final long BINDING_TIMEOUT_MS = 3_000;
69 private static final long WAIT_BEFORE_RESPOND_TO_REQUEST_MS = 2_000;
70 private static final long CALLBACK_TIMEOUT_MS = WAIT_BEFORE_RESPOND_TO_REQUEST_MS + 2_000;
71 private static final long EXCHANGE_PAYLOAD_TIMEOUT_MS = 10_000;
72 private static final long POLLING_CHECK_TIMEOUT_MS = 3_000;
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java137 sleep(2_000); in testIsolatedProcessService()
147 sleep(2_000); in testAudioState()
211 sleep(6_000); in testBleScanInterrupted()
267 waitForReceiver(InstrumentationRegistry.getContext(), 59_000, resultsLatch, null); in performBleScan() local
269 sleep(2_000); in performBleScan()
289 sleep(2_000); in testCameraState()
316 waitForReceiver(context, 10_000, latch, null); in testCameraState()
453 sleep(1_000); in testGpsScan()
460 waitForReceiver(context, 59_000, latch, null); in testGpsScan()
476 final int TIMEOUT_IN_MSEC = 85_000; in testGpsStatus()
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyWifiNetworkSpecifierTest.java90 private static final int DURATION = 10_000;
91 private static final int DURATION_UI_INTERACTION = 25_000;
92 private static final int DURATION_NETWORK_CONNECTION = 60_000;
199 20_000, in setUp()

1234567891011