/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/ |
D | AppConsentManager.java | 89 public List<String> getKnownAppsWithConsent(@NonNull List<String> installedPackages) { in getKnownAppsWithConsent() argument 90 Objects.requireNonNull(installedPackages); in getKnownAppsWithConsent() 96 if (installedPackages.contains(packageName)) { in getKnownAppsWithConsent() 109 public List<String> getAppsWithRevokedConsent(@NonNull List<String> installedPackages) in getAppsWithRevokedConsent() argument 111 Objects.requireNonNull(installedPackages); in getAppsWithRevokedConsent() 117 if (installedPackages.contains(packageName)) { in getAppsWithRevokedConsent()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/ |
D | BackupAndRestoreFragment.java | 117 List<PackageInfo> installedPackages = null; in backupNow() local 119 installedPackages = packageManager.getInstalledPackagesAsUser(/* flags= */0, mUserId); in backupNow() 120 Log.v(TAG, "installed packages: " + installedPackages); in backupNow() 126 if (installedPackages != null) { in backupNow() 127 String[] packages = installedPackages.stream().map(p -> p.packageName) in backupNow()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/consent/ |
D | AppConsentDao.java | 126 Set<String> installedPackages = getInstalledPackages(); in getKnownAppsWithConsent() local 129 if (installedPackages.contains(packageName)) { in getKnownAppsWithConsent() 145 Set<String> installedPackages = getInstalledPackages(); in getAppsWithRevokedConsent() local 148 if (installedPackages.contains(packageName)) { in getAppsWithRevokedConsent()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | MeasurementHttpClient.java | 135 List<PackageInfo> installedPackages = in setAdservicesApexVersion() local 141 installedPackages.stream() in setAdservicesApexVersion() 149 installedPackages.stream() in setAdservicesApexVersion()
|
/packages/modules/AdServices/adservices/framework/java/android/app/adservices/ |
D | IAdServicesManager.aidl | 207 List<String> getKnownAppsWithConsent(in List<String> installedPackages); in getKnownAppsWithConsent() argument 209 List<String> getAppsWithRevokedConsent(in List<String> installedPackages); in getAppsWithRevokedConsent() argument
|
D | AdServicesManager.java | 300 public List<String> getKnownAppsWithConsent(List<String> installedPackages) { in getKnownAppsWithConsent() argument 302 return mService.getKnownAppsWithConsent(installedPackages); in getKnownAppsWithConsent() 310 public List<String> getAppsWithRevokedConsent(List<String> installedPackages) { in getAppsWithRevokedConsent() argument 312 return mService.getAppsWithRevokedConsent(installedPackages); in getAppsWithRevokedConsent()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/rollback/ |
D | MeasurementRollbackCompatManager.java | 146 List<PackageInfo> installedPackages = in computeApexVersion() local 148 return installedPackages.stream() in computeApexVersion()
|
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | PrivappPermissionsTest.java | 100 List<PackageInfo> installedPackages = pm in privappPermissionsNeedToBeWhitelisted() local 102 installedPackages.sort(Comparator.comparing(p -> p.packageName)); in privappPermissionsNeedToBeWhitelisted() 106 for (PackageInfo pkg : installedPackages) { in privappPermissionsNeedToBeWhitelisted()
|
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/ |
D | PackageUtils.java | 132 List<PackageInfo> installedPackages = in getApexVersion() local 135 for (PackageInfo pkg : installedPackages) { in getApexVersion()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchConsentManager.java | 115 Set<String> installedPackages = getInstalledPackages(); in getKnownAppsWithConsent() local 118 if (installedPackages.contains(app)) { in getKnownAppsWithConsent() 135 Set<String> installedPackages = getInstalledPackages(); in getAppsWithRevokedConsent() local 138 if (installedPackages.contains(app)) { in getAppsWithRevokedConsent()
|
D | AppSearchConsentStorageManager.java | 163 Set<String> installedPackages = getInstalledPackages(); in getAppsWithRevokedConsent() local 166 if (installedPackages.contains(app)) { in getAppsWithRevokedConsent() 208 Set<String> installedPackages = getInstalledPackages(); in getKnownAppsWithConsent() local 211 if (installedPackages.contains(app)) { in getKnownAppsWithConsent()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionGroups.java | 236 List<PackageInfo> installedPackages = context.getPackageManager() in getPermissionGroups() local 242 for (PackageInfo installedPackage : installedPackages) { in getPermissionGroups() 251 for (PackageInfo installedPackage : installedPackages) { in getPermissionGroups()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/ |
D | CobaltFactory.java | 191 List<PackageInfo> installedPackages = in computeApexVersion() local 196 for (PackageInfo packageInfo : installedPackages) { in computeApexVersion()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/ |
D | PictureInPictureSettings.java | 210 final List<PackageInfo> installedPackages = mPackageManager.getInstalledPackagesAsUser( in collectPipApps() local 212 for (PackageInfo packageInfo : installedPackages) { in collectPipApps()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | AdServicesManagerService.java | 623 public List<String> getKnownAppsWithConsent(@NonNull List<String> installedPackages) { in getKnownAppsWithConsent() argument 627 .getKnownAppsWithConsent(installedPackages)); in getKnownAppsWithConsent() 632 public List<String> getAppsWithRevokedConsent(@NonNull List<String> installedPackages) { in getAppsWithRevokedConsent() argument 636 .getAppsWithRevokedConsent(installedPackages)); in getAppsWithRevokedConsent() 967 List<PackageInfo> installedPackages = in setAdServicesApexVersion() local 971 installedPackages.forEach( in setAdServicesApexVersion()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxStorageManager.java | 642 final ArraySet<String> installedPackages = new ArraySet<>(); in PackageInfoHolder() local 646 installedPackages.add(info.packageName); in PackageInfoHolder() 666 if (!installedPackages.contains(packageName)) { in PackageInfoHolder()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImpl.java | 2374 public void prunePackageData(@NonNull Set<String> installedPackages) throws AppSearchException { in prunePackageData() argument 2379 if (installedPackages.containsAll(packageToDatabases.keySet())) { in prunePackageData() 2389 if (installedPackages.contains(packageName)) { in prunePackageData() 2419 if (!installedPackages.contains(packageName) && databaseNames != null) { in prunePackageData()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 4011 String[] installedPackages = new String[packagesOfUser.size()]; in sendOffHostTransactionEvent() local 4013 packagesOfUser.toArray(installedPackages), userId); in sendOffHostTransactionEvent() 4123 String[] installedPackages = new String[packagesOfUser.size()]; in getNfcPreferredPaymentChangedSEAccessAllowedPackages() local 4128 packagesOfUser.toArray(installedPackages), userId in getNfcPreferredPaymentChangedSEAccessAllowedPackages()
|