Home
last modified time | relevance | path

Searched refs:mProcessStats (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java74 ProcessStats mProcessStats; field in ProcessStatsService
96 mProcessStats = new ProcessStats(true); in ProcessStatsService()
101 if (mProcessStats.evaluateSystemProperties(false)) { in ProcessStatsService()
102 mProcessStats.mFlags |= ProcessStats.FLAG_SYSPROPS; in ProcessStatsService()
104 mProcessStats.evaluateSystemProperties(true); in ProcessStatsService()
127 holder.pkg = mProcessStats.getPackageStateLocked(packageName, uid, versionCode); in updateProcessStateHolderLocked()
128 holder.state = mProcessStats.getProcessStateLocked(holder.pkg, processName); in updateProcessStateHolderLocked()
134 return mProcessStats.getProcessStateLocked(packageName, uid, versionCode, processName); in getProcessStateLocked()
140 return mProcessStats.getServiceStateLocked(packageName, uid, versionCode, processName, in getServiceStateLocked()
158 if (memFactor != mProcessStats.mMemFactor) { in setMemFactorLocked()
[all …]
DActiveServices.java577 stracker.setForeground(true, mAm.mProcessStats.getMemFactorLocked(), in startServiceLocked()
706 stracker.setStarted(true, mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in startServiceInnerLocked()
757 service.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceLocked()
917 r.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceTokenLocked()
1398 mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in setServiceForegroundInnerLocked()
1430 stracker.setForeground(false, mAm.mProcessStats.getMemFactorLocked(), in setServiceForegroundInnerLocked()
1451 stracker.setForeground(false, mAm.mProcessStats.getMemFactorLocked(), in setServiceForegroundInnerLocked()
1760 stracker.setBound(true, mAm.mProcessStats.getMemFactorLocked(), in bindServiceLocked()
2298 stracker.setExecuting(true, mAm.mProcessStats.getMemFactorLocked(), now); in bumpServiceExecutingLocked()
2459 r.makeRestarting(mAm.mProcessStats.getMemFactorLocked(), now); in scheduleServiceRestartLocked()
[all …]
DOomAdjuster.java539 mService.mProcessStats.isMemFactorLowered()); in updateOomAdjLocked()
619 if (mService.mProcessStats.shouldWriteNowLocked(now)) { in updateOomAdjLocked()
621 mService.mProcessStats)); in updateOomAdjLocked()
625 mService.mProcessStats.updateTrackingAssociationsLocked(mAdjSeq, now); in updateOomAdjLocked()
1922 mService.mProcessStats.getMemFactorLocked(), now); in applyOomAdjLocked()
DServiceRecord.java514 tracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in getTracker()
532 restartTracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in makeRestarting()
DActivityManagerService.java678 final ProcessStatsService mProcessStats; field in ActivityManagerService
1959 mProcessStats.addSysMemUsageLocked(cachedKb, freeKb, zramKb, kernelKb,
2055 ServiceManager.addService(ProcessStats.SERVICE_NAME, mProcessStats); in setSystemProcess()
2080 app.makeActive(mSystemThread.getApplicationThread(), mProcessStats); in setSystemProcess() local
2443 mProcessStats = null; in ActivityManagerService()
2536 mProcessStats = new ProcessStatsService(this, new File(systemDir, "procstats")); in ActivityManagerService()
4875 app.resetPackageList(mProcessStats); in attachApplicationLocked()
5111 app.makeActive(thread, mProcessStats); in attachApplicationLocked()
5122 app.resetPackageList(mProcessStats); in attachApplicationLocked()
6486 cpi.applicationInfo.longVersionCode, mProcessStats); in generateApplicationProvidersLocked()
[all …]
DProcessList.java2032 app.addPackage(info.packageName, info.longVersionCode, mService.mProcessStats);
2060 app.addPackage(info.packageName, info.longVersionCode, mService.mProcessStats);
DProcessRecord.java1335 addPackage(packageName, versionCode, mService.mProcessStats); in onStartActivity()
DBroadcastQueue.java1615 info.activityInfo.applicationInfo.longVersionCode, mService.mProcessStats); in processNextBroadcastLocked()
/frameworks/base/core/java/com/android/internal/app/procstats/
DAssociationState.java39 private final ProcessStats mProcessStats; field in AssociationState
92 mProcessStats.mTrackingAssociations.add(this); in trackProcState()
149 mDurations = new DurationsTable(mProcessStats.mTableData); in makeDurations()
159 final ArrayList<SourceState> list = mProcessStats.mTrackingAssociations; in stopTracking()
250 mProcessStats = processStats; in AssociationState()
DProcessStats.java2207 public final ProcessStats mProcessStats; field in ProcessStats.PackageState
2216 mProcessStats = procStats; in PackageState()
2231 as = new AssociationState(mProcessStats, this, className, proc.getName(), in getAssociationStateLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java6716 final ArrayMap<String, Proc> mProcessStats = new ArrayMap<>(); field in BatteryStatsImpl.Uid
6937 return mProcessStats; in getProcessStats()
7902 for (int ip = mProcessStats.size() - 1; ip >= 0; ip--) { in reset()
7903 Proc proc = mProcessStats.valueAt(ip); in reset()
7906 mProcessStats.clear(); in reset()
8020 for (int ip= mProcessStats.size() - 1; ip >= 0; ip--) { in detachFromTimeBase()
8021 Proc proc = mProcessStats.valueAt(ip); in detachFromTimeBase()
8024 mProcessStats.clear(); in detachFromTimeBase()
8096 int NP = mProcessStats.size(); in writeToParcelLocked()
8099 out.writeString(mProcessStats.keyAt(ip)); in writeToParcelLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1615 private IProcessStats mProcessStats = field in StatsCompanionService
1624 long highWaterMark = mProcessStats.getCommittedStats( in pullProcessStats()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88370 Lcom/android/internal/os/BatteryStatsImpl$Uid;->mProcessStats:Landroid/util/ArrayMap;