/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcessStatsDetail.java | 56 import com.android.car.developeroptions.applications.ProcStatsEntry.Service; 240 final static Comparator<ProcStatsEntry> sEntryCompare = new Comparator<ProcStatsEntry>() { 242 public int compare(ProcStatsEntry lhs, ProcStatsEntry rhs) { 254 final ArrayList<ProcStatsEntry> entries = new ArrayList<>(); in fillProcessesSection() 256 ProcStatsEntry entry = mApp.mEntries.get(ie); in fillProcessesSection() 266 ProcStatsEntry entry = entries.get(ie); in fillProcessesSection() 294 private static String getProcessName(String appLabel, ProcStatsEntry entry) { in getProcessName() 312 final static Comparator<ProcStatsEntry.Service> sServiceCompare 313 = new Comparator<ProcStatsEntry.Service>() { 315 public int compare(ProcStatsEntry.Service lhs, ProcStatsEntry.Service rhs) { [all …]
|
D | ProcStatsData.java | 173 private void createPkgMap(ArrayList<ProcStatsEntry> procEntries, ProcessDataCollection bgTotals, in createPkgMap() 178 ProcStatsEntry proc = procEntries.get(i); in createPkgMap() 201 ProcStatsEntry proc = entry.mEntries.get(j); in distributeZRam() 210 ProcStatsEntry proc = entry.mEntries.get(j); in distributeZRam() 220 ProcStatsEntry procEntry = new ProcStatsEntry(entry.mPackage, 0, in distributeZRam() 233 ProcStatsEntry osEntry; in createOsEntry() 235 osEntry = new ProcStatsEntry(Utils.OS_PKG, 0, in createOsEntry() 242 osEntry = new ProcStatsEntry(Utils.OS_PKG, 0, in createOsEntry() 258 osEntry = new ProcStatsEntry(Utils.OS_PKG, 0, in createOsEntry() 267 private ArrayList<ProcStatsEntry> getProcs(ProcessDataCollection bgTotals, in getProcs() [all …]
|
D | ProcStatsEntry.java | 36 public final class ProcStatsEntry implements Parcelable { class 59 public ProcStatsEntry(ProcessState proc, String packageName, in ProcStatsEntry() method in ProcStatsEntry 80 public ProcStatsEntry(String pkgName, int uid, String procName, long duration, long mem, in ProcStatsEntry() method in ProcStatsEntry 92 public ProcStatsEntry(Parcel in) { in ProcStatsEntry() method in ProcStatsEntry 124 ProcessStats.ProcessDataCollection runTotals, Comparator<ProcStatsEntry> compare, in evaluateTargetPackage() 143 ArrayList<ProcStatsEntry> subProcs = new ArrayList<>(); in evaluateTargetPackage() 162 subProcs.add(new ProcStatsEntry(pkgProc, pkgState.mPackageName, bgTotals, in evaluateTargetPackage() 184 final ProcStatsEntry subProc = subProcs.get(i); in evaluateTargetPackage() 304 public static final Parcelable.Creator<ProcStatsEntry> CREATOR 305 = new Parcelable.Creator<ProcStatsEntry>() { [all …]
|
D | ProcStatsPackageEntry.java | 39 final ArrayList<ProcStatsEntry> mEntries = new ArrayList<ProcStatsEntry>(); 61 in.readTypedList(mEntries, ProcStatsEntry.CREATOR); in ProcStatsPackageEntry() 82 public void addEntry(ProcStatsEntry entry) { in addEntry() 93 ProcStatsEntry entry = mEntries.get(i); in updateMetrics() 187 public ArrayList<ProcStatsEntry> getEntries() { in getEntries()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsData.java | 173 private void createPkgMap(ArrayList<ProcStatsEntry> procEntries, ProcessDataCollection bgTotals, in createPkgMap() 178 ProcStatsEntry proc = procEntries.get(i); in createPkgMap() 201 ProcStatsEntry proc = entry.mEntries.get(j); in distributeZRam() 210 ProcStatsEntry proc = entry.mEntries.get(j); in distributeZRam() 220 ProcStatsEntry procEntry = new ProcStatsEntry(entry.mPackage, 0, in distributeZRam() 233 ProcStatsEntry osEntry; in createOsEntry() 235 osEntry = new ProcStatsEntry(Utils.OS_PKG, 0, in createOsEntry() 242 osEntry = new ProcStatsEntry(Utils.OS_PKG, 0, in createOsEntry() 258 osEntry = new ProcStatsEntry(Utils.OS_PKG, 0, in createOsEntry() 267 private ArrayList<ProcStatsEntry> getProcs(ProcessDataCollection bgTotals, in getProcs() [all …]
|
D | ProcessStatsDetail.java | 56 import com.android.settings.applications.ProcStatsEntry.Service; 240 final static Comparator<ProcStatsEntry> sEntryCompare = new Comparator<ProcStatsEntry>() { 242 public int compare(ProcStatsEntry lhs, ProcStatsEntry rhs) { 254 final ArrayList<ProcStatsEntry> entries = new ArrayList<>(); in fillProcessesSection() 256 ProcStatsEntry entry = mApp.mEntries.get(ie); in fillProcessesSection() 266 ProcStatsEntry entry = entries.get(ie); in fillProcessesSection() 294 private static String getProcessName(String appLabel, ProcStatsEntry entry) { in getProcessName() 312 final static Comparator<ProcStatsEntry.Service> sServiceCompare 313 = new Comparator<ProcStatsEntry.Service>() { 315 public int compare(ProcStatsEntry.Service lhs, ProcStatsEntry.Service rhs) { [all …]
|
D | ProcStatsEntry.java | 36 public final class ProcStatsEntry implements Parcelable { class 59 public ProcStatsEntry(ProcessState proc, String packageName, in ProcStatsEntry() method in ProcStatsEntry 80 public ProcStatsEntry(String pkgName, int uid, String procName, long duration, long mem, in ProcStatsEntry() method in ProcStatsEntry 92 public ProcStatsEntry(Parcel in) { in ProcStatsEntry() method in ProcStatsEntry 124 ProcessStats.ProcessDataCollection runTotals, Comparator<ProcStatsEntry> compare, in evaluateTargetPackage() 143 ArrayList<ProcStatsEntry> subProcs = new ArrayList<>(); in evaluateTargetPackage() 162 subProcs.add(new ProcStatsEntry(pkgProc, pkgState.mPackageName, bgTotals, in evaluateTargetPackage() 184 final ProcStatsEntry subProc = subProcs.get(i); in evaluateTargetPackage() 304 public static final Parcelable.Creator<ProcStatsEntry> CREATOR 305 = new Parcelable.Creator<ProcStatsEntry>() { [all …]
|
D | ProcStatsPackageEntry.java | 39 final ArrayList<ProcStatsEntry> mEntries = new ArrayList<ProcStatsEntry>(); 61 in.readTypedList(mEntries, ProcStatsEntry.CREATOR); in ProcStatsPackageEntry() 82 public void addEntry(ProcStatsEntry entry) { in addEntry() 93 ProcStatsEntry entry = mEntries.get(i); in updateMetrics() 187 public ArrayList<ProcStatsEntry> getEntries() { in getEntries()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 31 import com.android.car.developeroptions.applications.ProcStatsEntry; 68 for (ProcStatsEntry entry : pkgEntry.getEntries()) { in doInBackground()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 31 import com.android.settings.applications.ProcStatsEntry; 68 for (ProcStatsEntry entry : pkgEntry.getEntries()) { in doInBackground()
|