Home
last modified time | relevance | path

Searched refs:isUidForeground (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java387 assertFalse(service.mUidObserver.isUidForeground(a.mUid));
402 assertTrue(service.mUidObserver.isUidForeground(a.mUid));
476 assertFalse(service.mUidObserver.isUidForeground(a.mUid));
503 assertFalse(service.mUidObserver.isUidForeground(a.mUid));
527 assertFalse(service.mUidObserver.isUidForeground(a.mUid));
541 assertTrue(service.mUidObserver.isUidForeground(a.mUid));
568 assertFalse(service.mUidObserver.isUidForeground(a.mUid));
808 assertFalse(service.mUidObserver.isUidForeground(a.mUid));
1112 assertFalse(service.mUidObserver.isUidForeground(a.mUid));
/frameworks/base/telephony/common/com/android/internal/telephony/util/
DTelephonyUtils.java293 if (!TelephonyUtils.isUidForeground(context, callingUid) in showSwitchToManagedProfileDialogIfAppropriate()
329 private static boolean isUidForeground(Context context, int uid) { in isUidForeground() method
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java367 public boolean isUidForeground(int uid) { in isUidForeground() method in HintManagerService.MyUidObserver
433 boolean shouldAllowUpdate = isUidForeground(uid); in onUidStateChanged()
574 boolean isForeground = mUidObserver.isUidForeground(uid); in handleMessage()
1024 final boolean allowed = mUidObserver.isUidForeground(mUid); in AppHintSession()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java429 if (!mUidObserver.isUidForeground(callerInfo.uid) in shouldIgnoreVibration()
879 public boolean isUidForeground(int uid) {
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java620 public abstract boolean isUidForeground(int uid); in isUidForeground() method in ActivityTaskManagerInternal
DActivityTaskManagerService.java7209 public boolean isUidForeground(int uid) { in isUidForeground() method in ActivityTaskManagerService.LocalService
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentRecord.java718 if (uid != callingUid && controller.mAtmInternal.isUidForeground(callingUid)) { in getBackgroundStartPrivilegesForActivitySender()
DActiveServices.java8390 final boolean isCallingUidVisible = mAm.mAtmInternal.isUidForeground(callingUid); in shouldAllowFgsWhileInUsePermissionLocked()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2477 .isUidForeground(data.connection.mInfo.getServiceInfo() in pauseOrResumeRenderingImmediately()
/frameworks/base/services/
Dart-profile3036 HSPLcom/android/server/power/hint/HintManagerService$MyUidObserver;->isUidForeground(I)Z+]Landroid/…
3427 HPLcom/android/server/wm/ActivityTaskManagerService$LocalService;->isUidForeground(I)Z+]Lcom/androi…
Dart-wear-profile21716 HPLcom/android/server/power/hint/HintManagerService$MyUidObserver;->isUidForeground(I)Z
24792 PLcom/android/server/vibrator/VibrationSettings$MyUidObserver;->isUidForeground(I)Z
25924 HPLcom/android/server/wm/ActivityTaskManagerService$LocalService;->isUidForeground(I)Z