/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | DuplicatePermissionDefinitionsTest.kt | 91 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/ |
D | PerfImpactingAppsUtils.java | 105 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/ |
D | InteractAcrossProfilesSettings.java | 161 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/ |
D | CustomPermGroupNamesLiveData.kt | 41 val allPackages = packagesLiveData.value ?: return in onUpdate() constant 43 for ((_, packageInfos) in allPackages) { in onUpdate()
|
D | HibernatedPackagesLiveData.kt | 43 val allPackages = AllPackageInfosLiveData.value!! in loadDataAndPostValue() constant 45 for ((user, pkgs) in allPackages) { in loadDataAndPostValue()
|
D | PermGroupsPackagesLiveData.kt | 86 val allPackages = packagesLiveData.value ?: return in <lambda>() constant 87 for ((userHandle, packageInfos) in allPackages) { in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utils.java | 202 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/ |
D | PermissionUsageDetailsViewModel.kt | 610 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/ |
D | StatsCompanionService.java | 293 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/ |
D | SdkSandboxStorageManager.java | 662 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/ |
D | MigrationStateManager.java | 706 List<PackageInfo> allPackages = in existsMigratorPackage() local 711 for (PackageInfo packageInfo : allPackages) { in existsMigratorPackage()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BluetoothManagerService.java | 2328 var allPackages = systemPackageManager.getPackagesForUid(Process.BLUETOOTH_UID); in updateOppLauncherComponentState() local 2329 for (String candidatePackage : allPackages) { in updateOppLauncherComponentState()
|