Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java161 final MyUidImportanceListener uid3Listener1 = new MyUidImportanceListener(mTestPackage3Uid); in testDisableServiceRestartBackoff() local
168 am.addOnUidImportanceListener(uid3Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); 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()
211 am.removeOnUidImportanceListener(uid3Listener1); in testDisableServiceRestartBackoff()
227 final MyUidImportanceListener uid3Listener1 = new MyUidImportanceListener(mTestPackage3Uid); in testExtraDelaysInServiceRestartOnLowMem() local
234 am.addOnUidImportanceListener(uid3Listener1, 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.java723 final MyUidImportanceListener uid3Listener1 = new MyUidImportanceListener(uid3); in testKillPids() local
730 am.addOnUidImportanceListener(uid3Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testKillPids()
742 uid3Listener1, timeout); in testKillPids()
759 am.removeOnUidImportanceListener(uid3Listener1); in testKillPids()