Searched refs:isUidInForeground (Results 1 – 5 of 5) sorted by relevance
510 assertFalse(instance.isUidInForeground(UID_1)); in testUidStateForeground()511 assertFalse(instance.isUidInForeground(UID_2)); in testUidStateForeground()512 assertTrue(instance.isUidInForeground(Process.SYSTEM_UID)); in testUidStateForeground()527 assertFalse(instance.isUidInForeground(UID_1)); in testUidStateForeground()528 assertTrue(instance.isUidInForeground(UID_2)); in testUidStateForeground()529 assertTrue(instance.isUidInForeground(Process.SYSTEM_UID)); in testUidStateForeground()540 assertTrue(instance.isUidInForeground(UID_1)); in testUidStateForeground()541 assertTrue(instance.isUidInForeground(UID_2)); in testUidStateForeground()542 assertTrue(instance.isUidInForeground(Process.SYSTEM_UID)); in testUidStateForeground()551 assertFalse(instance.isUidInForeground(UID_1)); in testUidStateForeground()[all …]
283 onUidForeground(uid, sender.isUidInForeground(uid)); in onUidForegroundStateChanged()1166 public boolean isUidInForeground(int uid) { in isUidInForeground() method in AppStateTracker
4768 || mAppStateTracker.isUidInForeground(alarm.creatorUid)) { in deliverLocked()
726 private boolean isUidInForeground(int uid) { in isUidInForeground() method in QuotaController761 || isUidInForeground(jobStatus.getSourceUid()) in isWithinQuotaLocked()
572 HSPLcom/android/server/AppStateTracker;->isUidInForeground(I)Z7782 HSPLcom/android/server/job/controllers/QuotaController;->isUidInForeground(I)Z