/frameworks/base/core/java/android/content/pm/ |
D | PackageStats.java | 38 public class PackageStats implements Parcelable { class 107 public static final @android.annotation.NonNull Parcelable.Creator<PackageStats> CREATOR 108 = new Parcelable.Creator<PackageStats>() { 109 public PackageStats createFromParcel(Parcel in) { 110 return new PackageStats(in); 113 public PackageStats[] newArray(int size) { 114 return new PackageStats[size]; 183 public PackageStats(String pkgName) { in PackageStats() method in PackageStats 189 public PackageStats(String pkgName, int userHandle) { in PackageStats() method in PackageStats 194 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 | MovePackageHelper.java | 37 import android.content.pm.PackageStats; 208 final PackageStats stats = new PackageStats(null, -1); in movePackageInternal() 358 private boolean getPackageSizeInfoLI(String packageName, int userId, PackageStats stats) { in getPackageSizeInfoLI()
|
D | Installer.java | 24 import android.content.pm.PackageStats; 497 long[] ceDataInodes, String[] codePaths, PackageStats stats) in getAppSize() 519 public void getUserSize(String uuid, int userId, int flags, int[] appIds, PackageStats stats) in getUserSize()
|
D | PackageDexOptimizer.java | 220 String[] instructionSets, CompilerStats.PackageStats packageStats, in performDexOpt() 252 String[] targetInstructionSets, CompilerStats.PackageStats packageStats, in performDexOptLI() 469 CompilerStats.PackageStats packageStats, boolean downgrade, String profileName, in dexOptPath()
|
D | DexOptHelper.java | 600 CompilerStats.PackageStats stats = in onDexoptDone()
|
D | PackageManagerService.java | 7466 public CompilerStats.PackageStats getOrCreateCompilerPackageStats(AndroidPackage pkg) { in getOrCreateCompilerPackageStats() 7470 public CompilerStats.PackageStats getOrCreateCompilerPackageStats(String pkgName) { in getOrCreateCompilerPackageStats()
|
/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/PackageManagerServiceTests/server/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/usage/java/com/android/server/usage/ |
D | StorageStatsManagerLocal.java | 20 import android.content.pm.PackageStats; 50 @NonNull PackageStats stats, in augmentStatsForPackageForUser() 67 @NonNull PackageStats stats, int uid, boolean canCallerAccessAllStats); in augmentStatsForUid() 76 void augmentStatsForUser(@NonNull PackageStats stats, @NonNull UserHandle userHandle); in augmentStatsForUser()
|
D | StorageStatsService.java | 45 import android.content.pm.PackageStats; 400 final PackageStats stats = new PackageStats(TAG); in queryStatsForPackage() 443 final PackageStats stats = new PackageStats(TAG); in queryStatsForUid() 470 final PackageStats manualStats = new PackageStats(TAG); in queryStatsForUid() 498 final PackageStats stats = new PackageStats(TAG); in queryStatsForUser() 503 final PackageStats manualStats = new PackageStats(TAG); in queryStatsForUser() 580 private static void checkEquals(String msg, PackageStats a, PackageStats b) { in checkEquals() 595 private static StorageStats translate(PackageStats stats) { in translate() 957 PackageStats stats, String sourceDirName, String packageName) { in computeAppStatsByDataTypes()
|
/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/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobConcurrencyManager.java | 418 private final Pools.Pool<PackageStats> mPkgStatsPool = 421 private final SparseArrayMap<String, PackageStats> mActivePkgStats = new SparseArrayMap<>(); 473 private final Consumer<PackageStats> mPackageStatsStagingCountClearer = 474 PackageStats::resetStagedCount; 555 final PackageStats packageStats = mActivePkgStats.get(UserHandle.getUserId(uid), pkgName); in onAppRemovedLocked() 1150 final PackageStats packageStats = getPkgStatsLocked( in determineAssignmentsLocked() 1475 private PackageStats getPkgStatsLocked(int userId, @NonNull String packageName) { in getPkgStatsLocked() 1476 PackageStats packageStats = mActivePkgStats.get(userId, packageName); in getPkgStatsLocked() 1480 packageStats = new PackageStats(); in getPkgStatsLocked() 1503 final PackageStats packageStats = in isPkgConcurrencyLimitedLocked() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 36 import android.content.pm.PackageStats; 574 final PackageStats legacy = new PackageStats(packageName, userId); in requestSize() 781 private long getTotalInternalSize(PackageStats ps) { in getTotalInternalSize() 790 private long getTotalExternalSize(PackageStats ps) { in getTotalExternalSize() 1388 final PackageStats legacy = new PackageStats( in handleMessage() 1442 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) {
|
/frameworks/base/services/api/ |
D | current.txt | 255 …method public void augmentStatsForPackageForUser(@NonNull android.content.pm.PackageStats, @NonNul… 256 method public void augmentStatsForUid(@NonNull android.content.pm.PackageStats, int, boolean); 257 …method public void augmentStatsForUser(@NonNull android.content.pm.PackageStats, @NonNull android.…
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreManagerService.java | 71 import android.content.pm.PackageStats; 1303 @NonNull PackageStats stats, in augmentStatsForPackageForUser() 1325 public void augmentStatsForUid(@NonNull PackageStats stats, int uid, in augmentStatsForUid() 1347 @NonNull PackageStats stats, @NonNull UserHandle userHandle) { in augmentStatsForUser()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 701 final JobConcurrencyManager.PackageStats packageStats = in testIsPkgConcurrencyLimited_top() 766 final JobConcurrencyManager.PackageStats packageStats = in testIsPkgConcurrencyLimited()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 4749 StateControllerProto.QuotaController.PackageStats.TIMER, predicate); in dumpControllerStateLocked() 4753 StateControllerProto.QuotaController.PackageStats.FG_JOB_TIMER, in dumpControllerStateLocked() 4766 StateControllerProto.QuotaController.PackageStats.SAVED_SESSIONS); in dumpControllerStateLocked() 4778 StateControllerProto.QuotaController.PackageStats.EXECUTION_STATS); in dumpControllerStateLocked()
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 720 message PackageStats { message 735 repeated PackageStats package_stats = 5;
|