Home
last modified time | relevance | path

Searched refs:foregroundActivities (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/
DIProcessObserver.aidl21 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); in onForegroundActivitiesChanged() argument
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java979 boolean foregroundActivities; field in OomAdjuster.ComputeOomAdjWindowCallback
986 void initialize(ProcessRecord app, int adj, boolean foregroundActivities, in initialize() argument
990 this.foregroundActivities = foregroundActivities; in initialize()
1021 foregroundActivities = true; in onVisibleActivity()
1046 foregroundActivities = true; in onPausedActivity()
1078 foregroundActivities = true; in onStoppingActivity()
1194 boolean foregroundActivities = false; in computeOomAdjLocked()
1200 foregroundActivities = true; in computeOomAdjLocked()
1251 foregroundActivities = true; in computeOomAdjLocked()
1274 if (!foregroundActivities && app.getCachedHasActivities()) { in computeOomAdjLocked()
[all …]
DProcessRecord.java1898 int adj, boolean foregroundActivities, int procState, int schedGroup, int appUid, in computeOomAdjFromActivitiesIfNecessary() argument
1903 callback.initialize(this, adj, foregroundActivities, procState, schedGroup, appUid, logUid, in computeOomAdjFromActivitiesIfNecessary()
1909 mCachedForegroundActivities = callback.foregroundActivities; in computeOomAdjFromActivitiesIfNecessary()
DActivityManagerService.java1450 boolean foregroundActivities; field in ActivityManagerService.ProcessChangeItem
3368 + item.uid + ": " + item.foregroundActivities); in dispatchProcessesChanged()
3370 item.foregroundActivities); in dispatchProcessesChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/micdisclosure/
DMicrophoneForegroundServicesObserver.java175 public void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) {}