Home
last modified time | relevance | path

Searched refs:WAIT_TIME (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DLooperTest.java32 public static final long WAIT_TIME = 1000; field in LooperTest
79 t.runTest(WAIT_TIME); in testMyLooper()
93 t.runTest(WAIT_TIME); in testIsCurrentThread()
116 t.runTest(WAIT_TIME); in testMyQueue()
128 t.runTest(WAIT_TIME); in testGetQueue()
145 t.runTest(WAIT_TIME); in testPrepare()
160 t.runTest(WAIT_TIME); in testPrepareMainLooper()
178 Thread.sleep(WAIT_TIME); in testQuit()
183 Thread.sleep(WAIT_TIME); in testQuit()
186 Thread.sleep(WAIT_TIME); in testQuit()
[all …]
DConditionVariableTest.java25 private static final int WAIT_TIME = 3000; field in ConditionVariableTest
75 t.joinAndCheck(WAIT_TIME); in testConditionVariable()
92 t.joinAndCheck(WAIT_TIME); in testConditionVariable()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java42 private static final int WAIT_TIME = 10000; field in PendingIntentTest
151 PendingIntentStubActivity.waitForCreate(WAIT_TIME); in testGetActivity()
189 MockReceiver.waitForReceive(WAIT_TIME); in testGetBroadcast()
226 return latch.await(WAIT_TIME, TimeUnit.MILLISECONDS); in waitForReceipt()
287 MockService.waitForStart(WAIT_TIME); in testGetService()
312 MockService.waitForStart(WAIT_TIME); in testStartServiceOnFinishedHandler()
313 waitForFinish(WAIT_TIME); in testStartServiceOnFinishedHandler()
329 MockService.waitForStart(WAIT_TIME); in testStartServiceOnFinishedHandler()
330 waitForFinish(WAIT_TIME); in testStartServiceOnFinishedHandler()
370 MockReceiver.waitForReceive(WAIT_TIME); in testSend()
[all …]
DActivityManagerProcessStateTest.java78 private static final int WAIT_TIME = 2000; field in ActivityManagerProcessStateTest
220 , WAIT_TIME); in startActivityAndWaitForShow() local
237 WAIT_TIME); in testUidImportanceListener()
239 WAIT_TIME); in testUidImportanceListener()
246 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME); in testUidImportanceListener()
269 appInfo.uid, IMPORTANCE_CACHED, WAIT_TIME); in testUidImportanceListener()
273 WAIT_TIME); in testUidImportanceListener()
412 WAIT_TIME); in testBackgroundCheckService()
429 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME); in testBackgroundCheckService()
432 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_EMPTY, WAIT_TIME); in testBackgroundCheckService()
[all …]
DActivityManagerTest.java57 private static final int WAIT_TIME = 2000; field in ActivityManagerTest
128 Thread.sleep(WAIT_TIME); in testGetRecentTasks()
131 Thread.sleep(WAIT_TIME); in testGetRecentTasks()
305 MockService.waitForStart(WAIT_TIME);
318 boolean destroyed = MockService.waitForDestroy(WAIT_TIME);
448 Thread.sleep(WAIT_TIME);
652 Thread.sleep(WAIT_TIME);
668 Thread.sleep(WAIT_TIME);
DInstrumentationTest.java61 private static final int WAIT_TIME = 1000; field in InstrumentationTest
135 Activity activity = mInstrumentation.waitForMonitorWithTimeout(monitor, WAIT_TIME); in testMonitor()
144 activity = mInstrumentation.waitForMonitorWithTimeout(monitor, WAIT_TIME); in testMonitor()
460 Thread.sleep(WAIT_TIME); in testWaitForIdle()
DNotificationManagerTest.java123 private static final int WAIT_TIME = 2000; field in NotificationManagerTest
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DPhoneStateListenerTest.java53 public static final long WAIT_TIME = 1000; field in PhoneStateListenerTest
172 mLock.wait(WAIT_TIME); in testOnServiceStateChanged()
210 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
224 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
233 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
271 mLock.wait(WAIT_TIME); in testOnSignalStrengthChanged()
309 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChanged()
359 mLock.wait(WAIT_TIME); in testOnMessageWaitingIndicatorChanged()
402 mLock.wait(WAIT_TIME); in testOnPreciseCallStateChanged()
450 mLock.wait(WAIT_TIME); in testOnCallDisconnectCauseChanged()
[all …]
/cts/tests/tests/telephony/sdk28/src/android/telephony/sdk28/cts/
DPhoneStateListenerTest.java38 public static final long WAIT_TIME = 1000; field in PhoneStateListenerTest
104 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
118 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
127 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java33 private final int WAIT_TIME = 2000; field in ProcessTest
60 Thread.sleep(WAIT_TIME); in testPid()
68 Thread.sleep(WAIT_TIME); in testPid()
78 Thread.sleep(WAIT_TIME); in testPid()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoProcessOutgoingCallPermissionTest.java37 private static final int WAIT_TIME = 2 * 60 * 1000; field in NoProcessOutgoingCallPermissionTest
76 rcvr.wait(WAIT_TIME); in testProcessOutgoingCall()
DNoReceiveSmsPermissionTest.java41 private static final int WAIT_TIME = 2*60*1000; field in NoReceiveSmsPermissionTest
81 receiver.wait(WAIT_TIME); in testReceiveTextMessage()
119 receiver.wait(WAIT_TIME); in testAppSpecificSmsToken()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java50 private static final int WAIT_TIME = 2000; // Time to wait for process to launch (ms). field in CameraEvictionTest
185 Thread.sleep(WAIT_TIME); in testBasicCamera2ActivityEviction()
395 Thread.sleep(WAIT_TIME); in testAPI1ActivityEviction()
451 Thread.sleep(WAIT_TIME); in forceCtsActivityToTop()
456 Thread.sleep(WAIT_TIME); in forceCtsActivityToTop()
518 Thread.sleep(WAIT_TIME); in startRemoteProcess()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java93 Thread.sleep(WAIT_TIME); in testLightStatusBarIcons()
108 Thread.sleep(WAIT_TIME); in testLightNavigationBar()
114 Thread.sleep(WAIT_TIME); in testLightNavigationBar()
130 Thread.sleep(WAIT_TIME); in testNavigationBarDivider()
DLightBarThemeTest.java82 Thread.sleep(WAIT_TIME); in testNavigationBarDividerColor()
DLightBarTestBase.java54 public static final int WAIT_TIME = 2000; field in LightBarTestBase
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieTest.java32 private static final long WAIT_TIME = 50; field in CookieTest
53 Thread.sleep(WAIT_TIME); in setUp()
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java62 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/
DCodecTest.java50 private static final long WAIT_TIME = 2000; field in CodecTest
135 Thread.sleep(WAIT_TIME); in seekTo()