Home
last modified time | relevance | path

Searched refs:memInfo (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java109 MemInfo memInfo = mStatsManager.getMemInfo(); in onPreferenceTreeClick() local
110 launchMemoryDetail((SettingsActivity) getActivity(), memInfo, pgp.getEntry(), true); in onPreferenceTreeClick() local
153 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() local
170 double maxMemory = mShowMax ? memInfo.realTotalRam in refreshUi()
171 : memInfo.usedWeight * memInfo.weightToRam; in refreshUi()
176 pref.init(pkg, mPm, maxMemory, memInfo.weightToRam, in refreshUi()
177 memInfo.totalScale, !mShowMax); in refreshUi()
DProcessStatsSummary.java72 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() local
74 double usedRam = memInfo.realUsedRam; in refreshUi()
75 double totalRam = memInfo.realTotalRam; in refreshUi()
76 double freeRam = memInfo.realFreeRam; in refreshUi()
138 MemInfo memInfo = statsManager.getMemInfo(); in setListening() local
140 (long) memInfo.realUsedRam); in setListening()
142 (long) memInfo.realTotalRam); in setListening()
DProcessStatsBase.java131 public static void launchMemoryDetail(SettingsActivity activity, MemInfo memInfo, in launchMemoryDetail() argument
135 args.putDouble(ProcessStatsDetail.EXTRA_WEIGHT_TO_RAM, memInfo.weightToRam); in launchMemoryDetail()
136 args.putLong(ProcessStatsDetail.EXTRA_TOTAL_TIME, memInfo.memTotalTime); in launchMemoryDetail()
138 memInfo.usedWeight * memInfo.weightToRam); in launchMemoryDetail()
139 args.putDouble(ProcessStatsDetail.EXTRA_TOTAL_SCALE, memInfo.totalScale); in launchMemoryDetail()
DProcStatsData.java401 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); in MemInfo() local
403 memInfo); in MemInfo()
404 if (memInfo.hiddenAppThreshold >= realFreeRam) { in MemInfo()
409 realUsedRam += memInfo.hiddenAppThreshold; in MemInfo()
410 realFreeRam -= memInfo.hiddenAppThreshold; in MemInfo()
411 baseCacheRam = memInfo.hiddenAppThreshold; in MemInfo()
DRunningProcessesView.java462 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); in doCreate() local
463 mAm.getMemoryInfo(memInfo); in doCreate()
464 SECONDARY_SERVER_MEM = memInfo.secondaryServerThreshold; in doCreate()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java64 ProcStatsData.MemInfo memInfo = statsManager.getMemInfo(); in dumpMemory() local
66 obj.put("used", String.valueOf(memInfo.realUsedRam)); in dumpMemory()
67 obj.put("free", String.valueOf(memInfo.realFreeRam)); in dumpMemory()
68 obj.put("total", String.valueOf(memInfo.realTotalRam)); in dumpMemory()