Searched refs:isUidForeground (Results 1 – 3 of 3) sorted by relevance
275 assertFalse(mService.isUidForeground(UID_A)); in testPidForegroundCombined()276 assertFalse(mService.isUidForeground(UID_B)); in testPidForegroundCombined()282 assertTrue(mService.isUidForeground(UID_A)); in testPidForegroundCombined()283 assertFalse(mService.isUidForeground(UID_B)); in testPidForegroundCombined()290 assertFalse(mService.isUidForeground(UID_A)); in testPidForegroundCombined()291 assertTrue(mService.isUidForeground(UID_B)); in testPidForegroundCombined()298 assertTrue(mService.isUidForeground(UID_A)); in testPidForegroundCombined()304 assertTrue(mService.isUidForeground(UID_A)); in testPidForegroundCombined()310 assertFalse(mService.isUidForeground(UID_A)); in testPidForegroundCombined()
39 boolean isUidForeground(int uid); in isUidForeground() method
2419 public boolean isUidForeground(int uid) { in isUidForeground() method