Home
last modified time | relevance | path

Searched refs:WAIT_MS (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java82 private static final long WAIT_MS = 5 * 1000; field in ServiceRestarterTest
191 assertTrue("app2 should be restart in a very short moment", ts2[2] - ts2[0] < WAIT_MS); in testDisableServiceRestartBackoff()
317 startServiceAndWait(TEST_PACKAGE1_NAME, uid1Listener1, WAIT_MS); in startKillAndRestart()
318 startServiceAndWait(TEST_PACKAGE2_NAME, uid2Listener1, WAIT_MS); in startKillAndRestart()
319 startServiceAndWait(TEST_PACKAGE3_NAME, uid3Listener1, WAIT_MS); in startKillAndRestart()
324 killUidAndWait(am, mTestPackage1Uid, uid1Listener2, WAIT_MS); in startKillAndRestart()
325 killUidAndWait(am, mTestPackage2Uid, uid2Listener2, WAIT_MS); in startKillAndRestart()
326 killUidAndWait(am, mTestPackage3Uid, uid3Listener2, WAIT_MS); in startKillAndRestart()
353 uid1Listener2.waitFor(RunningAppProcessInfo.IMPORTANCE_GONE, WAIT_MS)); in startKillAndRestart()
355 uid2Listener2.waitFor(RunningAppProcessInfo.IMPORTANCE_GONE, WAIT_MS)); in startKillAndRestart()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java2008 private static final long WAIT_MS = 500; field in MediaRouterService.AudioPlayerActiveStateChangedListenerImpl
2051 mHandler.postDelayed(mRestoreBluetoothA2dpRunnable, WAIT_MS); in onAudioPlayerActiveStateChanged()