Home
last modified time | relevance | path

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

/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java88 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/
DNonRequiredPackageDeleteObserver.java38 NonRequiredPackageDeleteObserver(int packageCount) { in NonRequiredPackageDeleteObserver() argument
39 this.mLatch = new CountDownLatch(packageCount); in NonRequiredPackageDeleteObserver()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureMetricsLogger.java52 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/
DSnapshotStatistics.java468 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()
DPreferredComponent.java275 final int packageCount = mSetPackages.length; in sameSet() local
276 if (otherPackageCount != packageCount) { in sameSet()
279 for (int i = 0; i < packageCount; i++) { in sameSet()
DStorageEventHelper.java351 final int packageCount = packageStates.size(); in collectAbsoluteCodePaths() local
352 for (int i = 0; i < packageCount; i++) { in collectAbsoluteCodePaths()
DAppsFilterImpl.java1283 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()
DInstantAppRegistry.java883 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++) {
DSharedLibrariesImpl.java374 final int packageCount = packagesToDelete.size();
375 for (int i = 0; i < packageCount; i++) {
DComputerEngine.java3970 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/
DPackageParser.java6986 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/
DAppStandbyController.java936 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/
DPrintManagerService.java1144 final int packageCount = packages.length; in resolveCallingPackageNameEnforcingSecurity() local
1145 for (int i = 0; i < packageCount; i++) { in resolveCallingPackageNameEnforcingSecurity()
/frameworks/base/core/java/android/app/
DAppOpsManager.java5875 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/
DTableFlattener.cpp585 table_header->packageCount = android::util::HostToDevice32(table_view.packages.size()); in Consume()
/frameworks/base/tools/aapt/
DResourceTable.cpp3298 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/
DResourceTypes.cpp4448 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()
DLoadedArsc.cpp818 const size_t package_count = dtohl(header->packageCount); in LoadTable()
/frameworks/base/tools/aapt2/
DDebug.cpp643 StringPrintf(" Package count: %u\n", android::util::DeviceToHost32(chunk->packageCount))); in PrintTable()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1523 final int packageCount = uidOps.getPackageCount(); in writeHistoricalUidOpsDLocked() local
1524 for (int i = 0; i < packageCount; i++) { in writeHistoricalUidOpsDLocked()
DAppOpsService.java1757 final int packageCount = packages.size(); in getPackagesForOpsForDevice() local
1758 for (int j = 0; j < packageCount; j++) { in getPackagesForOpsForDevice()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h900 uint32_t packageCount; member
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1021 final int packageCount = packages.length; in canManageAutomaticZenRule() local
1022 for (int i = 0; i < packageCount; i++) { in canManageAutomaticZenRule()
DNotificationManagerService.java5773 final int packageCount = packages.length;
5774 for (int i = 0; i < packageCount; i++) {
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java4124 final int packageCount = packages.size(); in onCrossProfileWidgetProvidersChanged() local
4125 for (int i = 0; i < packageCount; i++) { in onCrossProfileWidgetProvidersChanged()