Home
last modified time | relevance | path

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

/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java85 private static void populateIntervalStats(IntervalStats intervalStats, int packageCount, in populateIntervalStats() argument
87 for (int pkg = 0; pkg < packageCount; pkg++) { in populateIntervalStats()
113 private void runQueryUsageStatsTest(int packageCount, int eventsPerPackage) throws IOException { in runQueryUsageStatsTest() argument
116 populateIntervalStats(intervalStats, packageCount, eventsPerPackage); in runQueryUsageStatsTest()
125 assertEquals(packageCount * eventsPerPackage, temp.size()); in runQueryUsageStatsTest()
129 private void runPutUsageStatsTest(int packageCount, int eventsPerPackage) throws IOException { in runPutUsageStatsTest() argument
132 populateIntervalStats(intervalStats, packageCount, eventsPerPackage); in runPutUsageStatsTest()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTests.java366 final int packageCount = mPackages.size(); in select() local
367 for (int i = 0; i < packageCount; i++) { in select()
377 final int packageCount = mPackages.size(); in select() local
378 for (int i = 0; i < packageCount; i++) { in select()
431 final int packageCount = packages.size(); in getOverlayPackages() local
432 for (int i = 0; i < packageCount; i++) { in getOverlayPackages()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppRegistry.java691 final int packageCount = mService.mPackages.size(); in pruneInstantApps() local
692 for (int i = 0; i < packageCount; i++) { in pruneInstantApps()
757 final int packageCount = packagesToDelete.size(); in pruneInstantApps() local
758 for (int i = 0; i < packageCount; i++) { in pruneInstantApps()
819 final int packageCount = mService.mPackages.size(); in getInstalledInstantApplicationsLPr() local
820 for (int i = 0; i < packageCount; i++) { in getInstalledInstantApplicationsLPr()
DSettings.java4165 final int packageCount = mDisabledSysPackages.size(); in hasOtherDisabledSystemPkgWithChildLPr() local
4166 for (int i = 0; i < packageCount; i++) { in hasOtherDisabledSystemPkgWithChildLPr()
5211 final int packageCount = mPackages.size(); in writePermissionsSync() local
5212 for (int i = 0; i < packageCount; i++) { in writePermissionsSync()
5258 final int packageCount = permissionsForPackage.size(); in writePermissionsSync() local
5259 for (int i = 0; i < packageCount; i++) { in writePermissionsSync()
DPackageManagerService.java4857 final int packageCount = packagesToDelete.size();
4858 for (int i = 0; i < packageCount; i++) {
5288 final int packageCount = mSettings.mPackages.size();
5289 for (int i = 0; i < packageCount; i++) {
5692 final int packageCount = mPackages.size();
5693 for (int i = 0; i < packageCount; i++) {
18248 final int packageCount = (appearedChildPackages != null)
18250 for (int i = 0; i < packageCount; i++) {
19237 final int packageCount = mPackages.size();
19238 for (int i = 0; i < packageCount; i++) {
[all …]
/frameworks/base/core/java/android/app/
DAppOpsManager.java3343 final int packageCount = getPackageCount(); in splice() local
3344 for (int i = 0; i < packageCount; i++) { in splice()
3361 final int packageCount = other.getPackageCount(); in merge() local
3362 for (int i = 0; i < packageCount; i++) { in merge()
3379 final int packageCount = getPackageCount(); in filter() local
3380 for (int i = packageCount - 1; i >= 0; i--) { in filter()
3391 final int packageCount = getPackageCount(); in isEmpty() local
3392 for (int i = packageCount - 1; i >= 0; i--) { in isEmpty()
3489 final int packageCount = getPackageCount(); in accept() local
3490 for (int i = 0; i < packageCount; i++) { in accept()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java6690 final int packageCount = childPackages.size(); in setApplicationVolumeUuid() local
6691 for (int i = 0; i < packageCount; i++) { in setApplicationVolumeUuid()
6701 final int packageCount = childPackages.size(); in setApplicationInfoCodePath() local
6702 for (int i = 0; i < packageCount; i++) { in setApplicationInfoCodePath()
6713 final int packageCount = childPackages.size(); in setApplicationInfoResourcePath() local
6714 for (int i = 0; i < packageCount; i++) { in setApplicationInfoResourcePath()
6725 final int packageCount = childPackages.size(); in setApplicationInfoBaseResourcePath() local
6726 for (int i = 0; i < packageCount; i++) { in setApplicationInfoBaseResourcePath()
6735 final int packageCount = childPackages.size(); in setApplicationInfoBaseCodePath() local
6736 for (int i = 0; i < packageCount; i++) { in setApplicationInfoBaseCodePath()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java636 final int packageCount = packages.size(); in checkIdleStates() local
637 for (int p = 0; p < packageCount; p++) { in checkIdleStates()
1447 final int packageCount = packages.size(); in initializeDefaultsForSystemApps() local
1449 for (int i = 0; i < packageCount; i++) { in initializeDefaultsForSystemApps()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java1073 final int packageCount = packages.length; in resolveCallingPackageNameEnforcingSecurity() local
1074 for (int i = 0; i < packageCount; i++) { in resolveCallingPackageNameEnforcingSecurity()
/frameworks/base/tools/aapt/
DResourceTable.cpp3305 header.packageCount = htodl(flatPackages.size()); in flatten()
4320 const size_t packageCount = mOrderedPackages.size(); in getConfigList() local
4321 for (size_t pi = 0; pi < packageCount; pi++) { in getConfigList()
4622 const size_t packageCount = mOrderedPackages.size(); in modifyForCompat() local
4623 for (size_t pi = 0; pi < packageCount; pi++) { in modifyForCompat()
4977 const size_t packageCount = mOrderedPackages.size(); in getDensityVaryingResources() local
4978 for (size_t p = 0; p < packageCount; p++) { in getDensityVaryingResources()
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp706 const size_t package_count = dtohl(header->packageCount); in LoadTable()
DResourceTypes.cpp4201 if (curPackage >= dtohl(header->header->packageCount)) { in addInternal()
4203 dtohl(header->header->packageCount)); in addInternal()
4221 if (curPackage < dtohl(header->header->packageCount)) { in addInternal()
4223 (int)curPackage, dtohl(header->header->packageCount)); in addInternal()
4973 const size_t packageCount = group->packages.size(); in identifierForName() local
4974 for (size_t pi = 0; pi < packageCount; pi++) { in identifierForName()
6171 const size_t packageCount = mPackageGroups.size(); in forEachConfiguration() local
6173 for (size_t i = 0; i < packageCount; i++) { in forEachConfiguration()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java477 final int packageCount = packages.length; in canManageAutomaticZenRule() local
478 for (int i = 0; i < packageCount; i++) { in canManageAutomaticZenRule()
DNotificationManagerService.java3692 final int packageCount = packages.length;
3693 for (int i = 0; i < packageCount; i++) {
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp735 table_header->packageCount = util::HostToDevice32(table->packages.size()); in Consume()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1381 final int packageCount = uidOps.getPackageCount(); in writeHistoricalUidOpsDLocked() local
1382 for (int i = 0; i < packageCount; i++) { in writeHistoricalUidOpsDLocked()
DAppOpsService.java1106 final int packageCount = packages.size(); in getPackagesForOps() local
1107 for (int j = 0; j < packageCount; j++) { in getPackagesForOps()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h864 uint32_t packageCount; member
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java482 final int packageCount = packages.length; in enforcePackageName() local
483 for (int i = 0; i < packageCount; i++) { in enforcePackageName()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java3254 final int packageCount = app.pkgList.size(); in updateApplicationInfoLocked() local
3255 for (int j = 0; j < packageCount; j++) { in updateApplicationInfoLocked()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3533 final int packageCount = packages.size(); in onCrossProfileWidgetProvidersChanged() local
3534 for (int i = 0; i < packageCount; i++) { in onCrossProfileWidgetProvidersChanged()