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.java40 NonRequiredPackageDeleteObserver(int packageCount) { in NonRequiredPackageDeleteObserver() argument
41 this.mLatch = new CountDownLatch(packageCount); in NonRequiredPackageDeleteObserver()
42 this.mPackageCount.set(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.java270 final int packageCount = mSetPackages.length; in sameSet() local
271 if (otherPackageCount != packageCount) { in sameSet()
274 for (int i = 0; i < packageCount; i++) { in sameSet()
DStorageEventHelper.java364 final int packageCount = packageStates.size(); in collectAbsoluteCodePaths() local
365 for (int i = 0; i < packageCount; i++) { in collectAbsoluteCodePaths()
DAppsFilterImpl.java1248 private void logCacheRebuilt(int eventId, long latency, int userCount, int packageCount) { in logCacheRebuilt() argument
1250 eventId, latency, userCount, packageCount, mShouldFilterCache.size()); in logCacheRebuilt()
1253 private void logCacheUpdated(int eventId, long latency, int userCount, int packageCount, in logCacheUpdated() argument
1259 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.java371 final int packageCount = packagesToDelete.size();
372 for (int i = 0; i < packageCount; i++) {
DComputerEngine.java3885 final int packageCount = packageStates.size(); in getPackagesUsingSharedLibrary() local
3886 for (int i = 0; i < packageCount; i++) { in getPackagesUsingSharedLibrary()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java6985 final int packageCount = childPackages.size(); in setApplicationVolumeUuid() local
6986 for (int i = 0; i < packageCount; i++) { in setApplicationVolumeUuid()
6996 final int packageCount = childPackages.size(); in setApplicationInfoCodePath() local
6997 for (int i = 0; i < packageCount; i++) { in setApplicationInfoCodePath()
7008 final int packageCount = childPackages.size(); in setApplicationInfoResourcePath() local
7009 for (int i = 0; i < packageCount; i++) { in setApplicationInfoResourcePath()
7020 final int packageCount = childPackages.size(); in setApplicationInfoBaseResourcePath() local
7021 for (int i = 0; i < packageCount; i++) { in setApplicationInfoBaseResourcePath()
7030 final int packageCount = childPackages.size(); in setApplicationInfoBaseCodePath() local
7031 for (int i = 0; i < packageCount; i++) { in setApplicationInfoBaseCodePath()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java930 final int packageCount = packages.size(); in checkIdleStates() local
931 for (int p = 0; p < packageCount; p++) { in checkIdleStates()
2327 final int packageCount = packages.size(); in initializeDefaultsForSystemApps() local
2329 for (int i = 0; i < packageCount; i++) { in initializeDefaultsForSystemApps()
2366 final int packageCount = packages.size(); in loadHeadlessSystemAppCache() local
2367 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.java5529 final int packageCount = getPackageCount(); in splice() local
5530 for (int i = 0; i < packageCount; i++) { in splice()
5547 final int packageCount = other.getPackageCount(); in merge() local
5548 for (int i = 0; i < packageCount; i++) { in merge()
5567 final int packageCount = getPackageCount(); in filter() local
5568 for (int i = packageCount - 1; i >= 0; i--) { in filter()
5584 final int packageCount = getPackageCount(); in isEmpty() local
5585 for (int i = packageCount - 1; i >= 0; i--) { in isEmpty()
5693 final int packageCount = getPackageCount(); in accept() local
5694 for (int i = 0; i < packageCount; i++) { in accept()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp582 table_header->packageCount = android::util::HostToDevice32(table_view.packages.size()); in Consume()
/frameworks/base/tools/aapt/
DResourceTable.cpp3296 header.packageCount = htodl(flatPackages.size()); in flatten()
4311 const size_t packageCount = mOrderedPackages.size(); in getConfigList() local
4312 for (size_t pi = 0; pi < packageCount; pi++) { in getConfigList()
4613 const size_t packageCount = mOrderedPackages.size(); in modifyForCompat() local
4614 for (size_t pi = 0; pi < packageCount; pi++) { in modifyForCompat()
4968 const size_t packageCount = mOrderedPackages.size(); in getDensityVaryingResources() local
4969 for (size_t p = 0; p < packageCount; p++) { in getDensityVaryingResources()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4360 if (curPackage >= dtohl(header->header->packageCount)) { in addInternal()
4362 dtohl(header->header->packageCount)); in addInternal()
4380 if (curPackage < dtohl(header->header->packageCount)) { in addInternal()
4382 (int)curPackage, dtohl(header->header->packageCount)); in addInternal()
5127 const size_t packageCount = group->packages.size(); in identifierForName() local
5128 for (size_t pi = 0; pi < packageCount; pi++) { in identifierForName()
6324 const size_t packageCount = mPackageGroups.size(); in forEachConfiguration() local
6326 for (size_t i = 0; i < packageCount; i++) { in forEachConfiguration()
DLoadedArsc.cpp803 const size_t package_count = dtohl(header->packageCount); in LoadTable()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java584 final int packageCount = packages.length; in canManageAutomaticZenRule() local
585 for (int i = 0; i < packageCount; i++) { in canManageAutomaticZenRule()
DNotificationManagerService.java5225 final int packageCount = packages.length;
5226 for (int i = 0; i < packageCount; i++) {
/frameworks/base/tools/aapt2/
DDebug.cpp633 StringPrintf(" Package count: %u\n", android::util::DeviceToHost32(chunk->packageCount))); in PrintTable()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1546 final int packageCount = uidOps.getPackageCount(); in writeHistoricalUidOpsDLocked() local
1547 for (int i = 0; i < packageCount; i++) { in writeHistoricalUidOpsDLocked()
DAppOpsService.java1505 final int packageCount = packages.size(); in getPackagesForOps() local
1506 for (int j = 0; j < packageCount; j++) { in getPackagesForOps()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h894 uint32_t packageCount; member
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3764 final int packageCount = packages.size(); in onCrossProfileWidgetProvidersChanged() local
3765 for (int i = 0; i < packageCount; i++) { in onCrossProfileWidgetProvidersChanged()