Home
last modified time | relevance | path

Searched refs:PackageStats (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageStats.java35 public class PackageStats implements Parcelable { class
79 public static final Parcelable.Creator<PackageStats> CREATOR
80 = new Parcelable.Creator<PackageStats>() {
81 public PackageStats createFromParcel(Parcel in) {
82 return new PackageStats(in);
85 public PackageStats[] newArray(int size) {
86 return new PackageStats[size];
131 public PackageStats(String pkgName) { in PackageStats() method in PackageStats
137 public PackageStats(String pkgName, int userHandle) { in PackageStats() method in PackageStats
142 public PackageStats(Parcel source) { in PackageStats() method in PackageStats
[all …]
DIPackageStatsObserver.aidl20 import android.content.pm.PackageStats;
29 void onGetStatsCompleted(in PackageStats pStats, boolean succeeded); in onGetStatsCompleted()
DPackageStats.aidl20 parcelable PackageStats;
/frameworks/base/services/core/java/com/android/server/pm/
DCompilerStats.java54 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 …]
DInstaller.java24 import android.content.pm.PackageStats;
239 long[] ceDataInodes, String[] codePaths, PackageStats stats) in getAppSize()
256 public void getUserSize(String uuid, int userId, int flags, int[] appIds, PackageStats stats) in getUserSize()
DPackageDexOptimizer.java132 String[] instructionSets, CompilerStats.PackageStats packageStats, in performDexOpt()
158 String[] targetInstructionSets, CompilerStats.PackageStats packageStats, in performDexOptLI()
264 int dexoptFlags, int uid, CompilerStats.PackageStats packageStats, boolean downgrade, in dexOptPath()
DPackageManagerService.java182 import android.content.pm.PackageStats;
19528 private boolean getPackageSizeInfoLI(String packageName, int userId, PackageStats stats) {
22005 CompilerStats.PackageStats stats = getCompilerPackageStats(pkg.packageName);
22960 final PackageStats stats = new PackageStats(null, -1);
24403 public CompilerStats.PackageStats getCompilerPackageStats(String pkgName) {
24407 public CompilerStats.PackageStats getOrCreateCompilerPackageStats(PackageParser.Package pkg) {
24411 public CompilerStats.PackageStats getOrCreateCompilerPackageStats(String pkgName) {
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsFileLogger.java19 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()
DAppCollector.java26 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()
DDiskStatsLoggingService.java26 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/
DInstallerTest.java22 import android.content.pm.PackageStats;
116 final PackageStats stats = new PackageStats(app.packageName); in testGetAppSize()
117 final PackageStats quotaStats = new PackageStats(app.packageName); in testGetAppSize()
138 final PackageStats stats = new PackageStats("android"); in testGetUserSize()
139 final PackageStats quotaStats = new PackageStats("android"); in testGetUserSize()
189 private static void checkEquals(String msg, PackageStats a, PackageStats b) { in checkEquals()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsFileLoggerTest.java19 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()
DAppCollectorTest.java26 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()
DDiskStatsLoggingServiceTest.java37 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/
DStorageStatsService.java32 import android.content.pm.PackageStats;
287 final PackageStats stats = new PackageStats(TAG); in queryStatsForPackage()
333 final PackageStats stats = new PackageStats(TAG); in queryStatsForUid()
339 final PackageStats manualStats = new PackageStats(TAG); in queryStatsForUid()
361 final PackageStats stats = new PackageStats(TAG); in queryStatsForUser()
366 final PackageStats manualStats = new PackageStats(TAG); in queryStatsForUser()
437 private static void checkEquals(String msg, PackageStats a, PackageStats b) { in checkEquals()
452 private static StorageStats translate(PackageStats stats) { in translate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java37 import android.content.pm.PackageStats;
397 final PackageStats legacy = new PackageStats(packageName, userId); in requestSize()
587 private long getTotalInternalSize(PackageStats ps) { in getTotalInternalSize()
594 private long getTotalExternalSize(PackageStats ps) { in getTotalExternalSize()
1111 final PackageStats legacy = new PackageStats( in handleMessage()
1162 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) {
/frameworks/base/config/
Dhiddenapi-vendor-list.txt100 Landroid/content/pm/IPackageStatsObserver;->onGetStatsCompleted(Landroid/content/pm/PackageStats;Z)V
Dpreloaded-classes859 android.content.pm.PackageStats
860 android.content.pm.PackageStats$1
Dhiddenapi-public-dex.txt8595 Landroid/content/pm/PackageStats;
8596 Landroid/content/pm/PackageStats;-><init>(Landroid/content/pm/PackageStats;)V
8597 Landroid/content/pm/PackageStats;-><init>(Landroid/os/Parcel;)V
8598 Landroid/content/pm/PackageStats;-><init>(Ljava/lang/String;)V
8599 Landroid/content/pm/PackageStats;->cacheSize:J
8600 Landroid/content/pm/PackageStats;->codeSize:J
8601 Landroid/content/pm/PackageStats;->CREATOR:Landroid/os/Parcelable$Creator;
8602 Landroid/content/pm/PackageStats;->dataSize:J
8603 Landroid/content/pm/PackageStats;->describeContents()I
8604 Landroid/content/pm/PackageStats;->equals(Ljava/lang/Object;)Z
[all …]
Dhiddenapi-light-greylist.txt1774 Landroid/content/pm/PackageStats;->userHandle:I
Dboot-image-profile.txt1831 HPLandroid/content/pm/PackageStats;-><init>(Landroid/content/pm/PackageStats;)V
18186 HSPLandroid/content/pm/IPackageStatsObserver;->onGetStatsCompleted(Landroid/content/pm/PackageStats
18752 HSPLandroid/content/pm/PackageStats$1;-><init>()V
18753 HSPLandroid/content/pm/PackageStats;-><init>(Ljava/lang/String;)V
54725 Landroid/content/pm/PackageStats$1;
54726 Landroid/content/pm/PackageStats;
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
Dandroid-22.txt8879 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/services/
Dart-profile2988 Lcom/android/server/pm/CompilerStats$PackageStats;
/frameworks/base/api/
Dcurrent.txt11406 public deprecated class PackageStats implements android.os.Parcelable {
11407 ctor public PackageStats(java.lang.String);
11408 ctor public PackageStats(android.os.Parcel);
11409 ctor public PackageStats(android.content.pm.PackageStats);
11412 … field public static final android.os.Parcelable.Creator<android.content.pm.PackageStats> CREATOR;