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()528 assertFalse(instance.isUidInForeground(UID_1)); in testUidStateForeground()529 assertTrue(instance.isUidInForeground(UID_2)); in testUidStateForeground()530 assertTrue(instance.isUidInForeground(Process.SYSTEM_UID)); in testUidStateForeground()542 assertTrue(instance.isUidInForeground(UID_1)); in testUidStateForeground()543 assertTrue(instance.isUidInForeground(UID_2)); in testUidStateForeground()544 assertTrue(instance.isUidInForeground(Process.SYSTEM_UID)); in testUidStateForeground()553 assertFalse(instance.isUidInForeground(UID_1)); in testUidStateForeground()[all …]
284 onUidForeground(uid, sender.isUidInForeground(uid)); in onUidForegroundStateChanged()1171 public boolean isUidInForeground(int uid) { in isUidInForeground() method in AppStateTracker
4801 || mAppStateTracker.isUidInForeground(alarm.creatorUid)) { in deliverLocked()
617 private boolean isUidInForeground(int uid) { in isUidInForeground() method in QuotaController636 || isUidInForeground(jobStatus.getSourceUid())) { in getMaxJobExecutionTimeMsLocked()650 || isUidInForeground(jobStatus.getSourceUid()) in isWithinQuotaLocked()
1371 HSPLcom/android/server/AppStateTracker;->isUidInForeground(I)Z