Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java64 ProcessStats mProcessStats; field in ProcessStatsService
82 mProcessStats = new ProcessStats(true); in ProcessStatsService()
87 if (mProcessStats.evaluateSystemProperties(false)) { in ProcessStatsService()
88 mProcessStats.mFlags |= ProcessStats.FLAG_SYSPROPS; in ProcessStatsService()
90 mProcessStats.evaluateSystemProperties(true); in ProcessStatsService()
112 return mProcessStats.getProcessStateLocked(packageName, uid, versionCode, processName); in getProcessStateLocked()
117 return mProcessStats.getServiceStateLocked(packageName, uid, versionCode, processName, in getServiceStateLocked()
131 if (memFactor != mProcessStats.mMemFactor) { in setMemFactorLocked()
132 if (mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING) { in setMemFactorLocked()
133 mProcessStats.mMemFactorDurations[mProcessStats.mMemFactor] in setMemFactorLocked()
[all …]
DActiveServices.java427 stracker.setStarted(true, mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in startServiceInnerLocked()
473 service.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceLocked()
573 r.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceTokenLocked()
774 stracker.setBound(true, mAm.mProcessStats.getMemFactorLocked(), in bindServiceLocked()
1147 stracker.setExecuting(true, mAm.mProcessStats.getMemFactorLocked(), now); in bumpServiceExecutingLocked()
1297 r.makeRestarting(mAm.mProcessStats.getMemFactorLocked(), now); in scheduleServiceRestartLocked()
1355 r.restartTracker.setRestarting(false, mAm.mProcessStats.getMemFactorLocked(), in clearRestartingIfNeededLocked()
1425 app.addPackage(r.appInfo.packageName, r.appInfo.versionCode, mAm.mProcessStats); in bringUpServiceLocked()
1791 int memFactor = mAm.mProcessStats.getMemFactorLocked(); in bringDownServiceLocked()
1876 s.tracker.setBound(false, mAm.mProcessStats.getMemFactorLocked(), in removeConnectionLocked()
[all …]
DServiceRecord.java334 tracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in getTracker()
352 restartTracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in makeRestarting()
DActivityManagerService.java532 final ProcessStatsService mProcessStats; field in ActivityManagerService
2083 mProcessStats.addSysMemUsageLocked(cachedKb, freeKb, zramKb, kernelKb,
2135 ServiceManager.addService(ProcessStats.SERVICE_NAME, mProcessStats); in setSystemProcess()
2154 app.makeActive(mSystemThread.getApplicationThread(), mProcessStats); in setSystemProcess() local
2323 mProcessStats = new ProcessStatsService(this, new File(systemDir, "procstats")); in ActivityManagerService()
3133 app.addPackage(info.packageName, info.versionCode, mProcessStats); in startProcessLocked()
3162 app.addPackage(info.packageName, info.versionCode, mProcessStats); in startProcessLocked()
6011 app.resetPackageList(mProcessStats); in attachApplicationLocked()
6018 app.makeActive(thread, mProcessStats); in attachApplicationLocked()
6108 app.resetPackageList(mProcessStats); in attachApplicationLocked()
[all …]
DBroadcastQueue.java1037 info.activityInfo.applicationInfo.versionCode, mService.mProcessStats); in processNextBroadcast()
DActivityStackSupervisor.java1382 mService.mProcessStats); in startSpecificActivityLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4449 final ArrayMap<String, Proc> mProcessStats = new ArrayMap<>(); field in BatteryStatsImpl.Uid
4498 return mProcessStats; in getProcessStats()
5178 for (int ip=mProcessStats.size()-1; ip>=0; ip--) { in reset()
5179 Proc proc = mProcessStats.valueAt(ip); in reset()
5182 mProcessStats.removeAt(ip); in reset()
5330 int NP = mProcessStats.size(); in writeToParcelLocked()
5333 out.writeString(mProcessStats.keyAt(ip)); in writeToParcelLocked()
5334 Uid.Proc proc = mProcessStats.valueAt(ip); in writeToParcelLocked()
5515 mProcessStats.clear(); in readFromParcelLocked()
5520 mProcessStats.put(processName, proc); in readFromParcelLocked()
[all …]