/cts/tests/tests/os/src/android/os/cts/ |
D | LooperTest.java | 52 public static final long WAIT_TIME = 1000; field in LooperTest 103 t.runTest(WAIT_TIME); in testMyLooper() 118 t.runTest(WAIT_TIME); in testIsCurrentThread() 142 t.runTest(WAIT_TIME); in testMyQueue() 155 t.runTest(WAIT_TIME); in testGetQueue() 173 t.runTest(WAIT_TIME); in testPrepare() 189 t.runTest(WAIT_TIME); in testPrepareMainLooper() 208 Thread.sleep(WAIT_TIME); in testQuit() 213 Thread.sleep(WAIT_TIME); in testQuit() 216 Thread.sleep(WAIT_TIME); in testQuit() [all …]
|
D | ConditionVariableTest.java | 27 private static final int WAIT_TIME = 3000; field in ConditionVariableTest 77 t.joinAndCheck(WAIT_TIME); in testConditionVariable() 94 t.joinAndCheck(WAIT_TIME); in testConditionVariable()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyCallbackTest.java | 85 public static final long WAIT_TIME = 1000; field in TelephonyCallbackTest 227 mLock.wait(WAIT_TIME); in unRegisterTelephonyCallback() 262 mLock.wait(WAIT_TIME); in testOnServiceStateChangedByRegisterTelephonyCallback() 292 mLock.wait(WAIT_TIME); in testOnServiceStateChangedByRegisterTelephonyCallbackWithLocationRenounce() 323 mLock.wait(WAIT_TIME); in testOnServiceStateChangedByRegisterTelephonyCallbackWithCoarseRenounce() 353 mLock.wait(WAIT_TIME); in testOnServiceStateChangedByRegisterTelephonyCallbackWithFineOnlyRenounce() 396 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegisterTelephonyCallback() 411 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegisterTelephonyCallback() 420 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegisterTelephonyCallback() 469 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChangedByRegisterTelephonyCallback() [all …]
|
D | PhoneStateListenerTest.java | 79 public static final long WAIT_TIME = 1000; field in PhoneStateListenerTest 204 mLock.wait(WAIT_TIME); in testOnServiceStateChanged() 234 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 248 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 257 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 287 mLock.wait(WAIT_TIME); in testOnSignalStrengthChanged() 361 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChanged() 447 mLock.wait(WAIT_TIME); in testOnMessageWaitingIndicatorChanged() 478 mLock.wait(WAIT_TIME); in testOnPreciseCallStateChanged() 514 mLock.wait(WAIT_TIME); in testOnCallDisconnectCauseChanged() [all …]
|
/cts/tests/tests/telephony3/src/android/telephony3/cts/ |
D | PhoneStateListenerTest.java | 42 public static final long WAIT_TIME = 1000; field in PhoneStateListenerTest 108 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 122 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister() 131 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
|
/cts/tests/app/src/android/app/cts/ |
D | BadProviderTest.java | 46 private static final int WAIT_TIME = 5000; field in BadProviderTest 66 appInfo.uid, WAIT_TIME); in testExitOnCreate() 81 appInfo.uid, WAIT_TIME); in testExitOnCreate()
|
D | PendingIntentTest.java | 56 private static final int WAIT_TIME = 10000; field in PendingIntentTest 168 PendingIntentStubActivity.waitForCreate(WAIT_TIME); in testGetActivity() 235 PendingIntentStubActivity.waitForCreate(WAIT_TIME); in testGetActivities() 309 MockReceiver.waitForReceive(WAIT_TIME); in testGetBroadcast() 380 return latch.await(WAIT_TIME, TimeUnit.MILLISECONDS); in waitForReceipt() 442 MockService.waitForStart(WAIT_TIME); in testGetService() 501 MockService.waitForStart(WAIT_TIME); in testStartServiceOnFinishedHandler() 502 waitForFinish(WAIT_TIME); in testStartServiceOnFinishedHandler() 518 MockService.waitForStart(WAIT_TIME); in testStartServiceOnFinishedHandler() 519 waitForFinish(WAIT_TIME); in testStartServiceOnFinishedHandler() [all …]
|
D | ActivityManagerProcessStateTest.java | 116 private static final int WAIT_TIME = 10000; field in ActivityManagerProcessStateTest 342 WAIT_TIME); in testUidImportanceListener() 344 WAIT_TIME); in testUidImportanceListener() 351 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME); in testUidImportanceListener() 374 appInfo.uid, IMPORTANCE_CACHED, WAIT_TIME); in testUidImportanceListener() 378 WAIT_TIME); in testUidImportanceListener() 518 WAIT_TIME); in testBackgroundCheckService() 535 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME); in testBackgroundCheckService() 538 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_EMPTY, WAIT_TIME); in testBackgroundCheckService() 542 WAIT_TIME); in testBackgroundCheckService() [all …]
|
D | ActivityManagerTest.java | 158 private static final long WAIT_TIME = 2000; field in ActivityManagerTest 269 Thread.sleep(WAIT_TIME); in testGetRecentTasks() 272 Thread.sleep(WAIT_TIME); in testGetRecentTasks() 489 MockService.waitForStart(WAIT_TIME); 502 boolean destroyed = MockService.waitForDestroy(WAIT_TIME); 651 Thread.sleep(WAIT_TIME); 670 Thread.sleep(WAIT_TIME); 701 Thread.sleep(WAIT_TIME); 814 Thread.sleep(WAIT_TIME); in launchHome() 931 assertTrue(currentHomeScreenVisibility.poll(WAIT_TIME, TimeUnit.MILLISECONDS)); in testHomeVisibilityListener() [all …]
|
D | InstrumentationTest.java | 76 private static final int WAIT_TIME = 1000; field in InstrumentationTest 189 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, WAIT_TIME); in testMonitor() 198 activity = mInstrumentation.waitForMonitorWithTimeout(monitor, WAIT_TIME); in testMonitor() 546 Thread.sleep(WAIT_TIME); in testWaitForIdle()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AttributionSourceTest.java | 44 private static final int WAIT_TIME = 2000; // Time to wait for process to launch (ms). field in AttributionSourceTest 81 !connection.postAttributionSource(context.getAttributionSource(), WAIT_TIME, in testOutsideTransaction() 98 connection.postAttributionSource(context.getAttributionSource(), WAIT_TIME, in testInsideTransaction()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | LogHelper.java | 37 private static final int WAIT_TIME = 10; field in LogHelper 47 TimeUnit.SECONDS.sleep(WAIT_TIME); in getLog() 120 TimeUnit.SECONDS.sleep(WAIT_TIME); in getSupportedAudioFormats()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTests.java | 137 Thread.sleep(WAIT_TIME); in testLightStatusBarIcons() 165 Thread.sleep(WAIT_TIME); in testAppearanceCanOverwriteLegacyFlags() 193 Thread.sleep(WAIT_TIME); in testLegacyFlagsCannotOverwriteAppearance() 206 Thread.sleep(WAIT_TIME); in testLightNavigationBar() 212 Thread.sleep(WAIT_TIME); in testLightNavigationBar() 228 Thread.sleep(WAIT_TIME); in testNavigationBarDivider() 256 Thread.sleep(WAIT_TIME); in testLightBarIsNotAllowed_fitStatusBar()
|
D | LightBarThemeTest.java | 84 Thread.sleep(WAIT_TIME); in testNavigationBarDividerColor()
|
D | LightBarTestBase.java | 48 public static final int WAIT_TIME = 2000; field in LightBarTestBase
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 71 private static final int WAIT_TIME = 2000; // Time to wait for process to launch (ms). field in CameraEvictionTest 230 Thread.sleep(WAIT_TIME); in testBasicCamera2ActivityEvictionInternal() 347 Thread.sleep(WAIT_TIME); in testCamera2OomScoreOffsetPermissions() 525 Thread.sleep(WAIT_TIME); in testCamera2AccessCallbackInSplitMode() 658 Thread.sleep(WAIT_TIME); in testAPI1ActivityEviction() 714 Thread.sleep(WAIT_TIME); in forceCtsActivityToTop() 719 Thread.sleep(WAIT_TIME); in forceCtsActivityToTop() 821 Thread.sleep(WAIT_TIME); in startRemoteProcess()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieTest.java | 49 private static final long WAIT_TIME = 50; field in CookieTest 68 Thread.sleep(WAIT_TIME); in setUp()
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DRMTest.java | 62 private static final int WAIT_TIME = 60000; // 1 min max field in DRMTest 219 mLock.wait(WAIT_TIME); in executeProcessDrmInfo()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 51 private static final long WAIT_TIME = 2000; field in CodecTest 141 Thread.sleep(WAIT_TIME); in seekTo()
|