Searched refs:psr (Results 1 – 5 of 5) sorted by relevance
3494 psr.mAllowlistManager = false; in updateAllowlistManagerLocked()3507 psr.stopService(service); in stopServiceAndUpdateAllowlistManagerLocked()3508 psr.updateBoundClientUids(); in stopServiceAndUpdateAllowlistManagerLocked()4564 ProcessServiceRecord psr; in bumpServiceExecutingLocked() local4575 psr = r.app.mServices; in bumpServiceExecutingLocked()4577 psr.setExecServicesFg(psr.shouldExecServicesFg() || fg); in bumpServiceExecutingLocked()4583 psr = r.app.mServices; in bumpServiceExecutingLocked()5902 psr.removeConnection(c); in removeConnectionLocked()6498 psr.removeAllConnections(); in killServicesLocked()6578 psr.stopService(sr); in killServicesLocked()[all …]
504 final ProcessServiceRecord psr = app.mServices; in updateKeepWarmIfNecessaryForProcessLocked() local1770 final ProcessServiceRecord psr = app.mServices; in computeOomAdjLSP() local1884 schedGroup = psr.shouldExecServicesFg() in computeOomAdjLSP()2001 if (psr.hasNonShortForegroundServices()) { in computeOomAdjLSP()2019 if (psr.hasTopStartedAlmostPerceptibleServices() in computeOomAdjLSP()2174 for (int is = psr.numberOfRunningServices() - 1; in computeOomAdjLSP()2565 psr.setTreatLikeActivity(true); in computeOomAdjLSP()2747 if (psr.hasClientActivities()) { in computeOomAdjLSP()2751 } else if (psr.isTreatedLikeActivity()) { in computeOomAdjLSP()2788 adj = psr.modifyRawOomAdj(adj); in computeOomAdjLSP()[all …]
3663 final ProcessServiceRecord psr = app.mServices;3665 || psr.isTreatedLikeActivity();3690 final ProcessServiceRecord psr = app.mServices;3858 ConnectionRecord cr = psr.getConnectionAt(j);4147 final ProcessServiceRecord psr = proc.mServices;4149 || psr.isTreatedLikeActivity()) {4163 if (psr.hasClientActivities()) {4170 if (psr.isTreatedLikeActivity()) {4437 final ProcessServiceRecord psr = r.mServices;4463 } else if (psr.hasForegroundServices()) {[all …]
1006 final ProcessServiceRecord psr = proc.mServices; in setProcess() local1007 psr.setConnectionService(this); in setProcess()1008 psr.setConnectionGroup(pendingConnectionGroup); in setProcess()1009 psr.setConnectionImportance(pendingConnectionImportance); in setProcess()
6395 final ProcessServiceRecord psr = pr.mServices; in isProcessInStateToScheduleUserInitiatedJobsLocked() local6396 if (psr != null && psr.hasForegroundServices()) { in isProcessInStateToScheduleUserInitiatedJobsLocked()6397 for (int s = psr.numberOfRunningServices() - 1; s >= 0; --s) { in isProcessInStateToScheduleUserInitiatedJobsLocked()6398 final ServiceRecord sr = psr.getRunningServiceAt(s); in isProcessInStateToScheduleUserInitiatedJobsLocked()16496 final ProcessServiceRecord psr = proc.mServices; in updateProcessForegroundLocked() local16497 final boolean foregroundStateChanged = isForeground != psr.hasForegroundServices(); in updateProcessForegroundLocked()16499 || !psr.areForegroundServiceTypesSame(fgServiceTypes, hasTypeNoneFgs)) { in updateProcessForegroundLocked()16507 psr.setHasForegroundServices(isForeground, fgServiceTypes, hasTypeNoneFgs); in updateProcessForegroundLocked()16533 psr.setReportedForegroundServiceTypes(fgServiceTypes); in updateProcessForegroundLocked()