Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsUi.java115 MemInfo memInfo = mStatsManager.getMemInfo(); in onPreferenceTreeClick() local
116 launchMemoryDetail((SettingsActivity) getActivity(), memInfo, pgp.getEntry(), true); in onPreferenceTreeClick() local
159 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() local
176 double maxMemory = mShowMax ? memInfo.realTotalRam in refreshUi()
177 : memInfo.usedWeight * memInfo.weightToRam; in refreshUi()
182 pref.init(pkg, mPm, maxMemory, memInfo.weightToRam, in refreshUi()
183 memInfo.totalScale, !mShowMax); in refreshUi()
DProcessStatsSummary.java71 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() local
73 double usedRam = memInfo.realUsedRam; in refreshUi()
74 double totalRam = memInfo.realTotalRam; in refreshUi()
75 double freeRam = memInfo.realFreeRam; in refreshUi()
146 MemInfo memInfo = statsManager.getMemInfo(); in setListening() local
148 (long) memInfo.realUsedRam); in setListening()
150 (long) memInfo.realTotalRam); in setListening()
DProcessStatsBase.java133 public static void launchMemoryDetail(SettingsActivity activity, MemInfo memInfo, in launchMemoryDetail() argument
137 args.putDouble(ProcessStatsDetail.EXTRA_WEIGHT_TO_RAM, memInfo.weightToRam); in launchMemoryDetail()
138 args.putLong(ProcessStatsDetail.EXTRA_TOTAL_TIME, memInfo.memTotalTime); in launchMemoryDetail()
140 memInfo.usedWeight * memInfo.weightToRam); in launchMemoryDetail()
141 args.putDouble(ProcessStatsDetail.EXTRA_TOTAL_SCALE, memInfo.totalScale); in launchMemoryDetail()
DProcStatsData.java406 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); in MemInfo() local
408 memInfo); in MemInfo()
409 if (memInfo.hiddenAppThreshold >= realFreeRam) { in MemInfo()
414 realUsedRam += memInfo.hiddenAppThreshold; in MemInfo()
415 realFreeRam -= memInfo.hiddenAppThreshold; in MemInfo()
416 baseCacheRam = memInfo.hiddenAppThreshold; in MemInfo()
DRunningProcessesView.java467 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); in doCreate() local
468 mAm.getMemoryInfo(memInfo); in doCreate()
469 SECONDARY_SERVER_MEM = memInfo.secondaryServerThreshold; in doCreate()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java115 MemInfo memInfo = mStatsManager.getMemInfo(); in onPreferenceTreeClick() local
116 launchMemoryDetail((SettingsActivity) getActivity(), memInfo, pgp.getEntry(), true); in onPreferenceTreeClick() local
159 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() local
176 double maxMemory = mShowMax ? memInfo.realTotalRam in refreshUi()
177 : memInfo.usedWeight * memInfo.weightToRam; in refreshUi()
182 pref.init(pkg, mPm, maxMemory, memInfo.weightToRam, in refreshUi()
183 memInfo.totalScale, !mShowMax); in refreshUi()
DProcessStatsSummary.java71 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() local
73 double usedRam = memInfo.realUsedRam; in refreshUi()
74 double totalRam = memInfo.realTotalRam; in refreshUi()
75 double freeRam = memInfo.realFreeRam; in refreshUi()
146 MemInfo memInfo = statsManager.getMemInfo(); in setListening() local
148 (long) memInfo.realUsedRam); in setListening()
150 (long) memInfo.realTotalRam); in setListening()
DProcessStatsBase.java133 public static void launchMemoryDetail(SettingsActivity activity, MemInfo memInfo, in launchMemoryDetail() argument
137 args.putDouble(ProcessStatsDetail.EXTRA_WEIGHT_TO_RAM, memInfo.weightToRam); in launchMemoryDetail()
138 args.putLong(ProcessStatsDetail.EXTRA_TOTAL_TIME, memInfo.memTotalTime); in launchMemoryDetail()
140 memInfo.usedWeight * memInfo.weightToRam); in launchMemoryDetail()
141 args.putDouble(ProcessStatsDetail.EXTRA_TOTAL_SCALE, memInfo.totalScale); in launchMemoryDetail()
DProcStatsData.java406 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); in MemInfo() local
408 memInfo); in MemInfo()
409 if (memInfo.hiddenAppThreshold >= realFreeRam) { in MemInfo()
414 realUsedRam += memInfo.hiddenAppThreshold; in MemInfo()
415 realFreeRam -= memInfo.hiddenAppThreshold; in MemInfo()
416 baseCacheRam = memInfo.hiddenAppThreshold; in MemInfo()
DRunningProcessesView.java467 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); in doCreate() local
468 mAm.getMemoryInfo(memInfo); in doCreate()
469 SECONDARY_SERVER_MEM = memInfo.secondaryServerThreshold; in doCreate()
/packages/apps/Settings/src/com/android/settings/development/
DMemoryUsagePreferenceController.java63 final ProcStatsData.MemInfo memInfo = mProcStatsData.getMemInfo(); in updateState() local
65 (long) memInfo.realUsedRam); in updateState()
67 (long) memInfo.realTotalRam); in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DMemoryUsagePreferenceController.java63 final ProcStatsData.MemInfo memInfo = mProcStatsData.getMemInfo(); in updateState() local
65 (long) memInfo.realUsedRam); in updateState()
67 (long) memInfo.realTotalRam); in updateState()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java91 ProcStatsData.MemInfo memInfo = statsManager.getMemInfo(); in dumpMemory() local
93 obj.put("used", String.valueOf(memInfo.realUsedRam)); in dumpMemory()
94 obj.put("free", String.valueOf(memInfo.realFreeRam)); in dumpMemory()
95 obj.put("total", String.valueOf(memInfo.realTotalRam)); in dumpMemory()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsDumpService.java91 ProcStatsData.MemInfo memInfo = statsManager.getMemInfo(); in dumpMemory() local
93 obj.put("used", String.valueOf(memInfo.realUsedRam)); in dumpMemory()
94 obj.put("free", String.valueOf(memInfo.realFreeRam)); in dumpMemory()
95 obj.put("total", String.valueOf(memInfo.realTotalRam)); in dumpMemory()