Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2253 final ProcessServiceRecord psr = r.app.mServices; in setServiceForegroundInnerLocked() local
2283 updateServiceForegroundLocked(psr, false); in setServiceForegroundInnerLocked()
2554 updateServiceForegroundLocked(psr, true); in setServiceForegroundInnerLocked()
2707 updateServiceForegroundLocked(psr, true); in setServiceForegroundInnerLocked()
3532 private void updateServiceForegroundLocked(ProcessServiceRecord psr, boolean oomAdj) { in updateServiceForegroundLocked() argument
3536 for (int i = psr.numberOfRunningServices() - 1; i >= 0; i--) { in updateServiceForegroundLocked()
3537 ServiceRecord sr = psr.getRunningServiceAt(i); in updateServiceForegroundLocked()
3546 mAm.updateProcessForegroundLocked(psr.mApp, anyForeground, in updateServiceForegroundLocked()
3548 psr.setHasReportedForegroundServices(anyForeground); in updateServiceForegroundLocked()
3982 private void updateAllowlistManagerLocked(ProcessServiceRecord psr) { in updateAllowlistManagerLocked() argument
[all …]
DOomAdjuster.java565 final ProcessServiceRecord psr = app.mServices; in updateKeepWarmIfNecessaryForProcessLocked() local
566 for (int j = psr.numberOfRunningServices() - 1; j >= 0; j--) { in updateKeepWarmIfNecessaryForProcessLocked()
567 psr.getRunningServiceAt(j).updateKeepWarmLocked(); in updateKeepWarmIfNecessaryForProcessLocked()
724 final ProcessServiceRecord psr = pr.mServices; in collectReachableProcessesLocked() local
725 for (int i = psr.numberOfConnections() - 1; i >= 0; i--) { in collectReachableProcessesLocked()
726 ConnectionRecord cr = psr.getConnectionAt(i); in collectReachableProcessesLocked()
778 for (int is = psr.numberOfRunningServices() - 1; is >= 0; is--) { in collectReachableProcessesLocked()
779 ServiceRecord s = psr.getRunningServiceAt(is); in collectReachableProcessesLocked()
1135 final ProcessServiceRecord psr = app.mServices; in assignCachedAdjIfNecessary() local
1151 state.setCurAdj(psr.modifyRawOomAdj(targetAdj)); in assignCachedAdjIfNecessary()
[all …]
DOomAdjusterModernImpl.java1180 final ProcessServiceRecord psr = app.mServices; in forEachConnectionLSP() local
1181 for (int i = psr.numberOfConnections() - 1; i >= 0; i--) { in forEachConnectionLSP()
1182 ConnectionRecord cr = psr.getConnectionAt(i); in forEachConnectionLSP()
1197 for (int i = psr.numberOfSdkSandboxConnections() - 1; i >= 0; i--) { in forEachConnectionLSP()
1198 final ConnectionRecord cr = psr.getSdkSandboxConnectionAt(i); in forEachConnectionLSP()
1234 final ProcessServiceRecord psr = app.mServices; in forEachClientConnectionLSP() local
1236 for (int i = psr.numberOfRunningServices() - 1; i >= 0; i--) { in forEachClientConnectionLSP()
1237 final ServiceRecord s = psr.getRunningServiceAt(i); in forEachClientConnectionLSP()
DProcessList.java3851 final ProcessServiceRecord psr = app.mServices;
3852 final boolean hasActivity = app.hasActivitiesOrRecentTasks() || psr.hasClientActivities()
3853 || psr.isTreatedLikeActivity();
3878 final ProcessServiceRecord psr = app.mServices;
3973 if (!app.hasActivitiesOrRecentTasks() && !psr.isTreatedLikeActivity()
3979 + " group=" + psr.getConnectionGroup()
3980 + " importance=" + psr.getConnectionImportance());
4045 for (int j = psr.numberOfConnections() - 1; j >= 0; j--) {
4046 ConnectionRecord cr = psr.getConnectionAt(j);
4335 final ProcessServiceRecord psr = proc.mServices;
[all …]
DServiceRecord.java1254 final ProcessServiceRecord psr = proc.mServices; in setProcess() local
1255 psr.setConnectionService(this); in setProcess()
1256 psr.setConnectionGroup(pendingConnectionGroup); in setProcess()
1257 psr.setConnectionImportance(pendingConnectionImportance); in setProcess()