Home
last modified time | relevance | path

Searched refs:WAIT_TIME (Results 1 – 21 of 21) 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/tests/telephony/current/src/android/telephony/cts/
DPhoneStateListenerTest.java66 public static final long WAIT_TIME = 1000; field in PhoneStateListenerTest
189 mLock.wait(WAIT_TIME); in testOnServiceStateChanged()
219 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
233 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
242 mLock.wait(WAIT_TIME); in testOnUnRegisterFollowedByRegister()
272 mLock.wait(WAIT_TIME); in testOnSignalStrengthChanged()
396 mLock.wait(WAIT_TIME); in testOnSignalStrengthsChanged()
436 mLock.wait(WAIT_TIME); in testOnMessageWaitingIndicatorChanged()
467 mLock.wait(WAIT_TIME); in testOnPreciseCallStateChanged()
503 mLock.wait(WAIT_TIME); in testOnCallDisconnectCauseChanged()
[all …]
/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.java79 private static final int WAIT_TIME = 10000; field in ActivityManagerProcessStateTest
248 , WAIT_TIME); in startActivityAndWaitForShow() local
265 WAIT_TIME); in testUidImportanceListener()
267 WAIT_TIME); in testUidImportanceListener()
274 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME); in testUidImportanceListener()
297 appInfo.uid, IMPORTANCE_CACHED, WAIT_TIME); in testUidImportanceListener()
301 WAIT_TIME); in testUidImportanceListener()
440 WAIT_TIME); in testBackgroundCheckService()
457 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME); in testBackgroundCheckService()
460 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_EMPTY, WAIT_TIME); in testBackgroundCheckService()
[all …]
DActivityManagerTest.java57 private static final int WAIT_TIME = 2000; field in ActivityManagerTest
135 Thread.sleep(WAIT_TIME); in testGetRecentTasks()
138 Thread.sleep(WAIT_TIME); in testGetRecentTasks()
312 MockService.waitForStart(WAIT_TIME);
325 boolean destroyed = MockService.waitForDestroy(WAIT_TIME);
511 Thread.sleep(WAIT_TIME);
715 Thread.sleep(WAIT_TIME);
731 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.java125 private static final int WAIT_TIME = 2000; field in NotificationManagerTest
/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/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecPowerStatusTest.java49 private static final int WAIT_TIME = 5; field in HdmiCecPowerStatusTest
95 TimeUnit.SECONDS.sleep(WAIT_TIME); in cect_11_2_14_2_PowerStatusWhenOff()
96 int waitTimeSeconds = WAIT_TIME; in cect_11_2_14_2_PowerStatusWhenOff()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DLogHelper.java35 private static final int WAIT_TIME = 10; field in LogHelper
45 TimeUnit.SECONDS.sleep(WAIT_TIME); in getLog()
74 TimeUnit.SECONDS.sleep(WAIT_TIME); in getSupportedAudioFormats()
/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/permission2/src/android/permission2/cts/
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()
DNoProcessOutgoingCallPermissionTest.java37 private static final int WAIT_TIME = 2 * 60 * 1000; field in NoProcessOutgoingCallPermissionTest
76 rcvr.wait(WAIT_TIME); in testProcessOutgoingCall()
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTests.java96 Thread.sleep(WAIT_TIME); in testLightStatusBarIcons()
111 Thread.sleep(WAIT_TIME); in testLightNavigationBar()
117 Thread.sleep(WAIT_TIME); in testLightNavigationBar()
133 Thread.sleep(WAIT_TIME); in testNavigationBarDivider()
DLightBarThemeTest.java84 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()