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.java69 ProcessStats mProcessStats; field in ProcessStatsService
91 mProcessStats = new ProcessStats(true); in ProcessStatsService()
96 if (mProcessStats.evaluateSystemProperties(false)) { in ProcessStatsService()
97 mProcessStats.mFlags |= ProcessStats.FLAG_SYSPROPS; in ProcessStatsService()
99 mProcessStats.evaluateSystemProperties(true); in ProcessStatsService()
121 return mProcessStats.getProcessStateLocked(packageName, uid, versionCode, processName); in getProcessStateLocked()
126 return mProcessStats.getServiceStateLocked(packageName, uid, versionCode, processName, in getServiceStateLocked()
143 if (memFactor != mProcessStats.mMemFactor) { in setMemFactorLocked()
144 if (mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING) { in setMemFactorLocked()
145 mProcessStats.mMemFactorDurations[mProcessStats.mMemFactor] in setMemFactorLocked()
[all …]
DActiveServices.java530 stracker.setStarted(true, mAm.mProcessStats.getMemFactorLocked(), r.lastActivity); in startServiceInnerLocked()
576 service.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceLocked()
717 r.tracker.setStarted(false, mAm.mProcessStats.getMemFactorLocked(), in stopServiceTokenLocked()
1388 stracker.setBound(true, mAm.mProcessStats.getMemFactorLocked(), in bindServiceLocked()
1822 stracker.setExecuting(true, mAm.mProcessStats.getMemFactorLocked(), now); in bumpServiceExecutingLocked()
1978 r.makeRestarting(mAm.mProcessStats.getMemFactorLocked(), now); in scheduleServiceRestartLocked()
2045 r.restartTracker.setRestarting(false, mAm.mProcessStats.getMemFactorLocked(), in clearRestartingIfNeededLocked()
2118 app.addPackage(r.appInfo.packageName, r.appInfo.versionCode, mAm.mProcessStats); in bringUpServiceLocked()
2558 int memFactor = mAm.mProcessStats.getMemFactorLocked(); in bringDownServiceLocked()
2654 s.tracker.setBound(false, mAm.mProcessStats.getMemFactorLocked(), in removeConnectionLocked()
[all …]
DServiceRecord.java342 tracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in getTracker()
360 restartTracker = ams.mProcessStats.getServiceStateLocked(serviceInfo.packageName, in makeRestarting()
DActivityManagerService.java790 final ProcessStatsService mProcessStats; field in ActivityManagerService
2505 mProcessStats.addSysMemUsageLocked(cachedKb, freeKb, zramKb, kernelKb,
2557 ServiceManager.addService(ProcessStats.SERVICE_NAME, mProcessStats); in setSystemProcess()
2576 app.makeActive(mSystemThread.getApplicationThread(), mProcessStats); in setSystemProcess() local
2705 mProcessStats = null; in ActivityManagerService()
2771 mProcessStats = new ProcessStatsService(this, new File(systemDir, "procstats")); in ActivityManagerService()
3703 app.addPackage(info.packageName, info.versionCode, mProcessStats); in startProcessLocked()
3732 app.addPackage(info.packageName, info.versionCode, mProcessStats); in startProcessLocked()
6768 app.resetPackageList(mProcessStats); in attachApplicationLocked()
6775 app.makeActive(thread, mProcessStats); in attachApplicationLocked()
[all …]
DBroadcastQueue.java1324 info.activityInfo.applicationInfo.versionCode, mService.mProcessStats); in processNextBroadcast()
DActivityStackSupervisor.java1569 mService.mProcessStats); in startSpecificActivityLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5696 final ArrayMap<String, Proc> mProcessStats = new ArrayMap<>(); field in BatteryStatsImpl.Uid
5816 return mProcessStats; in getProcessStats()
6701 for (int ip=mProcessStats.size()-1; ip>=0; ip--) { in reset()
6702 Proc proc = mProcessStats.valueAt(ip); in reset()
6705 mProcessStats.clear(); in reset()
6894 int NP = mProcessStats.size(); in writeToParcelLocked()
6897 out.writeString(mProcessStats.keyAt(ip)); in writeToParcelLocked()
6898 Uid.Proc proc = mProcessStats.valueAt(ip); in writeToParcelLocked()
7146 mProcessStats.clear(); in readFromParcelLocked()
7151 mProcessStats.put(processName, proc); in readFromParcelLocked()
[all …]