Searched refs:sleep (Results 26 - 50 of 189) sorted by relevance

12345678

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiStressTest.java46 * Stress Wi-Fi connection, scanning and reconnection after sleep.
55 * Wi-Fi idle time for default sleep policy
104 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on");
131 private void sleep(long sometime, String errorMsg) { method in class:WifiStressTest
133 Thread.sleep(sometime);
194 // Stress Wifi reconnection to secure net after sleep
200 // set wifi sleep policy to never on while in sleep
223 // 1. Put device into sleep mode
224 // 2. Wait for the device to sleep fo
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCodecTest.java116 Thread.sleep(10000);
118 Thread.sleep(MediaNames.PAUSE_WAIT_TIME);
127 //The currentposition should be within 10% of the sleep time
148 Thread.sleep(MediaNames.WAIT_TIME);
177 Thread.sleep(5000);
180 Thread.sleep(20000);
193 //The current position should be within 20% of the sleep time
213 Thread.sleep(5000);
215 Thread.sleep(MediaNames.PAUSE_WAIT_TIME);
342 Thread.sleep(MediaName
[all...]
H A DEnergyProbe.java87 Thread.sleep(mCapturePeriodMs);
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java134 Thread.sleep(2000);
273 Thread.sleep(1000);
280 Thread.sleep(1000);
H A DInetAddrTest.java92 Thread.sleep(50);
/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp115 sleep(duration);
128 sleep(duration);
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerTestApp.java298 Thread.sleep(5 * 1000); // wait 5 secs
302 Thread.sleep(5 * 1000); // wait 5 secs
308 Thread.sleep(5 * 1000); // wait 5 seconds
314 Thread.sleep(5 * 1000); // wait 5 secs
371 Thread.sleep(40 * 1000); // wait 40 seconds
381 Thread.sleep(20 * 1000); // wait 20 seconds
441 Thread.sleep(60 * 1000); // wait 1 minute
452 Thread.sleep(20 * 1000); // wait 20 seconds
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiSoftAPTest.java69 Thread.sleep(DURATION);
/frameworks/base/core/tests/coretests/src/android/util/
H A DTouchModeFlexibleAsserts.java67 Thread.sleep(200);
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewAttachView.java51 SystemClock.sleep(2000);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/
H A DMediaPlayerPowerTest.java55 Thread.sleep(200000);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DDataVerify.java74 Thread.sleep(TIME_WAIT);
/frameworks/base/test-runner/src/android/test/
H A DSyncBaseInstrumentation.java61 Thread.sleep(1000);
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DBitmapRequestKeyImpl.java76 // Artificially sleep for (deterministically) random amount of time.
80 // Maximum amount of time to sleep.
85 Thread.sleep(duration);
/frameworks/support/v4/tests/java/android/support/v4/widget/
H A DScrollerCompatTestBase.java62 Thread.sleep(100);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java105 Thread.sleep(SHORT_WAIT);
194 Thread.sleep(1000);
212 Thread.sleep(MEDIA_STRESS_WAIT_TIME);
248 Thread.sleep(MEDIA_STRESS_WAIT_TIME);
252 Thread.sleep(SHORT_WAIT);
274 Thread.sleep(MEDIA_STRESS_WAIT_TIME);
372 Thread.sleep(10000);
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
H A DAppLaunch.java109 sleep(INITIAL_LAUNCH_IDLE_TIMEOUT);
111 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT);
132 sleep(POST_LAUNCH_IDLE_TIMEOUT);
134 sleep(BETWEEN_LAUNCH_SLEEP_TIMEOUT);
276 sleep(POST_LAUNCH_IDLE_TIMEOUT);
290 private void sleep(int time) { method in class:AppLaunch
292 Thread.sleep(time);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java219 SystemClock.sleep(REGULAR_CLICK_LENGTH);
276 SystemClock.sleep(REGULAR_CLICK_LENGTH);
296 SystemClock.sleep(mUiAutomatorBridge.getSystemLongPressTime());
454 SystemClock.sleep(mUiAutomatorBridge.getSystemLongPressTime());
463 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
466 SystemClock.sleep(REGULAR_CLICK_LENGTH);
508 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
537 SystemClock.sleep(keyDelay);
740 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java469 sleep(POLL_TIME);
529 sleep(POLL_TIME);
571 sleep(POLL_TIME);
614 sleep(POLL_TIME);
653 sleep(POLL_TIME);
691 sleep(POLL_TIME);
826 sleep(POLL_TIME);
979 sleep(POLL_TIME);
1060 sleep(POLL_TIME);
1165 sleep(POLL_TIM
1504 private void sleep(long time) { method in class:BluetoothTestUtils
[all...]
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java123 SystemClock.sleep(3000);
184 SystemClock.sleep(2000);
229 if (CHILD_WEDGE) SystemClock.sleep(Integer.MAX_VALUE);
266 SystemClock.sleep(200);
302 SystemClock.sleep(3000);
384 Thread.sleep(timeoutMillis);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DAutoCompleteTextViewPopup.java32 // ms to sleep when checking for intermittent UI state
230 Thread.sleep(SLEEP_TIME);
248 Thread.sleep(SLEEP_TIME);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursorTest.java147 Thread.sleep(3000);
173 Thread.sleep(3000);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCameraTestHelper.java123 Thread.sleep(WAIT_GENERIC);
162 Thread.sleep(WAIT_GENERIC);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioManagerTest.java156 java.lang.Thread.sleep(WAIT_FOR_AUDIOFOCUS_LOSS_MS);
241 java.lang.Thread.sleep(WAIT_FOR_AUDIOFOCUS_LOSS_MS);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaPlayerStreamingStressTest.java55 Thread.sleep(2000);
154 Thread.sleep(3000);

Completed in 801 milliseconds

12345678