Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DService.java669 public final void setForeground(boolean isForeground) { in setForeground() argument
DIActivityManager.aidl203 void setProcessImportant(in IBinder token, int pid, boolean isForeground, String reason); in setProcessImportant() argument
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java97 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord
239 if (isForeground || foregroundId != 0) { in dump()
240 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
DActiveServices.java1073 if (!r.isForeground) { in setServiceForegroundInnerLocked()
1094 r.isForeground = true; in setServiceForegroundInnerLocked()
1104 if (r.isForeground) { in setServiceForegroundInnerLocked()
1109 r.isForeground = false; in setServiceForegroundInnerLocked()
1154 if (sr.isForeground || sr.fgRequired) { in updateServiceForegroundLocked()
2321 if (!r.isForeground) { in sendServiceArgsLocked()
2509 if (r.isForeground) { in bringDownServiceLocked()
2512 r.isForeground = false; in bringDownServiceLocked()
3209 info.foreground = r.isForeground; in makeRunningServiceInfoLocked()
3215 if (r.isForeground) { in makeRunningServiceInfoLocked()
DProcessRecord.java523 if (r.isForeground) { in isInterestingToUserLocked()
DAppErrors.java665 && (sr.isForeground || procIsBoundForeground)) { in handleAppCrashLocked()
DActivityManagerService.java7801 public void setProcessImportant(IBinder token, int pid, boolean isForeground, String reason) { in setProcessImportant() argument
7809 if (pr == null && isForeground) { in setProcessImportant()
7822 if (isForeground && token != null) { in setProcessImportant()
22301 final void updateProcessForegroundLocked(ProcessRecord proc, boolean isForeground,
22303 if (isForeground != proc.foregroundServices) {
22304 proc.foregroundServices = isForeground;
22307 if (isForeground) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java182 boolean isForeground = (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in createMenuViews()
183 if (!isForeground) { in createMenuViews()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java3293 final boolean isForeground = isUidForegroundOnRestrictBackgroundUL(uid); in updateRulesForDataUsageRestrictionsULInner()
3301 if (isForeground) { in updateRulesForDataUsageRestrictionsULInner()
3318 + ": isForeground=" +isForeground in updateRulesForDataUsageRestrictionsULInner()
3376 + ": foreground=" + isForeground in updateRulesForDataUsageRestrictionsULInner()
3448 final boolean isForeground = isUidForegroundOnRestrictPowerUL(uid); in updateRulesForPowerRestrictionsULInner()
3458 if (isForeground) { in updateRulesForPowerRestrictionsULInner()
3473 + ", isForeground=" + isForeground in updateRulesForPowerRestrictionsULInner()
3490 + ": foreground=" + isForeground in updateRulesForPowerRestrictionsULInner()