/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 | 220 String[] instructionSets, CompilerStats.PackageStats packageStats, in performDexOpt() argument 238 packageStats, packageUseInfo, options); in performDexOpt() 252 String[] targetInstructionSets, CompilerStats.PackageStats packageStats, in performDexOptLI() argument 384 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI() 387 if (packageStats != null) { in performDexOptLI() 396 packageStats.getCompileTime(path), in performDexOptLI() 469 CompilerStats.PackageStats packageStats, boolean downgrade, String profileName, in dexOptPath() argument 500 if (packageStats != null) { in dexOptPath() 502 packageStats.setCompileTime(path, (int)(endTime - startTime)); in dexOptPath()
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/ |
D | HostStubGenStats.kt | 70 val packageStats = stats.getOrPut(packageName) { Stats() } in <lambda>() constant 71 val classStats = packageStats.children.getOrPut(className) { Stats() } in <lambda>() 74 packageStats.supported += 1 in <lambda>() 77 packageStats.total += 1 in <lambda>() 83 stats.toSortedMap().forEach { (packageName, packageStats) -> in <lambda>() method 84 if (packageStats.supported > 0) { in <lambda>() 85 packageStats.children.toSortedMap().forEach { (className, classStats) -> in <lambda>()
|
/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/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverListControllerTest.java | 108 UsageStats packageStats = initStats(packageName, action, annotation, initialCount); in reportChooserSelection() local 111 slices.add(packageStats); in reportChooserSelection() 293 UsageStats packageStats = new UsageStats(); in initStats() local 294 packageStats.mPackageName = packageName; in initStats() 295 packageStats.mChooserCounts = chooserCounts; in initStats() 296 return packageStats; in initStats() 335 UsageStats packageStats = stats.get(packageName); in getCount() local 336 if (packageStats == null || packageStats.mChooserCounts == null in getCount() 337 || packageStats.mChooserCounts.get(action) == null) { in getCount() 340 return packageStats.mChooserCounts.get(action).getOrDefault(annotation, 0); in getCount()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | IntervalStatsTests.java | 153 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES); in testObfuscation() 172 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES); in testDeobfuscation() 182 intervalStats.packageStats.clear(); in testBadDataOnDeobfuscation() 191 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES - 1); in testBadDataOnDeobfuscation() 201 intervalStats.packageStats.clear(); in testBadPackageDataOnDeobfuscation() 210 assertEquals(intervalStats.packageStats.size(), NUMBER_OF_PACKAGES); in testBadPackageDataOnDeobfuscation()
|
D | UsageStatsDatabaseTest.java | 370 String[] usageKey1 = stats1.packageStats.keySet().toArray(new String[0]); in compareIntervalStats() 371 String[] usageKey2 = stats2.packageStats.keySet().toArray(new String[0]); in compareIntervalStats() 373 UsageStats usageStats1 = stats1.packageStats.get(usageKey1[i]); in compareIntervalStats() 374 UsageStats usageStats2 = stats2.packageStats.get(usageKey2[i]); in compareIntervalStats() 469 Set<String> prevDBApps = mIntervalStats.packageStats.keySet(); 652 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageNotRetained() 680 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageDataIsRemoved() 700 if (!stat.packageStats.containsAll(installedPackages)) { in verifyPackageDataIsNotRemoved() 731 final Set<String> installedPackages = mIntervalStats.packageStats.keySet(); in testPackageDataIsRemoved()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 701 final JobConcurrencyManager.PackageStats packageStats = in testIsPkgConcurrencyLimited_top() local 704 packageStats.numStagedEj = mJobConcurrencyManager.getPackageConcurrencyLimitEj(); in testIsPkgConcurrencyLimited_top() 705 packageStats.numStagedRegular = mJobConcurrencyManager.getPackageConcurrencyLimitRegular(); in testIsPkgConcurrencyLimited_top() 706 packageStats.numRunningEj = 0; in testIsPkgConcurrencyLimited_top() 707 packageStats.numRunningRegular = 0; in testIsPkgConcurrencyLimited_top() 710 packageStats.numStagedEj = 0; in testIsPkgConcurrencyLimited_top() 711 packageStats.numStagedRegular = 0; in testIsPkgConcurrencyLimited_top() 712 packageStats.numRunningEj = mJobConcurrencyManager.getPackageConcurrencyLimitEj(); in testIsPkgConcurrencyLimited_top() 713 packageStats.numRunningRegular = mJobConcurrencyManager.getPackageConcurrencyLimitRegular(); in testIsPkgConcurrencyLimited_top() 766 final JobConcurrencyManager.PackageStats packageStats = in testIsPkgConcurrencyLimited() local [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobConcurrencyManager.java | 555 final PackageStats packageStats = mActivePkgStats.get(UserHandle.getUserId(uid), pkgName); in onAppRemovedLocked() local 556 if (packageStats != null) { in onAppRemovedLocked() 557 if (packageStats.numRunningEj > 0 || packageStats.numRunningRegular > 0) { in onAppRemovedLocked() 1150 final PackageStats packageStats = getPkgStatsLocked( in determineAssignmentsLocked() local 1163 packageStats.adjustStagedCount(true, nextPending.shouldTreatAsExpeditedJob()); in determineAssignmentsLocked() 1170 packageStats); in determineAssignmentsLocked() local 1476 PackageStats packageStats = mActivePkgStats.get(userId, packageName); in getPkgStatsLocked() local 1477 if (packageStats == null) { in getPkgStatsLocked() 1478 packageStats = mPkgStatsPool.acquire(); in getPkgStatsLocked() 1479 if (packageStats == null) { in getPkgStatsLocked() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 77 public final ArrayMap<String, UsageStats> packageStats = new ArrayMap<>(); field in IntervalStats 135 UsageStats usageStats = packageStats.get(packageName); in getOrCreateUsageStats() 141 packageStats.put(usageStats.mPackageName, usageStats); in getOrCreateUsageStats() 317 final int size = packageStats.size(); in update() 319 UsageStats usageStats = packageStats.valueAt(i); in update() 501 packageStats.put(usageStats.mPackageName, usageStats); in deobfuscateUsageStats() 624 final int usageStatsSize = packageStats.size(); in obfuscateUsageStatsData() 626 final String packageName = packageStats.keyAt(statsIndex); in obfuscateUsageStatsData() 627 final UsageStats usageStats = packageStats.valueAt(statsIndex); in obfuscateUsageStatsData()
|
D | UsageStatsDatabase.java | 670 for (int i = stats.packageStats.size() - 1; i >= 0; i--) { in pruneStats() 671 final UsageStats usageStats = stats.packageStats.valueAt(i); in pruneStats() 674 stats.packageStats.removeAt(i); in pruneStats() 783 final UsageStats usageStats = stats.packageStats.get(removedPackage); in filterStats() 785 stats.packageStats.remove(removedPackage); in filterStats() 996 final int pkgCount = stats.packageStats.size(); in pruneChooserCountsOlderThan() 998 UsageStats pkgStats = stats.packageStats.valueAt(i); in pruneChooserCountsOlderThan() 1334 for (UsageStats stat : stats.packageStats.values()) { in calculatePackagesUsedWithinTimeframe() 1381 packagesRestored.addAll(stats.packageStats.keySet()); in applyRestoredPayload()
|
D | UserUsageStatsService.java | 400 accResult.addAll(stats.packageStats.values()); 404 final int statCount = stats.packageStats.size(); 406 accResult.add(new UsageStats(stats.packageStats.valueAt(i))); 843 final int pkgCount = stat.packageStats.size(); in rolloverStats() 845 final UsageStats pkgStats = stat.packageStats.valueAt(i); in rolloverStats() 1205 final ArrayMap<String, UsageStats> pkgStats = stats.packageStats; in printIntervalStats()
|
D | UsageStatsProto.java | 512 statsOut.packageStats.clear(); in read() 616 final int statsCount = stats.packageStats.size(); in write() 620 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 | 164 AppUsageStatsData packageStats = aggregatedStats.computeIfAbsent(packageName, in queryAppUsageStats() local 166 packageStats.incrementChosenCountBy(sumChooserCounts(stat.mChooserCounts)); in queryAppUsageStats() 167 packageStats.incrementLaunchCountBy(stat.getAppLaunchCount()); in queryAppUsageStats()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | UsageStatsQueryHelperTest.java | 270 UsageStats packageStats = new UsageStats(); in createUsageStats() local 271 packageStats.mPackageName = packageName; in createUsageStats() 272 packageStats.mAppLaunchCount = launchCount; in createUsageStats() 273 packageStats.mChooserCounts = chooserCounts; in createUsageStats() 274 return packageStats; in createUsageStats()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 5121 final ArrayMap<String, ? extends BatteryStats.Uid.Pkg> packageStats in dumpCheckinLocked() local 5123 for (int ipkg=packageStats.size()-1; ipkg>=0; ipkg--) { in dumpCheckinLocked() 5124 final Uid.Pkg ps = packageStats.valueAt(ipkg); in dumpCheckinLocked() 5142 packageStats.keyAt(ipkg), // Apk in dumpCheckinLocked() 6805 final ArrayMap<String, ? extends Uid.Pkg> packageStats in dumpLocked() 6807 for (int ipkg=packageStats.size()-1; ipkg>=0; ipkg--) { in dumpLocked() 6808 pw.print(prefix); pw.print(" Apk "); pw.print(packageStats.keyAt(ipkg)); in dumpLocked() 6811 final Uid.Pkg ps = packageStats.valueAt(ipkg); in dumpLocked() 8016 final ArrayMap<String, ? extends BatteryStats.Uid.Pkg> packageStats = in dumpProtoAppsLocked() local 8018 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/ ... |