/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/ |
D | UsageStatsDatabasePerfTest.java | 88 private static void populateIntervalStats(IntervalStats intervalStats, int packageCount, in populateIntervalStats() argument 90 for (int pkg = 0; pkg < packageCount; pkg++) { in populateIntervalStats() 116 private void runQueryUsageStatsTest(int packageCount, int eventsPerPackage) throws IOException { in runQueryUsageStatsTest() argument 119 populateIntervalStats(intervalStats, packageCount, eventsPerPackage); in runQueryUsageStatsTest() 128 assertEquals(packageCount * eventsPerPackage, temp.size()); in runQueryUsageStatsTest() 132 private void runPutUsageStatsTest(int packageCount, int eventsPerPackage) throws IOException { in runPutUsageStatsTest() argument 135 populateIntervalStats(intervalStats, packageCount, eventsPerPackage); in runPutUsageStatsTest() 146 private void runObfuscateStatsTest(int packageCount, int eventsPerPackage) { in runObfuscateStatsTest() argument 149 populateIntervalStats(intervalStats, packageCount, eventsPerPackage); in runObfuscateStatsTest() 161 private void runDeobfuscateStatsTest(int packageCount, int eventsPerPackage) { in runDeobfuscateStatsTest() argument [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NonRequiredPackageDeleteObserver.java | 38 NonRequiredPackageDeleteObserver(int packageCount) { in NonRequiredPackageDeleteObserver() argument 39 this.mLatch = new CountDownLatch(packageCount); in NonRequiredPackageDeleteObserver()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureMetricsLogger.java | 52 int packageCount = packages != null ? packages.size() : 0; in writeSetWhitelistEvent() local 58 serviceName, /* allowListStr= */ null, packageCount, activityCount); in writeSetWhitelistEvent()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SnapshotStatistics.java | 468 private void logSnapshotStatistics(int packageCount) { in logSnapshotStatistics() argument 473 mMaxBuildTimeUs, mMaxUsedCount, avgLatencyUs, avgUsedCount, packageCount); in logSnapshotStatistics() 559 public final void rebuild(long now, long done, int hits, int packageCount) { in rebuild() argument 564 mPackageCount = packageCount; in rebuild()
|
D | PreferredComponent.java | 275 final int packageCount = mSetPackages.length; in sameSet() local 276 if (otherPackageCount != packageCount) { in sameSet() 279 for (int i = 0; i < packageCount; i++) { in sameSet()
|
D | StorageEventHelper.java | 351 final int packageCount = packageStates.size(); in collectAbsoluteCodePaths() local 352 for (int i = 0; i < packageCount; i++) { in collectAbsoluteCodePaths()
|
D | AppsFilterImpl.java | 1283 private void logCacheRebuilt(int eventId, long latency, int userCount, int packageCount) { in logCacheRebuilt() argument 1285 eventId, latency, userCount, packageCount, mShouldFilterCache.size()); in logCacheRebuilt() 1288 private void logCacheUpdated(int eventId, long latency, int userCount, int packageCount, in logCacheUpdated() argument 1294 eventId, appId, latency, userCount, packageCount, mShouldFilterCache.size()); in logCacheUpdated()
|
D | InstantAppRegistry.java | 883 final int packageCount = packagesToDelete.size(); 884 for (int i = 0; i < packageCount; i++) { 947 final int packageCount = packageStates.size(); 948 for (int i = 0; i < packageCount; i++) {
|
D | SharedLibrariesImpl.java | 374 final int packageCount = packagesToDelete.size(); 375 for (int i = 0; i < packageCount; i++) {
|
D | ComputerEngine.java | 3970 final int packageCount = packageStates.size(); in getPackagesUsingSharedLibrary() local 3972 for (int i = 0; i < packageCount; i++) { in getPackagesUsingSharedLibrary()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 6986 final int packageCount = childPackages.size(); in setApplicationVolumeUuid() local 6987 for (int i = 0; i < packageCount; i++) { in setApplicationVolumeUuid() 6997 final int packageCount = childPackages.size(); in setApplicationInfoCodePath() local 6998 for (int i = 0; i < packageCount; i++) { in setApplicationInfoCodePath() 7009 final int packageCount = childPackages.size(); in setApplicationInfoResourcePath() local 7010 for (int i = 0; i < packageCount; i++) { in setApplicationInfoResourcePath() 7021 final int packageCount = childPackages.size(); in setApplicationInfoBaseResourcePath() local 7022 for (int i = 0; i < packageCount; i++) { in setApplicationInfoBaseResourcePath() 7031 final int packageCount = childPackages.size(); in setApplicationInfoBaseCodePath() local 7032 for (int i = 0; i < packageCount; i++) { in setApplicationInfoBaseCodePath() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 936 final int packageCount = packages.size(); in checkIdleStates() local 937 for (int p = 0; p < packageCount; p++) { in checkIdleStates() 2348 final int packageCount = packages.size(); in initializeDefaultsForSystemApps() local 2350 for (int i = 0; i < packageCount; i++) { in initializeDefaultsForSystemApps() 2387 final int packageCount = packages.size(); in loadHeadlessSystemAppCache() local 2388 for (int i = 0; i < packageCount; i++) { in loadHeadlessSystemAppCache()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | PrintManagerService.java | 1144 final int packageCount = packages.length; in resolveCallingPackageNameEnforcingSecurity() local 1145 for (int i = 0; i < packageCount; i++) { in resolveCallingPackageNameEnforcingSecurity()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 5875 final int packageCount = getPackageCount(); in splice() local 5876 for (int i = 0; i < packageCount; i++) { in splice() 5893 final int packageCount = other.getPackageCount(); in merge() local 5894 for (int i = 0; i < packageCount; i++) { in merge() 5913 final int packageCount = getPackageCount(); in filter() local 5914 for (int i = packageCount - 1; i >= 0; i--) { in filter() 5930 final int packageCount = getPackageCount(); in isEmpty() local 5931 for (int i = packageCount - 1; i >= 0; i--) { in isEmpty() 6039 final int packageCount = getPackageCount(); in accept() local 6040 for (int i = 0; i < packageCount; i++) { in accept()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 585 table_header->packageCount = android::util::HostToDevice32(table_view.packages.size()); in Consume()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 3298 header.packageCount = htodl(flatPackages.size()); in flatten() 4313 const size_t packageCount = mOrderedPackages.size(); in getConfigList() local 4314 for (size_t pi = 0; pi < packageCount; pi++) { in getConfigList() 4615 const size_t packageCount = mOrderedPackages.size(); in modifyForCompat() local 4616 for (size_t pi = 0; pi < packageCount; pi++) { in modifyForCompat() 4970 const size_t packageCount = mOrderedPackages.size(); in getDensityVaryingResources() local 4971 for (size_t p = 0; p < packageCount; p++) { in getDensityVaryingResources()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 4448 if (curPackage >= dtohl(header->header->packageCount)) { in addInternal() 4450 dtohl(header->header->packageCount)); in addInternal() 4468 if (curPackage < dtohl(header->header->packageCount)) { in addInternal() 4470 (int)curPackage, dtohl(header->header->packageCount)); in addInternal() 5215 const size_t packageCount = group->packages.size(); in identifierForName() local 5216 for (size_t pi = 0; pi < packageCount; pi++) { in identifierForName() 6441 const size_t packageCount = mPackageGroups.size(); in forEachConfiguration() local 6443 for (size_t i = 0; i < packageCount; i++) { in forEachConfiguration()
|
D | LoadedArsc.cpp | 818 const size_t package_count = dtohl(header->packageCount); in LoadTable()
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 643 StringPrintf(" Package count: %u\n", android::util::DeviceToHost32(chunk->packageCount))); in PrintTable()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | HistoricalRegistry.java | 1523 final int packageCount = uidOps.getPackageCount(); in writeHistoricalUidOpsDLocked() local 1524 for (int i = 0; i < packageCount; i++) { in writeHistoricalUidOpsDLocked()
|
D | AppOpsService.java | 1757 final int packageCount = packages.size(); in getPackagesForOpsForDevice() local 1758 for (int j = 0; j < packageCount; j++) { in getPackagesForOpsForDevice()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 900 uint32_t packageCount; member
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1021 final int packageCount = packages.length; in canManageAutomaticZenRule() local 1022 for (int i = 0; i < packageCount; i++) { in canManageAutomaticZenRule()
|
D | NotificationManagerService.java | 5773 final int packageCount = packages.length; 5774 for (int i = 0; i < packageCount; i++) {
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 4124 final int packageCount = packages.size(); in onCrossProfileWidgetProvidersChanged() local 4125 for (int i = 0; i < packageCount; i++) { in onCrossProfileWidgetProvidersChanged()
|