Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/
DLocationRequestStatistics.java28 boolean isForeground) { in startRequesting() argument
36 stats.updateForeground(isForeground); in startRequesting()
59 public void updateForeground(String packageName, String providerName, boolean isForeground) { in updateForeground() argument
63 stats.updateForeground(isForeground); in updateForeground()
152 private void updateForeground(boolean isForeground) { in updateForeground() argument
158 mLastForegroundElapsedTimeMs = isForeground ? nowElapsedTimeMs : 0; in updateForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java105 boolean isForeground = in createUserRecords()
108 false /* isAddUser */, isForeground); in createUserRecords()
335 boolean isForeground) { in UserRecord() argument
339 mIsForeground = isForeground; in UserRecord()
/frameworks/base/core/java/android/app/
DService.java661 public final void setForeground(boolean isForeground) { in setForeground() argument
DIActivityManager.aidl214 void setProcessImportant(in IBinder token, int pid, boolean isForeground, String reason); in setProcessImportant() argument
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java100 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord
268 if (isForeground || foregroundId != 0) { in writeToProto()
371 if (isForeground || foregroundId != 0) { in dump()
372 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
DActiveServices.java192 if (r.isForeground) { in stopForegroundServicesForUidPackage()
1246 if (!r.isForeground) { in setServiceForegroundInnerLocked()
1267 r.isForeground = true; in setServiceForegroundInnerLocked()
1298 if (r.isForeground) { in setServiceForegroundInnerLocked()
1303 r.isForeground = false; in setServiceForegroundInnerLocked()
1354 if (sr.isForeground || sr.fgRequired) { in updateServiceForegroundLocked()
2565 if (!r.isForeground) { in sendServiceArgsLocked()
2757 if (r.isForeground) { in bringDownServiceLocked()
2766 r.isForeground = false; in bringDownServiceLocked()
3464 info.foreground = r.isForeground; in makeRunningServiceInfoLocked()
[all …]
DProcessRecord.java586 if (r.isForeground) { in isInterestingToUserLocked()
DAppErrors.java706 && (sr.isForeground || procIsBoundForeground)) { in handleAppCrashLocked()
DActivityManagerService.java8713 public void setProcessImportant(IBinder token, int pid, boolean isForeground, String reason) { in setProcessImportant() argument
8721 if (pr == null && isForeground) { in setProcessImportant()
8734 if (isForeground && token != null) { in setProcessImportant()
24821 final void updateProcessForegroundLocked(ProcessRecord proc, boolean isForeground, in updateProcessForegroundLocked() argument
24823 if (isForeground != proc.foregroundServices) { in updateProcessForegroundLocked()
24824 proc.foregroundServices = isForeground; in updateProcessForegroundLocked()
24827 if (isForeground) { in updateProcessForegroundLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMenuRow.java196 boolean isForeground = (flags & Notification.FLAG_FOREGROUND_SERVICE) != 0; in createMenuViews()
197 if (!isForeground) { in createMenuViews()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java3986 final boolean isForeground = isUidForegroundOnRestrictBackgroundUL(uid); in updateRulesForDataUsageRestrictionsULInner()
3997 } else if (isForeground) { in updateRulesForDataUsageRestrictionsULInner()
4014 + ": isForeground=" +isForeground in updateRulesForDataUsageRestrictionsULInner()
4073 + ": foreground=" + isForeground in updateRulesForDataUsageRestrictionsULInner()
4146 final boolean isForeground = isUidForegroundOnRestrictPowerUL(uid); in updateRulesForPowerRestrictionsULInner()
4156 if (isForeground) { in updateRulesForPowerRestrictionsULInner()
4171 + ", isForeground=" + isForeground in updateRulesForPowerRestrictionsULInner()
4188 + ": foreground=" + isForeground in updateRulesForPowerRestrictionsULInner()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1916 void updateForeground(boolean isForeground){ in updateForeground() argument
1917 mIsForegroundUid = isForeground; in updateForeground()
1919 mReceiver.mIdentity.mPackageName, mProvider, isForeground); in updateForeground()