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.java564 stracker.setForeground(true, mAm.mProcessStats.getMemFactorLocked(), in startServiceLocked()
693 stracker.setStarted(true, mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in startServiceInnerLocked()
744 service.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceLocked()
904 r.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceTokenLocked()
1374 mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in setServiceForegroundInnerLocked()
1406 stracker.setForeground(false, mAm.mProcessStats.getMemFactorLocked(), in setServiceForegroundInnerLocked()
1427 stracker.setForeground(false, mAm.mProcessStats.getMemFactorLocked(), in setServiceForegroundInnerLocked()
1736 stracker.setBound(true, mAm.mProcessStats.getMemFactorLocked(), in bindServiceLocked()
2274 stracker.setExecuting(true, mAm.mProcessStats.getMemFactorLocked(), now); in bumpServiceExecutingLocked()
2435 r.makeRestarting(mAm.mProcessStats.getMemFactorLocked(), now); in scheduleServiceRestartLocked()
[all …]
DOomAdjuster.java535 mService.mProcessStats.isMemFactorLowered()); in updateOomAdjLocked()
615 if (mService.mProcessStats.shouldWriteNowLocked(now)) { in updateOomAdjLocked()
617 mService.mProcessStats)); in updateOomAdjLocked()
621 mService.mProcessStats.updateTrackingAssociationsLocked(mAdjSeq, now); in updateOomAdjLocked()
1918 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.java669 final ProcessStatsService mProcessStats; field in ActivityManagerService
1948 mProcessStats.addSysMemUsageLocked(cachedKb, freeKb, zramKb, kernelKb,
2044 ServiceManager.addService(ProcessStats.SERVICE_NAME, mProcessStats); in setSystemProcess()
2069 app.makeActive(mSystemThread.getApplicationThread(), mProcessStats); in setSystemProcess() local
2417 mProcessStats = null; in ActivityManagerService()
2508 mProcessStats = new ProcessStatsService(this, new File(systemDir, "procstats")); in ActivityManagerService()
4851 app.resetPackageList(mProcessStats); in attachApplicationLocked()
5079 app.makeActive(thread, mProcessStats); in attachApplicationLocked()
5090 app.resetPackageList(mProcessStats); in attachApplicationLocked()
6457 cpi.applicationInfo.longVersionCode, mProcessStats); in generateApplicationProvidersLocked()
[all …]
DProcessList.java1906 app.addPackage(info.packageName, info.longVersionCode, mService.mProcessStats);
1934 app.addPackage(info.packageName, info.longVersionCode, mService.mProcessStats);
DProcessRecord.java1332 addPackage(packageName, versionCode, mService.mProcessStats); in onStartActivity()
DBroadcastQueue.java1608 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.java6703 final ArrayMap<String, Proc> mProcessStats = new ArrayMap<>(); field in BatteryStatsImpl.Uid
6924 return mProcessStats; in getProcessStats()
7889 for (int ip = mProcessStats.size() - 1; ip >= 0; ip--) { in reset()
7890 Proc proc = mProcessStats.valueAt(ip); in reset()
7893 mProcessStats.clear(); in reset()
8007 for (int ip= mProcessStats.size() - 1; ip >= 0; ip--) { in detachFromTimeBase()
8008 Proc proc = mProcessStats.valueAt(ip); in detachFromTimeBase()
8011 mProcessStats.clear(); in detachFromTimeBase()
8083 int NP = mProcessStats.size(); in writeToParcelLocked()
8086 out.writeString(mProcessStats.keyAt(ip)); in writeToParcelLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1614 private IProcessStats mProcessStats = field in StatsCompanionService
1623 long highWaterMark = mProcessStats.getCommittedStats( in pullProcessStats()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt94732 Lcom/android/internal/os/BatteryStatsImpl$Uid;->mProcessStats:Landroid/util/ArrayMap;