Home
last modified time | relevance | path

Searched refs:isForeground (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/app/
DService.java673 public final void setForeground(boolean isForeground) { in setForeground() argument
DActivityManagerNative.java1357 boolean isForeground = data.readInt() != 0; in onTransact()
1358 setProcessForeground(token, pid, isForeground); in onTransact()
2945 final boolean isForeground = isAppForeground(userHandle); in onTransact()
2947 reply.writeInt(isForeground ? 1 : 0); in onTransact()
4721 boolean isForeground) throws RemoteException { in setProcessForeground() argument
4727 data.writeInt(isForeground ? 1 : 0); in setProcessForeground()
6945 final boolean isForeground = reply.readInt() == 1 ? true : false; in isAppForeground()
6948 return isForeground; in isAppForeground()
DIActivityManager.java293 boolean isForeground) throws RemoteException; in setProcessForeground() argument
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java95 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord
235 if (isForeground || foregroundId != 0) { in dump()
236 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
DActiveServices.java707 r.isForeground = true; in setServiceForegroundLocked()
716 if (r.isForeground) { in setServiceForegroundLocked()
717 r.isForeground = false; in setServiceForegroundLocked()
745 if (sr.isForeground) { in updateServiceForegroundLocked()
2026 r.isForeground = false; in bringDownServiceLocked()
2700 info.foreground = r.isForeground; in makeRunningServiceInfoLocked()
2706 if (r.isForeground) { in makeRunningServiceInfoLocked()
DActivityManagerService.java7407 public void setProcessForeground(IBinder token, int pid, boolean isForeground) {
7415 if (pr == null && isForeground) {
7428 if (isForeground && token != null) {
20415 final void updateProcessForegroundLocked(ProcessRecord proc, boolean isForeground, in updateProcessForegroundLocked() argument
20417 if (isForeground != proc.foregroundServices) { in updateProcessForegroundLocked()
20418 proc.foregroundServices = isForeground; in updateProcessForegroundLocked()
20421 if (isForeground) { in updateProcessForegroundLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2858 final boolean isForeground = isUidForegroundOnRestrictBackgroundLocked(uid); in updateRulesForDataUsageRestrictionsLocked()
2866 if (isForeground) { in updateRulesForDataUsageRestrictionsLocked()
2883 + ": isForeground=" +isForeground in updateRulesForDataUsageRestrictionsLocked()
2945 + ": foreground=" + isForeground in updateRulesForDataUsageRestrictionsLocked()
2985 final boolean isForeground = isUidForegroundOnRestrictPowerLocked(uid); in updateRulesForPowerRestrictionsLocked()
2995 if (isForeground) { in updateRulesForPowerRestrictionsLocked()
3010 + ", isForeground=" + isForeground in updateRulesForPowerRestrictionsLocked()
3033 + ": foreground=" + isForeground in updateRulesForPowerRestrictionsLocked()