Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java159 final MyUidImportanceListener uid2Listener1 = new MyUidImportanceListener(mTestPackage2Uid); in testDisableServiceRestartBackoff() local
166 am.addOnUidImportanceListener(uid2Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testDisableServiceRestartBackoff()
178 uid1Listener1, uid1Listener2, uid2Listener1, uid2Listener2, in testDisableServiceRestartBackoff()
187 uid1Listener1, uid1Listener2, uid2Listener1, in testDisableServiceRestartBackoff()
197 uid2Listener1, uid2Listener2, uid3Listener1, uid3Listener2, Long.MAX_VALUE, in testDisableServiceRestartBackoff()
209 am.removeOnUidImportanceListener(uid2Listener1); in testDisableServiceRestartBackoff()
225 final MyUidImportanceListener uid2Listener1 = new MyUidImportanceListener(mTestPackage2Uid); in testExtraDelaysInServiceRestartOnLowMem() local
232 am.addOnUidImportanceListener(uid2Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); 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 …]
DActivityManagerTest.java721 final MyUidImportanceListener uid2Listener1 = new MyUidImportanceListener(uid2); in testKillPids() local
728 am.addOnUidImportanceListener(uid2Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testKillPids()
740 uid2Listener1, timeout); in testKillPids()
757 am.removeOnUidImportanceListener(uid2Listener1); in testKillPids()