Searched refs:isForeground (Results 1 – 9 of 9) sorted by relevance
669 public final void setForeground(boolean isForeground) { in setForeground() argument
203 void setProcessImportant(in IBinder token, int pid, boolean isForeground, String reason); in setProcessImportant() argument
97 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord239 if (isForeground || foregroundId != 0) { in dump()240 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
1073 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()
523 if (r.isForeground) { in isInterestingToUserLocked()
665 && (sr.isForeground || procIsBoundForeground)) { in handleAppCrashLocked()
7801 public void setProcessImportant(IBinder token, int pid, boolean isForeground, String reason) { in setProcessImportant() argument7809 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) {
182 boolean isForeground = (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in createMenuViews()183 if (!isForeground) { in createMenuViews()
3293 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()