/frameworks/base/services/core/java/com/android/server/pm/ |
D | CompilerStats.java | 121 private final Map<String, PackageStats> packageStats; field in CompilerStats 125 packageStats = new HashMap<>(); in CompilerStats() 129 synchronized (packageStats) { in getPackageStats() 130 return packageStats.get(packageName); in getPackageStats() 135 synchronized (packageStats) { in setPackageStats() 136 packageStats.put(packageName, stats); in setPackageStats() 141 synchronized (packageStats) { in createPackageStats() 143 packageStats.put(packageName, newStats); in createPackageStats() 149 synchronized (packageStats) { in getOrCreatePackageStats() 150 PackageStats existingStats = packageStats.get(packageName); in getOrCreatePackageStats() [all …]
|
D | PackageDexOptimizer.java | 137 String[] instructionSets, CompilerStats.PackageStats packageStats, in performDexOpt() argument 154 packageStats, packageUseInfo, options); in performDexOpt() 167 String[] targetInstructionSets, CompilerStats.PackageStats packageStats, in performDexOptLI() argument 253 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI() 278 int dexoptFlags, int uid, CompilerStats.PackageStats packageStats, boolean downgrade, in dexOptPath() argument 308 if (packageStats != null) { in dexOptPath() 310 packageStats.setCompileTime(path, (int)(endTime - startTime)); in dexOptPath()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverListControllerTest.java | 98 UsageStats packageStats = initStats(packageName, action, annotation, initialCount); in reportChooserSelection() local 101 slices.add(packageStats); in reportChooserSelection() 160 UsageStats packageStats = new UsageStats(); in initStats() local 161 packageStats.mPackageName = packageName; in initStats() 162 packageStats.mChooserCounts = chooserCounts; in initStats() 163 return packageStats; in initStats() 184 UsageStats packageStats = stats.get(packageName); in getCount() local 185 if (packageStats == null || packageStats.mChooserCounts == null in getCount() 186 || packageStats.mChooserCounts.get(action) == null) { in getCount() 189 return packageStats.mChooserCounts.get(action).getOrDefault(annotation, 0); in getCount()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | AppCollector.java | 135 PackageStats packageStats = new PackageStats(app.packageName, in handleMessage() local 137 packageStats.cacheSize = storageStats.getCacheBytes(); in handleMessage() 138 packageStats.codeSize = storageStats.getAppBytes(); in handleMessage() 139 packageStats.dataSize = storageStats.getDataBytes(); in handleMessage() 140 stats.add(packageStats); in handleMessage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | IntervalStatsTests.java | 139 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES); in testObfuscation() 158 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES); in testDeobfuscation() 168 intervalStats.packageStats.clear(); in testBadDataOnDeobfuscation() 177 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES - 1); in testBadDataOnDeobfuscation() 187 intervalStats.packageStats.clear(); in testBadPackageDataOnDeobfuscation() 196 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES); in testBadPackageDataOnDeobfuscation()
|
D | UsageStatsDatabaseTest.java | 342 String[] usageKey1 = stats1.packageStats.keySet().toArray(new String[0]); in compareIntervalStats() 343 String[] usageKey2 = stats2.packageStats.keySet().toArray(new String[0]); in compareIntervalStats() 345 UsageStats usageStats1 = stats1.packageStats.get(usageKey1[i]); in compareIntervalStats() 346 UsageStats usageStats2 = stats2.packageStats.get(usageKey2[i]); in compareIntervalStats() 616 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageNotRetained() 644 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageDataIsRemoved() 664 if (!stat.packageStats.containsAll(installedPackages)) { in verifyPackageDataIsNotRemoved() 695 final Set<String> installedPackages = mIntervalStats.packageStats.keySet(); in testPackageDataIsRemoved()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 73 public final ArrayMap<String, UsageStats> packageStats = new ArrayMap<>(); field in IntervalStats 131 UsageStats usageStats = packageStats.get(packageName); in getOrCreateUsageStats() 137 packageStats.put(usageStats.mPackageName, usageStats); in getOrCreateUsageStats() 313 final int size = packageStats.size(); in update() 315 UsageStats usageStats = packageStats.valueAt(i); in update() 500 packageStats.put(usageStats.mPackageName, usageStats); in deobfuscateUsageStats() 609 final int usageStatsSize = packageStats.size(); in obfuscateUsageStatsData() 611 final String packageName = packageStats.keyAt(statsIndex); in obfuscateUsageStatsData() 612 final UsageStats usageStats = packageStats.valueAt(statsIndex); in obfuscateUsageStatsData()
|
D | UsageStatsDatabase.java | 655 for (int i = stats.packageStats.size() - 1; i >= 0; i--) { in pruneStats() 656 final UsageStats usageStats = stats.packageStats.valueAt(i); in pruneStats() 659 stats.packageStats.removeAt(i); in pruneStats() 768 final UsageStats usageStats = stats.packageStats.get(removedPackage); in filterStats() 770 stats.packageStats.remove(removedPackage); in filterStats() 971 final int pkgCount = stats.packageStats.size(); in pruneChooserCountsOlderThan() 973 UsageStats pkgStats = stats.packageStats.valueAt(i); in pruneChooserCountsOlderThan()
|
D | UserUsageStatsService.java | 366 accResult.addAll(stats.packageStats.values()); 370 final int statCount = stats.packageStats.size(); 372 accResult.add(new UsageStats(stats.packageStats.valueAt(i))); 635 final int pkgCount = stat.packageStats.size(); in rolloverStats() 637 final UsageStats pkgStats = stat.packageStats.valueAt(i); in rolloverStats() 989 final ArrayMap<String, UsageStats> pkgStats = stats.packageStats; in printIntervalStats()
|
D | UsageStatsProto.java | 505 statsOut.packageStats.clear(); in read() 609 final int statsCount = stats.packageStats.size(); in write() 613 stats.packageStats.valueAt(i)); in write()
|
D | UsageStatsXmlV1.java | 254 statsOut.packageStats.clear(); in read()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | UsageStatsQueryHelper.java | 157 AppUsageStatsData packageStats = aggregatedStats.computeIfAbsent(packageName, in queryAppUsageStats() local 159 packageStats.incrementChosenCountBy(sumChooserCounts(stat.mChooserCounts)); in queryAppUsageStats() 160 packageStats.incrementLaunchCountBy(stat.getAppLaunchCount()); in queryAppUsageStats()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | UsageStatsQueryHelperTest.java | 261 UsageStats packageStats = new UsageStats(); in createUsageStats() local 262 packageStats.mPackageName = packageName; in createUsageStats() 263 packageStats.mAppLaunchCount = launchCount; in createUsageStats() 264 packageStats.mChooserCounts = chooserCounts; in createUsageStats() 265 return packageStats; in createUsageStats()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4409 final ArrayMap<String, ? extends BatteryStats.Uid.Pkg> packageStats in dumpCheckinLocked() local 4411 for (int ipkg=packageStats.size()-1; ipkg>=0; ipkg--) { in dumpCheckinLocked() 4412 final Uid.Pkg ps = packageStats.valueAt(ipkg); in dumpCheckinLocked() 4430 packageStats.keyAt(ipkg), // Apk in dumpCheckinLocked() 6130 final ArrayMap<String, ? extends BatteryStats.Uid.Pkg> packageStats in dumpLocked() 6132 for (int ipkg=packageStats.size()-1; ipkg>=0; ipkg--) { in dumpLocked() 6133 pw.print(prefix); pw.print(" Apk "); pw.print(packageStats.keyAt(ipkg)); in dumpLocked() 6136 final Uid.Pkg ps = packageStats.valueAt(ipkg); in dumpLocked() 7317 final ArrayMap<String, ? extends BatteryStats.Uid.Pkg> packageStats = in dumpProtoAppsLocked() local 7319 for (int ipkg = packageStats.size() - 1; ipkg >= 0; --ipkg) { in dumpProtoAppsLocked() [all …]
|
/frameworks/opt/setupwizard/tools/docs/ |
D | doclava.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/ccil/
org/ ... |