Searched refs:uidListener2 (Results 1 – 1 of 1) sorted by relevance
272 final MyUidImportanceListener uidListener2 = new MyUidImportanceListener(uid); in testFgsProcStatsTracker() local302 am.addOnUidImportanceListener(uidListener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testFgsProcStatsTracker()344 am.removeOnUidImportanceListener(uidListener2); in testFgsProcStatsTracker()517 final MyUidImportanceListener uidListener2 = new MyUidImportanceListener(uid); in testKillAppIfBgRestrictedCachedIdle() local529 am.addOnUidImportanceListener(uidListener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testKillAppIfBgRestrictedCachedIdle()580 assertFalse("FGS shouldn't be killed", uidListener2.waitFor( in testKillAppIfBgRestrictedCachedIdle()588 assertFalse("FGS shouldn't be killed", uidListener2.waitFor( in testKillAppIfBgRestrictedCachedIdle()594 assertTrue("Should have been killed", uidListener2.waitFor( in testKillAppIfBgRestrictedCachedIdle()608 assertFalse("FGS shouldn't be killed", uidListener2.waitFor( in testKillAppIfBgRestrictedCachedIdle()616 assertTrue("Should have been killed", uidListener2.waitFor( in testKillAppIfBgRestrictedCachedIdle()[all …]