Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsUi.java156 List<ProcStatsPackageEntry> pkgEntries = mStatsManager.getEntries(); in refreshUi()
160 ProcStatsPackageEntry pkg = pkgEntries.get(i); in refreshUi()
174 ProcStatsPackageEntry pkg = pkgEntries.get(i); in refreshUi()
184 final static Comparator<ProcStatsPackageEntry> sPackageEntryCompare
185 = new Comparator<ProcStatsPackageEntry>() {
187 public int compare(ProcStatsPackageEntry lhs, ProcStatsPackageEntry rhs) {
197 final static Comparator<ProcStatsPackageEntry> sMaxPackageEntryCompare
198 = new Comparator<ProcStatsPackageEntry>() {
200 public int compare(ProcStatsPackageEntry lhs, ProcStatsPackageEntry rhs) {
DProcStatsPackageEntry.java31 public class ProcStatsPackageEntry implements Parcelable { class
54 public ProcStatsPackageEntry(String pkg, long windowLength) { in ProcStatsPackageEntry() method in ProcStatsPackageEntry
59 public ProcStatsPackageEntry(Parcel in) { in ProcStatsPackageEntry() method in ProcStatsPackageEntry
154 public static final Parcelable.Creator<ProcStatsPackageEntry> CREATOR
155 = new Parcelable.Creator<ProcStatsPackageEntry>() {
156 public ProcStatsPackageEntry createFromParcel(Parcel in) {
157 return new ProcStatsPackageEntry(in);
160 public ProcStatsPackageEntry[] newArray(int size) {
161 return new ProcStatsPackageEntry[size];
DProcStatsData.java76 private ArrayList<ProcStatsPackageEntry> pkgEntries;
122 public List<ProcStatsPackageEntry> getEntries() { in getEntries()
160 ProcStatsPackageEntry osPkg = createOsEntry(bgTotals, runTotals, totalMem, in refreshStats()
168 ArrayMap<String, ProcStatsPackageEntry> pkgMap = new ArrayMap<>(); in createPkgMap()
172 ProcStatsPackageEntry pkg = pkgMap.get(proc.mBestTargetPackage); in createPkgMap()
174 pkg = new ProcStatsPackageEntry(proc.mBestTargetPackage, memTotalTime); in createPkgMap()
191 ProcStatsPackageEntry entry = pkgEntries.get(i); in distributeZRam()
198 ProcStatsPackageEntry entry = pkgEntries.get(i); in distributeZRam()
221 private ProcStatsPackageEntry createOsEntry(ProcessDataCollection bgTotals, in createOsEntry()
224 ProcStatsPackageEntry osPkg = new ProcStatsPackageEntry("os", memTotalTime); in createOsEntry()
DProcessStatsPreference.java30 private ProcStatsPackageEntry mEntry;
36 public void init(ProcStatsPackageEntry entry, PackageManager pm, double maxMemory, in init()
56 public ProcStatsPackageEntry getEntry() { in getEntry()
DProcessStatsDetail.java91 private ProcStatsPackageEntry mApp;
215 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in createDetails()
274 CharSequence frequency = ProcStatsPackageEntry.getFrequency(duration in fillProcessesSection()
374 servicePref.setSummary(ProcStatsPackageEntry.getFrequency( in fillServicesSection()
DProcessStatsBase.java134 ProcStatsPackageEntry entry, boolean includeAppInfo) { in launchMemoryDetail()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppMemoryPreferenceController.java32 import com.android.settings.applications.ProcStatsPackageEntry;
48 private ProcStatsPackageEntry mStats;
50 private class MemoryUpdater extends AsyncTask<Void, Void, ProcStatsPackageEntry> {
53 protected ProcStatsPackageEntry doInBackground(Void... params) { in doInBackground()
67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground()
79 protected void onPostExecute(ProcStatsPackageEntry entry) { in onPostExecute()