/frameworks/base/core/java/android/content/pm/ |
D | PackageStats.java | 37 public class PackageStats implements Parcelable { class 82 public static final @android.annotation.NonNull Parcelable.Creator<PackageStats> CREATOR 83 = new Parcelable.Creator<PackageStats>() { 84 public PackageStats createFromParcel(Parcel in) { 85 return new PackageStats(in); 88 public PackageStats[] newArray(int size) { 89 return new PackageStats[size]; 134 public PackageStats(String pkgName) { in PackageStats() method in PackageStats 140 public PackageStats(String pkgName, int userHandle) { in PackageStats() method in PackageStats 145 public PackageStats(Parcel source) { in PackageStats() method in PackageStats [all …]
|
D | IPackageStatsObserver.aidl | 20 import android.content.pm.PackageStats; 30 void onGetStatsCompleted(in PackageStats pStats, boolean succeeded); in onGetStatsCompleted()
|
D | PackageStats.aidl | 20 parcelable PackageStats;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CompilerStats.java | 54 static class PackageStats { class in CompilerStats 67 public PackageStats(String packageName) { in PackageStats() method in CompilerStats.PackageStats 121 private final Map<String, PackageStats> packageStats; 128 public PackageStats getPackageStats(String packageName) { in getPackageStats() 134 public void setPackageStats(String packageName, PackageStats stats) { in setPackageStats() 140 public PackageStats createPackageStats(String packageName) { in createPackageStats() 142 PackageStats newStats = new PackageStats(packageName); in createPackageStats() 148 public PackageStats getOrCreatePackageStats(String packageName) { in getOrCreatePackageStats() 150 PackageStats existingStats = packageStats.get(packageName); in getOrCreatePackageStats() 184 for (PackageStats pkg : packageStats.values()) { in write() [all …]
|
D | Installer.java | 24 import android.content.pm.PackageStats; 245 long[] ceDataInodes, String[] codePaths, PackageStats stats) in getAppSize() 267 public void getUserSize(String uuid, int userId, int flags, int[] appIds, PackageStats stats) in getUserSize()
|
D | PackageDexOptimizer.java | 131 String[] instructionSets, CompilerStats.PackageStats packageStats, in performDexOpt() 157 String[] targetInstructionSets, CompilerStats.PackageStats packageStats, in performDexOptLI() 264 int dexoptFlags, int uid, CompilerStats.PackageStats packageStats, boolean downgrade, in dexOptPath()
|
D | PackageManagerService.java | 182 import android.content.pm.PackageStats; 20131 private boolean getPackageSizeInfoLI(String packageName, int userId, PackageStats stats) { 22558 CompilerStats.PackageStats stats = getCompilerPackageStats(pkg.packageName); 23477 final PackageStats stats = new PackageStats(null, -1); 25320 public CompilerStats.PackageStats getCompilerPackageStats(String pkgName) { 25324 public CompilerStats.PackageStats getOrCreateCompilerPackageStats(PackageParser.Package pkg) { 25328 public CompilerStats.PackageStats getOrCreateCompilerPackageStats(String pkgName) {
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DiskStatsFileLogger.java | 19 import android.content.pm.PackageStats; 70 private List<PackageStats> mPackageStats; 76 List<PackageStats> stats, long systemSize) { in DiskStatsFileLogger() 126 for (Map.Entry<String, PackageStats> entry : filterOnlyPrimaryUser().entrySet()) { in addAppsToJson() 127 PackageStats stat = entry.getValue(); in addAppsToJson() 159 private ArrayMap<String, PackageStats> filterOnlyPrimaryUser() { in filterOnlyPrimaryUser() 160 ArrayMap<String, PackageStats> packageMap = new ArrayMap<>(); in filterOnlyPrimaryUser() 161 for (PackageStats stat : mPackageStats) { in filterOnlyPrimaryUser() 166 PackageStats existingStats = packageMap.get(stat.packageName); in filterOnlyPrimaryUser() 175 packageMap.put(stat.packageName, new PackageStats(stat)); in filterOnlyPrimaryUser()
|
D | AppCollector.java | 26 import android.content.pm.PackageStats; 53 private CompletableFuture<List<PackageStats>> mStats; 78 public List<PackageStats> getPackageStats(long timeoutMillis) { in getPackageStats() 86 List<PackageStats> value = null; in getPackageStats() 117 List<PackageStats> stats = new ArrayList<>(); in handleMessage() 135 PackageStats packageStats = new PackageStats(app.packageName, in handleMessage()
|
D | DiskStatsLoggingService.java | 26 import android.content.pm.PackageStats; 174 List<PackageStats> stats = mCollector.getPackageStats(TIMEOUT_MILLIS); in run() 186 List<PackageStats> stats, long systemSize) { in logToFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | InstallerTest.java | 22 import android.content.pm.PackageStats; 117 final PackageStats stats = new PackageStats(app.packageName); in testGetAppSize() 118 final PackageStats quotaStats = new PackageStats(app.packageName); in testGetAppSize() 139 final PackageStats stats = new PackageStats("android"); in testGetUserSize() 140 final PackageStats quotaStats = new PackageStats("android"); in testGetUserSize() 190 private static void checkEquals(String msg, PackageStats a, PackageStats b) { in checkEquals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsFileLoggerTest.java | 19 import android.content.pm.PackageStats; 42 private ArrayList<PackageStats> mPackages; 99 PackageStats firstPackage = new PackageStats("com.test.app"); in testAppsReported() 105 PackageStats secondPackage = new PackageStats("com.test.app2"); in testAppsReported() 141 PackageStats app = new PackageStats("com.test.app"); in testEmulatedExternalStorageCounted() 159 PackageStats app = new PackageStats("com.test.app"); in testDuplicatePackageNameIsNotMergedAcrossMultipleUsers() 166 PackageStats secondApp = new PackageStats("com.test.app"); in testDuplicatePackageNameIsNotMergedAcrossMultipleUsers()
|
D | AppCollectorTest.java | 26 import android.content.pm.PackageStats; 116 PackageStats stats = new PackageStats("com.test.app"); in testOneValidApp() 133 PackageStats stats = new PackageStats("com.test.app"); in testMultipleUsersOneApp() 134 PackageStats otherStats = new PackageStats("com.test.app"); in testMultipleUsersOneApp()
|
D | DiskStatsLoggingServiceTest.java | 37 import android.content.pm.PackageStats; 128 ArrayList<PackageStats> apps = new ArrayList<>(); in testPopulatedLogTask() 129 PackageStats testApp = new PackageStats("com.test.app"); in testPopulatedLogTask()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 32 import android.content.pm.PackageStats; 286 final PackageStats stats = new PackageStats(TAG); in queryStatsForPackage() 332 final PackageStats stats = new PackageStats(TAG); in queryStatsForUid() 338 final PackageStats manualStats = new PackageStats(TAG); in queryStatsForUid() 360 final PackageStats stats = new PackageStats(TAG); in queryStatsForUser() 365 final PackageStats manualStats = new PackageStats(TAG); in queryStatsForUser() 436 private static void checkEquals(String msg, PackageStats a, PackageStats b) { in checkEquals() 451 private static StorageStats translate(PackageStats stats) { in translate()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 35 import android.content.pm.PackageStats; 519 final PackageStats legacy = new PackageStats(packageName, userId); in requestSize() 719 private long getTotalInternalSize(PackageStats ps) { in getTotalInternalSize() 728 private long getTotalExternalSize(PackageStats ps) { in getTotalExternalSize() 1281 final PackageStats legacy = new PackageStats( in handleMessage() 1335 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) {
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | QuotaController.java | 2716 StateControllerProto.QuotaController.PackageStats.TIMER, predicate); in dumpControllerStateLocked() 2723 StateControllerProto.QuotaController.PackageStats.SAVED_SESSIONS); in dumpControllerStateLocked() 2735 StateControllerProto.QuotaController.PackageStats.EXECUTION_STATS); in dumpControllerStateLocked() 2788 … StateControllerProto.QuotaController.PackageStats.IN_QUOTA_ALARM_LISTENER); in dumpControllerStateLocked()
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 605 message PackageStats { message 618 repeated PackageStats package_stats = 5;
|
/frameworks/base/services/ |
D | art-profile | 10195 PLcom/android/server/pm/CompilerStats$PackageStats;->dump(Lcom/android/internal/util/IndentingPrint… 10196 PLcom/android/server/pm/CompilerStats$PackageStats;->getPackageName()Ljava/lang/String; 10197 HSPLcom/android/server/pm/CompilerStats$PackageStats;->setCompileTime(Ljava/lang/String;J)V 10199 …lerStats;->createPackageStats(Ljava/lang/String;)Lcom/android/server/pm/CompilerStats$PackageStats; 10200 …ats;->getOrCreatePackageStats(Ljava/lang/String;)Lcom/android/server/pm/CompilerStats$PackageStats; 10201 …mpilerStats;->getPackageStats(Ljava/lang/String;)Lcom/android/server/pm/CompilerStats$PackageStats; 10344 …ze(Ljava/lang/String;[Ljava/lang/String;III[J[Ljava/lang/String;Landroid/content/pm/PackageStats;)V 10346 …android/server/pm/Installer;->getUserSize(Ljava/lang/String;II[ILandroid/content/pm/PackageStats;)V 10492 …lang/String;ZLjava/lang/String;IILcom/android/server/pm/CompilerStats$PackageStats;ZLjava/lang/Str… 10502 …arser$Package;[Ljava/lang/String;Lcom/android/server/pm/CompilerStats$PackageStats;Lcom/android/se… [all …]
|
/frameworks/base/config/ |
D | preloaded-classes | 961 android.content.pm.PackageStats$1 962 android.content.pm.PackageStats
|
D | boot-image-profile.txt | 4432 HSPLandroid/content/pm/PackageStats$1;-><init>()V 4433 HPLandroid/content/pm/PackageStats;-><init>(Landroid/content/pm/PackageStats;)V 4434 HSPLandroid/content/pm/PackageStats;-><init>(Ljava/lang/String;)V 33102 Landroid/content/pm/PackageStats$1; 33103 Landroid/content/pm/PackageStats;
|
D | hiddenapi-greylist-max-o.txt | 15963 …tent/pm/IPackageStatsObserver$Stub$Proxy;->onGetStatsCompleted(Landroid/content/pm/PackageStats;Z)V 16999 Landroid/content/pm/PackageStats;-><init>(Ljava/lang/String;I)V
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 8879 public class PackageStats implements android.os.Parcelable { 8880 ctor public PackageStats(java.lang.String); 8881 ctor public PackageStats(android.os.Parcel); 8882 ctor public PackageStats(android.content.pm.PackageStats); 8885 … field public static final android.os.Parcelable.Creator<android.content.pm.PackageStats> CREATOR;
|
/frameworks/base/api/ |
D | current.txt | 11830 @Deprecated public class PackageStats implements android.os.Parcelable { 11831 ctor @Deprecated public PackageStats(String); 11832 ctor @Deprecated public PackageStats(android.os.Parcel); 11833 ctor @Deprecated public PackageStats(android.content.pm.PackageStats); 11836 …NonNull public static final android.os.Parcelable.Creator<android.content.pm.PackageStats> CREATOR;
|