Home
last modified time | relevance | path

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

123456

/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;
102 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/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java91 private static final long BACKGROUND_JOBS_EXPECTED_DELAY = 3_000;
94 private static final long SHELL_TIMEOUT = 3_000;
216 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
217 tempWhitelistTestApp(5_000); in testAllowWhileIdleJobInTempwhitelist()
219 mTestAppInterface.awaitJobStart(5_000)); in testAllowWhileIdleJobInTempwhitelist()
402 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_ParoleSession()
405 assertFalse("New job started in RESTRICTED bucket", mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_ParoleSession()
433 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_CorrectParoleWhileCharging()
437 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_CorrectParoleWhileCharging()
463 mTestAppInterface.awaitJobStart(3_000)); in testJobsInRestrictedBucket_DeferredUntilFreeResources()
[all …]
DBatteryConstraintTest.java183 Thread.sleep(2_000); in testBatteryNotLowConstraintExecutes_withPower()
208 Thread.sleep(2_000); in testBatteryNotLowConstraintExecutes_withoutPower()
289 Thread.sleep(2_000); in testBatteryNotLowConstraintFails_withoutPower()
310 Thread.sleep(2_000); in testBatteryNotLowConstraintFails_withoutPower()
322 Thread.sleep(2_000); in testBatteryNotLowConstraintFails_withoutPower()
DIdleConstraintTest.java92 Thread.sleep(2_000); in toggleFakeDeviceDockState()
101 Thread.sleep(2_000); in triggerIdleMaintenance()
228 Thread.sleep(2_000); in setAutomotiveProjection()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/
DGnssLocationRateChangeTest.java44 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.java78 private static final long VERIFY_TIMEOUT_MS = 40_000;
113 AudioRecord record = new AudioRecord(MediaRecorder.AudioSource.MIC, 16_000, in testRecognitionRequest()
114 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT, 256_000); in testRecognitionRequest()
124 .setIgnoreBeginningFrames(16_000) in testRecognitionRequest()
130 assertThat(request.getIgnoreBeginningFrames()).isEqualTo(16_000); in testRecognitionRequest()
160 assertThat(mWatcher.stream).hasLength(256_000 - 32_000); in testOnRecognitionSucceeded()
268 AudioRecord record = new AudioRecord(MediaRecorder.AudioSource.MIC, 16_000, in invokeMusicRecognitionApi()
269 AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT, 256_000); in invokeMusicRecognitionApi()
279 .setIgnoreBeginningFrames(16_000) in invokeMusicRecognitionApi()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DProcStateAtomTests.java62 private static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000;
63 private static final int SLEEP_OF_ACTION_LONG_SLEEP_WHILE_TOP = 60_000;
64 private static final int SLEEP_OF_ACTION_BACKGROUND_SLEEP = 2_000;
65 private static final int SLEEP_OF_FOREGROUND_SERVICE = 2_000;
69 private static final int WAIT_TIME_FOR_SCREEN_MS = 1_000;
70 private static final int EXTRA_WAIT_TIME_MS = 5_000; // as buffer when proc state changing.
174 final int waitTime = EXTRA_WAIT_TIME_MS + 5_000; // Overlay may need to sit there a while. in testForeground()
267 final int cacheTime = 2_000; // process should be in cached state for up to this long in testCached()
279 AtomTestUtils.assertStatesOccurred(stateSet, data, 1_000, PROC_STATE_FUNCTION); in testCached()
DDeviceAtomTestCase.java298 .that(getDevice().waitForBootComplete(120_000)).isTrue(); in rebootDeviceAndWaitUntilReady()
300 .that(waitForStatsServiceStart(60_000)).isTrue(); in rebootDeviceAndWaitUntilReady()
301 Thread.sleep(2_000); in rebootDeviceAndWaitUntilReady()
312 Thread.sleep(Math.min(200 * counter, 2_000)); in waitForStatsServiceStart()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java230 sleep(2_000); in testIsolatedProcessService()
240 sleep(2_000); in testAudioState()
301 sleep(6_000); in testBleScanInterrupted()
306 sleep(6_000); in testBleScanInterrupted()
313 sleep(6_000); // Wait for Bluetooth to fully turn on. in testBleScanInterrupted()
354 sleep(2_000); // Wait for Bluetooth to fully turn on. in performBleAction()
394 waitForReceiver(InstrumentationRegistry.getContext(), 59_000, resultsLatch, null); in performBleScan() local
396 sleep(2_000); in performBleScan()
417 sleep(2_000); in testCameraState()
441 waitForReceiver(context, 10_000, latch, null); in testCameraState()
[all …]
DStatsdCtsForegroundActivity.java56 public static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000;
57 public static final int SLEEP_OF_ACTION_SHOW_APPLICATION_OVERLAY = 2_000;
58 public static final int LONG_SLEEP_WHILE_TOP = 60_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/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DBaseBlobStoreDeviceTest.java41 protected static final long TIMEOUT_WAIT_FOR_IDLE_MS = 2_000;
42 protected static final long TIMEOUT_COMMIT_CALLBACK_MS = 50_000;
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiLocationInfoTest.java83 private static final int DURATION_MS = 10_000;
84 private static final int WIFI_CONNECT_TIMEOUT_MILLIS = 30_000;
158 Thread.sleep(2_000); in turnScreenOn()
165 Thread.sleep(2_000); in turnScreenOff()
170 Thread.sleep(10_000); in installApp()
177 Thread.sleep(10_000); in uninstallApp()
DMultiStaConcurrencyWifiNetworkSpecifierTest.java89 private static final int DURATION = 10_000;
90 private static final int DURATION_UI_INTERACTION = 25_000;
91 private static final int DURATION_NETWORK_CONNECTION = 60_000;
197 20_000, in setUp()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DAppStandbyTests.java71 private static final long DEFAULT_WAIT = 2_000;
75 private static final long MIN_FUTURITY = 1_000;
87 private static final long APP_STANDBY_WINDOW = 10_000;
176 final long firstTrigger = startElapsed + 4_000; in testSimpleQuotaDeferral()
227 Thread.sleep(10_000); in testNeverQuota()
292 assertTrue("Battery could not be unplugged", waitUntil(() -> !bm.isCharging(), 5_000)); in setBatteryCharging()
DTimeChangeTests.java60 private static final long DEFAULT_WAIT_MILLIS = 5_000;
61 private static final long MILLIS_IN_MINUTE = 60_000;
119 final long delayElapsed = 5_000; in elapsedAlarmsUnaffected()
DBasicApiTests.java84 private static final int TIME_DELAY = 10_000;
88 private static final long PRIORITY_ALARM_DELAY = 6_000;
89 private static final long REPEAT_PERIOD = 30_000;
185 mAm.setExact(AlarmManager.ELAPSED_REALTIME, now + 10_000 + i * 1000, "spam-test", in noBinderOverflowWithListenerSpam()
198 final long windowLength = 6_000; in testExactAlarmBatching()
296 PollingCheck.waitFor(10_000, () -> (on == mPowerManager.isDeviceIdleMode()), in toggleIdleMode()
DBackgroundRestrictedAlarmsTest.java62 private static final long DEFAULT_WAIT = 1_000;
64 private static final long MIN_REPEATING_INTERVAL = 10_000;
143 final long waitInterval = 3_000; in testAlarmClockNotBlocked()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUiAutomatorUtils.java39 return waitFindObject(selector, 20_000); in waitFindObject()
54 return waitFindObjectOrNull(selector, 20_000); in waitFindObjectOrNull()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java165 SystemClock.sleep(1_000); in testTranslationCapabilityUpdateListener()
174 SystemClock.sleep(1_000); in testTranslationCapabilityUpdateListener()
181 SystemClock.sleep(1_000); in testTranslationCapabilityUpdateListener()
186 SystemClock.sleep(1_000); in testTranslationCapabilityUpdateListener()
232 createTranslatorLatch.await(5_000, TimeUnit.MILLISECONDS); in testSingleTranslation()
326 createTranslatorLatch.await(5_000, TimeUnit.MILLISECONDS); in testTranslation_partialResponses()
435 createTranslatorLatch.await(5_000, TimeUnit.MILLISECONDS); in testTranslationCancelled()
520 mActivitiesWatcher = new ActivitiesWatcher(5_000); in testGetTranslationSettingsActivityIntent()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDialogTests.java58 private static final long UI_TIMEOUT_MS = 60_000;
99 mTestAppInterface.awaitTestActivityStart(5_000)); in testInterceptorActivity_unsuspend()
150 mTestAppInterface.awaitTestActivityStart(5_000)); in testInterceptorActivity_moreDetails()
199 mTestAppInterface.awaitTestActivityStart(5_000)); in testInterceptorActivity_strings()
/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/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverAlarmTest.java69 private static final long DEFAULT_WAIT = 1_000;
70 private static final int POLLING_WAIT_MILLIS = 2_000;
73 private static final long ALLOW_WHILE_IDLE_COMPAT_WINDOW = 12_000;
75 private static final long MIN_FUTURITY = 1_000;
/cts/apps/ForceStopHelperApp/src/com/android/cts/forcestophelper/
DConstants.java26 long ALARM_DELAY = 5_000;

123456