Searched refs:uid3Listener2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ServiceRestarterTest.java | 162 final MyUidImportanceListener uid3Listener2 = new MyUidImportanceListener(mTestPackage3Uid); in testDisableServiceRestartBackoff() local 169 am.addOnUidImportanceListener(uid3Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testDisableServiceRestartBackoff() 179 uid3Listener1, uid3Listener2, Long.MAX_VALUE, false); in testDisableServiceRestartBackoff() 188 uid2Listener2, uid3Listener1, uid3Listener2, Long.MAX_VALUE, false); in testDisableServiceRestartBackoff() 197 uid2Listener1, uid2Listener2, uid3Listener1, uid3Listener2, Long.MAX_VALUE, in testDisableServiceRestartBackoff() 212 am.removeOnUidImportanceListener(uid3Listener2); in testDisableServiceRestartBackoff() 228 final MyUidImportanceListener uid3Listener2 = new MyUidImportanceListener(mTestPackage3Uid); in testExtraDelaysInServiceRestartOnLowMem() local 235 am.addOnUidImportanceListener(uid3Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testExtraDelaysInServiceRestartOnLowMem() 245 uid2Listener1, uid2Listener2, uid3Listener1, uid3Listener2, WAIT_LONG_MS, true); in testExtraDelaysInServiceRestartOnLowMem() 251 uid2Listener1, uid2Listener2, uid3Listener1, uid3Listener2, WAIT_LONG_MS, true); in testExtraDelaysInServiceRestartOnLowMem() [all …]
|
D | ActivityManagerTest.java | 724 final MyUidImportanceListener uid3Listener2 = new MyUidImportanceListener(uid3); in testKillPids() local 731 am.addOnUidImportanceListener(uid3Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testKillPids() 749 assertTrue("Timed out to kill process", uid3Listener2.waitFor( in testKillPids() 760 am.removeOnUidImportanceListener(uid3Listener2); in testKillPids()
|