Home
last modified time | relevance | path

Searched refs:allPackages (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DDuplicatePermissionDefinitionsTest.kt91 private val allPackages: List<String> constant in android.permission.cts.DuplicatePermissionDefinitionsTest
105 assertThat(allPackages).containsAtLeast(APP_DEFINING_PERM_A, APP_ALSO_DEFINING_PERM_A) in canInstallAppsDefiningSamePermissionWhenSameCert()
115 assertThat(allPackages).contains(APP_DEFINING_PERM_A) in cannotInstallAppsDefiningSamePermissionWhenDifferentCert()
116 assertThat(allPackages).doesNotContain(APP_ALSO_DEFINING_PERM_A_DIFFERENT_CERT) in cannotInstallAppsDefiningSamePermissionWhenDifferentCert()
126 assertThat(allPackages) in canInstallAppsDefiningSamePermissionGroupWhenDifferentCertIfSdk30()
141 assertThat(allPackages).contains(APP_DEFINING_PERM_A) in cannotInstallAppsDefiningSamePermissionGroupWhenDifferentCert()
142 assertThat(allPackages).doesNotContain(APP_ALSO_DEFINING_PERM_GROUP_A_DIFFERENT_CERT) in cannotInstallAppsDefiningSamePermissionGroupWhenDifferentCert()
153 assertThat(allPackages).contains(APP_DEFINING_PERM_IN_PLATFORM_GROUP) in canInstallAppsDefiningPermissionInPlatformGroup()
167 assertThat(allPackages).contains(APP_DEFINING_PERM_WITH_INVALID_GROUP_SDK_30) in canInstallAppsDefiningPermissionWithInvalidGroupSdk30()
178 assertThat(allPackages).doesNotContain(APP_DEFINING_PERM_WITH_INVALID_GROUP) in cannotInstallAppsDefiningPermissionWithInvalidGroup()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/performance/
DPerfImpactingAppsUtils.java105 List<ResolveInfo> allPackages = packageManager.queryIntentActivities( in getDisabledAppInfos() local
109 List<ApplicationInfo> disabledAppInfos = new ArrayList<>(allPackages.size()); in getDisabledAppInfos()
110 for (int idx = 0; idx < allPackages.size(); idx++) { in getDisabledAppInfos()
111 ApplicationInfo applicationInfo = allPackages.get(idx).activityInfo.applicationInfo; in getDisabledAppInfos()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesSettings.java161 List<PackageInfo> allPackages = new ArrayList<>(personalPackages); in getAllInstalledPackages() local
163 if (allPackages.stream().noneMatch( in getAllInstalledPackages()
165 allPackages.add(workPackage); in getAllInstalledPackages()
168 return allPackages; in getAllInstalledPackages()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DCustomPermGroupNamesLiveData.kt41 val allPackages = packagesLiveData.value ?: return in onUpdate() constant
43 for ((_, packageInfos) in allPackages) { in onUpdate()
DHibernatedPackagesLiveData.kt43 val allPackages = AllPackageInfosLiveData.value!! in loadDataAndPostValue() constant
45 for ((user, pkgs) in allPackages) { in loadDataAndPostValue()
DPermGroupsPackagesLiveData.kt86 val allPackages = packagesLiveData.value ?: return in <lambda>() constant
87 for ((userHandle, packageInfos) in allPackages) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtils.java202 String[] allPackages = packageManager.getPackagesForUid(BLUETOOTH_UID); in findBluetoothPackageName() local
204 for (String candidatePackage : allPackages) { in findBluetoothPackageName()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DPermissionUsageDetailsViewModel.kt610 val allPackages: Set<Pair<String, UserHandle>> = in <lambda>() constant
612 for (packageWithUserHandle: Pair<String, UserHandle> in allPackages) { in <lambda>()
632 allPackages, in <lambda>()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java293 List<PackageInfo> allPackages = new ArrayList<>( in getAllPackagesWithApex() local
305 allPackages.add(packageInfo); in getAllPackagesWithApex()
308 return allPackages; in getAllPackagesWithApex()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxStorageManager.java662 final List<PackageInfo> allPackages = in PackageInfoHolder() local
664 for (int i = 0; i < allPackages.size(); i++) { in PackageInfoHolder()
665 final String packageName = allPackages.get(i).packageName; in PackageInfoHolder()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateManager.java706 List<PackageInfo> allPackages = in existsMigratorPackage() local
711 for (PackageInfo packageInfo : allPackages) { in existsMigratorPackage()
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothManagerService.java2328 var allPackages = systemPackageManager.getPackagesForUid(Process.BLUETOOTH_UID); in updateOppLauncherComponentState() local
2329 for (String candidatePackage : allPackages) { in updateOppLauncherComponentState()