Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/
DAppForegroundHelper.java55 private static boolean isForeground(@Importance int importance) { in isForeground() method in AppForegroundHelper
97 boolean foreground = isForeground(importance); in onAppForegroundChanged()
109 return isForeground(getImportance(uid)); in isAppForeground()
DLocationRequestStatistics.java56 long intervalMs, boolean isForeground) { in startRequesting() argument
64 stats.updateForeground(isForeground); in startRequesting()
93 String providerName, boolean isForeground) { in updateForeground() argument
97 stats.updateForeground(isForeground); in updateForeground()
339 private void updateForeground(boolean isForeground) { in updateForeground() argument
345 mLastForegroundElapsedTimeMs = isForeground ? nowElapsedTimeMs : 0; in updateForeground()
DLocationManagerService.java1737 private void updateForeground(boolean isForeground) { in updateForeground() argument
1738 mIsForegroundUid = isForeground; in updateForeground()
1741 mProvider, isForeground); in updateForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRow.java250 private void createMenuViews(boolean resetState, final boolean isForeground) { in createMenuViews() argument
251 mIsForeground = isForeground; in createMenuViews()
263 if (!isForeground && showSnooze) { in createMenuViews()
279 if (!isForeground && showSnooze) { in createMenuViews()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DUserGridRecyclerView.java147 boolean isForeground = fgUserId == userInfo.id; in createUserRecords()
149 isForeground ? UserRecord.FOREGROUND_USER : UserRecord.BACKGROUND_USER); in createUserRecords()
/frameworks/base/core/java/android/app/
DService.java670 public final void setForeground(boolean isForeground) { in setForeground() argument
DIActivityManager.aidl260 void setProcessImportant(in IBinder token, int pid, boolean isForeground, String reason); in setProcessImportant() argument
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java104 boolean isForeground; // is service currently in foreground mode? field in ServiceRecord
291 if (isForeground || foregroundId != 0) { in dumpDebug()
408 if (isForeground || foregroundId != 0) { in dump()
409 pw.print(prefix); pw.print("isForeground="); pw.print(isForeground); in dump()
DActiveServices.java235 if (r.isForeground) { in stopAllForegroundServicesLocked()
1430 if (!r.isForeground) { in setServiceForegroundInnerLocked()
1452 r.isForeground = true; in setServiceForegroundInnerLocked()
1505 if (r.isForeground) { in setServiceForegroundInnerLocked()
1510 r.isForeground = false; in setServiceForegroundInnerLocked()
1757 if (sr.isForeground || sr.fgRequired) { in updateServiceForegroundLocked()
3142 if (!r.isForeground) { in sendServiceArgsLocked()
3348 if (r.isForeground) { in bringDownServiceLocked()
3366 r.isForeground = false; in bringDownServiceLocked()
4079 info.foreground = r.isForeground; in makeRunningServiceInfoLocked()
[all …]
DAppErrors.java718 && (sr.isForeground || procIsBoundForeground)) {
DProcessRecord.java832 if (r.isForeground) { in isInterestingToUserLocked()
DOomAdjuster.java1505 if (s.isForeground) { in computeOomAdjLocked()
DActivityManagerService.java5955 public void setProcessImportant(IBinder token, int pid, boolean isForeground, String reason) { in setProcessImportant() argument
5964 if (pr == null && isForeground) { in setProcessImportant()
5977 if (isForeground && token != null) { in setProcessImportant()
17868 final void updateProcessForegroundLocked(ProcessRecord proc, boolean isForeground, in updateProcessForegroundLocked() argument
17870 if (isForeground != proc.hasForegroundServices() in updateProcessForegroundLocked()
17872 proc.setHasForegroundServices(isForeground, fgServiceTypes); in updateProcessForegroundLocked()
17875 if (isForeground) { in updateProcessForegroundLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java538 boolean isForeground = (entry.getSbn().getNotification().flags in handleGroupSummaryRemoved()
543 if (isForeground || keepForReply) { in handleGroupSummaryRemoved()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java897 if (isForeground(pid)) { in getClientPriority()
904 protected boolean isForeground(int pid) { in isForeground() method in TunerResourceManagerService
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4295 final boolean isForeground = isUidForegroundOnRestrictBackgroundUL(uid); in updateRulesForDataUsageRestrictionsULInner()
4306 } else if (isForeground) { in updateRulesForDataUsageRestrictionsULInner()
4323 + ": isForeground=" +isForeground in updateRulesForDataUsageRestrictionsULInner()
4382 + ": foreground=" + isForeground in updateRulesForDataUsageRestrictionsULInner()
4459 final boolean isForeground = isUidForegroundOnRestrictPowerUL(uid); in updateRulesForPowerRestrictionsULInner()
4469 if (isForeground) { in updateRulesForPowerRestrictionsULInner()
4484 + ", isForeground=" + isForeground in updateRulesForPowerRestrictionsULInner()
4501 + ": foreground=" + isForeground in updateRulesForPowerRestrictionsULInner()
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java110 protected boolean isForeground(int pid) { in setUp()
/frameworks/base/services/
Dart-profile17271 HSPLcom/android/server/location/AppForegroundHelper;->isForeground(I)Z