Home
last modified time | relevance | path

Searched refs:sleep (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DTonesAutoTest.java44 Thread.sleep(200); in tonesDtmfTest()
46 Thread.sleep(100); in tonesDtmfTest()
69 Thread.sleep(2000); in tonesSupervisoryTest()
71 Thread.sleep(200); in tonesSupervisoryTest()
81 Thread.sleep(5000); in tonesSupervisoryTest()
83 Thread.sleep(200); in tonesSupervisoryTest()
105 Thread.sleep(1000); in tonesProprietaryTest()
107 Thread.sleep(100); in tonesProprietaryTest()
130 Thread.sleep(100); in tonesSimultaneousTest()
132 Thread.sleep(500); in tonesSimultaneousTest()
[all …]
DCodecTest.java124 Thread.sleep(10000); in getCurrentPosition()
126 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in getCurrentPosition()
156 Thread.sleep(MediaNames.WAIT_TIME); in seekTo()
185 Thread.sleep(5000); in setLooping()
188 Thread.sleep(20000); in setLooping()
221 Thread.sleep(5000); in pause()
223 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in pause()
350 Thread.sleep(MediaNames.PAUSE_WAIT_TIME); in videoSeekTo()
353 Thread.sleep(1000); in videoSeekTo()
361 Thread.sleep(5000); in videoSeekTo()
[all …]
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java141 sleep(450); in TestSounds()
144 sleep(50); in TestSounds()
163 sleep(450); in TestScales()
166 sleep(50); in TestScales()
187 sleep(250); in TestRates()
209 sleep(1000); in TestPriority()
219 sleep(1000); in TestPriority()
230 sleep(1000); in TestPriority()
233 sleep(1000); in TestPriority()
240 sleep(1000); in TestPriority()
[all …]
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java103 Thread.sleep(a.getTotalDuration()); in testStartDelay()
112 Thread.sleep(a.getTotalDuration()); in testStartDelay()
145 Thread.sleep(POLL_INTERVAL); in testListenerCallbacks()
167 Thread.sleep(POLL_INTERVAL); in testListenerCallbacks()
172 Thread.sleep(delay); in testListenerCallbacks()
212 Thread.sleep(POLL_INTERVAL); in testIsStarted()
224 Thread.sleep(startDelay); in testIsStarted()
234 Thread.sleep(delay); in testIsStarted()
264 Thread.sleep(POLL_INTERVAL); in testPause()
277 Thread.sleep(a2.getTotalDuration()); in testPause()
[all …]
DAnimatorSetActivityTest.java262 Thread.sleep(s.getTotalDuration() + 200);
275 Thread.sleep(s.getTotalDuration() + 100);
287 Thread.sleep(s.getTotalDuration() + 100);
307 Thread.sleep(a2.getTotalDuration());
359 Thread.sleep(200); in testStart()
402 Thread.sleep(a1.getTotalDuration()); in testCancel()
441 Thread.sleep(50); in testIsRunning()
457 Thread.sleep(50); in testPauseAndResume()
517 Thread.sleep(POLL_INTERVAL); in testClone()
520 Thread.sleep(POLL_INTERVAL); in testClone()
[all …]
/frameworks/base/cmds/statsd/tools/loadtest/
Drun_loadtest.sh65 sleep 3 # wait a bit for it to restart
71 sleep 1 # wait a bit
77 sleep 100 && update_pid_and_pss
85 sleep 2
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java166 SystemClock.sleep(SHORT_TIMEOUT); in waitForNetworkState()
185 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiState()
206 SystemClock.sleep(SHORT_TIMEOUT); in waitForWifiApState()
239 SystemClock.sleep(SHORT_TIMEOUT); in waitForTetherStateChange()
302 SystemClock.sleep(SHORT_TIMEOUT); in pingTest()
362 SystemClock.sleep(SHORT_TIMEOUT); in disconnectAP()
402 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
406 SystemClock.sleep(SHORT_TIMEOUT); in removeConfiguredNetworksAndDisableWifi()
426 SystemClock.sleep(SHORT_TIMEOUT); in waitForActiveNetworkConnection()
442 SystemClock.sleep(SHORT_TIMEOUT); in waitUntilNoActiveNetworkConnection()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DTokenBucketTest.java84 Thread.sleep(3 * delta / 2); in testFill()
96 Thread.sleep(2); in testRefill()
102 Thread.sleep(2); in testRefill()
117 Thread.sleep(5 * delta); in testAverage()
136 Thread.sleep(capacity * delta - 2); in testBurst()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLockTest.java83 Thread.currentThread().sleep(SLEEP_TIME); in testLockFairness()
106 Thread.sleep(SLEEP_TIME); in run()
136 Thread.sleep(SLEEP_TIME); in testLockLatency()
163 Thread.sleep(SLEEP_TIME); in run()
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java137 Thread.sleep(5000); in testNetworkFailedRollback()
146 Thread.sleep(5000); in testNetworkFailedRollback()
175 Thread.sleep(5000); in testNetworkPassedDoesNotRollback()
192 Thread.sleep(310000); in testNetworkPassedDoesNotRollback()
/frameworks/av/media/libaaudio/tests/
Dtest_interference.cpp69 sleep(1); in TEST()
79 sleep(1); in TEST()
89 sleep(1); in TEST()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java298 Thread.sleep(5 * 1000); // wait 5 secs in runDownloadMultipleSwitching()
302 Thread.sleep(5 * 1000); // wait 5 secs in runDownloadMultipleSwitching()
308 Thread.sleep(5 * 1000); // wait 5 seconds in runDownloadMultipleSwitching()
314 Thread.sleep(5 * 1000); // wait 5 secs in runDownloadMultipleSwitching()
371 Thread.sleep(40 * 1000); // wait 40 seconds in runDownloadMultipleWiFiEnableDisable()
381 Thread.sleep(20 * 1000); // wait 20 seconds in runDownloadMultipleWiFiEnableDisable()
441 Thread.sleep(60 * 1000); // wait 1 minute in runDownloadMultipleAirplaneModeEnableDisable()
452 Thread.sleep(20 * 1000); // wait 20 seconds in runDownloadMultipleAirplaneModeEnableDisable()
/frameworks/base/startop/scripts/app_startup/
Drun_app_with_prefetch29 -s, --sleep <sec> how long to sleep after readahead
78 -s|--sleep)
168 sleep 1
233 sleep $sleep_time
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java104 sleep(SHORT_TIMEOUT, "Interruped while waiting for wifi on"); in setUp()
131 private void sleep(long sometime, String errorMsg) { in sleep() method in WifiStressTest
133 Thread.sleep(sometime); in sleep()
238 SystemClock.sleep(100); in testWifiReconnectionAfterSleep()
242 SystemClock.sleep(WIFI_IDLE_MS + WIFI_SHUTDOWN_DELAY); in testWifiReconnectionAfterSleep()
256 SystemClock.sleep(mWifiSleepTime); in testWifiReconnectionAfterSleep()
/frameworks/base/core/tests/coretests/src/android/os/
DSetPersistentVrThreadTest.java82 Thread.sleep(200); in setPersistentVrModeEnabled()
109 Thread.sleep(200); in testSetPersistentVrThreadAPISuccess()
111 Thread.sleep(200); in testSetPersistentVrThreadAPISuccess()
116 Thread.sleep(200); in testSetPersistentVrThreadAPISuccess()
/frameworks/base/tests/BootImageProfileTest/src/com/android/bootimageprofile/
DBootImageProfileTest.java104 Thread.sleep(1000); in testSystemServerProfile()
124 Thread.sleep(1000); in testSystemServerProfile()
139 Thread.sleep(1000); in testSystemServerProfile()
145 Thread.sleep(1000); in testSystemServerProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceBrokerTest.java95 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); in testPostA2dpDeviceConnectionChange()
140 Thread.sleep(MAX_MESSAGE_HANDLING_DELAY_MS); in doTestConnectionDisconnectionReconnection()
146 Thread.sleep(delayAfterDisconnection); in doTestConnectionDisconnectionReconnection()
152 Thread.sleep(AudioService.BECOMING_NOISY_DELAY_MS + MAX_MESSAGE_HANDLING_DELAY_MS); in doTestConnectionDisconnectionReconnection()
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewCallbacks.java48 Thread.sleep(WAIT_TIME); in testPopupNoSelection()
82 Thread.sleep(WAIT_TIME); in testPopupEnterSelection()
100 Thread.sleep(WAIT_TIME); in testPopupEnterSelection()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java159 Thread.sleep(10); in testDisconnectAlwaysAllowKey()
240 Thread.sleep(10); in testLastConnectionTimeUpdatedByScheduledJob()
270 Thread.sleep(10); in testKeystorePersisted()
323 Thread.sleep(10); in testAdbGrantRevokedIfLastConnectionBeyondAllowedTime()
520 Thread.sleep(10); in testConnectionTimeUpdatedWithConnectedKeyMessage()
531 Thread.sleep(10); in testConnectionTimeUpdatedWithConnectedKeyMessage()
540 Thread.sleep(10); in testConnectionTimeUpdatedWithConnectedKeyMessage()
650 Thread.sleep(10); in testConnectionTimeUpdatedForMultipleConnectedKeys()
664 Thread.sleep(10); in testConnectionTimeUpdatedForMultipleConnectedKeys()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
DImeAppHelper.java19 import static android.os.SystemClock.sleep;
39 sleep(500); in clickEditTextWidget()
/frameworks/base/tests/backup/
Dbackup_stress_test.sh29 (while (sleep 10); do
38 sleep 10
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java217 SystemClock.sleep(REGULAR_CLICK_LENGTH); in clickNoSync()
274 SystemClock.sleep(REGULAR_CLICK_LENGTH); in clickRunnable()
294 SystemClock.sleep(mUiAutomatorBridge.getSystemLongPressTime());
452 SystemClock.sleep(mUiAutomatorBridge.getSystemLongPressTime());
461 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
464 SystemClock.sleep(REGULAR_CLICK_LENGTH);
506 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
535 SystemClock.sleep(keyDelay);
738 SystemClock.sleep(MOTION_EVENT_INJECTION_DELAY_MILLIS);
/frameworks/base/core/proto/android/os/
Dpowermanager.proto58 // The device is fully awake. It can be put to sleep by a call to
60 // start dreaming or go to sleep.
63 // ends the dream. The device goes to sleep when goToSleep() is called,
70 // which ends the dream. The device fully goes to sleep if the dream
/frameworks/base/tests/testables/src/android/testing/
DPollingCheck.java47 Thread.sleep(TIME_SLICE); in run()
69 Thread.sleep(TIME_SLICE); in check()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java153 Thread.sleep(1000); in testRecoverFromZipCorruptionStressTest()
181 Thread.sleep(1000); in testRecoverFromDexCorruptionStressTest()
212 Thread.sleep((i - 1) * (1 << (i / 5))); in startServices()
244 Thread.sleep(5000); in waitServicesCompletion()
260 Thread.sleep(5000); in waitServicesCompletion()

12345678910>>...14