Home
last modified time | relevance | path

Searched refs:installedPackages (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/consent/
DAppConsentManager.java89 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/
DBackupAndRestoreFragment.java117 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/
DAppConsentDao.java126 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/
DMeasurementHttpClient.java135 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/
DIAdServicesManager.aidl207 List<String> getKnownAppsWithConsent(in List<String> installedPackages); in getKnownAppsWithConsent() argument
209 List<String> getAppsWithRevokedConsent(in List<String> installedPackages); in getAppsWithRevokedConsent() argument
DAdServicesManager.java300 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/
DMeasurementRollbackCompatManager.java146 List<PackageInfo> installedPackages = in computeApexVersion() local
148 return installedPackages.stream() in computeApexVersion()
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/
DPrivappPermissionsTest.java100 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/
DPackageUtils.java132 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/
DAppSearchConsentManager.java115 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()
DAppSearchConsentStorageManager.java163 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/
DPermissionGroups.java236 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/
DCobaltFactory.java191 List<PackageInfo> installedPackages = in computeApexVersion() local
196 for (PackageInfo packageInfo : installedPackages) { in computeApexVersion()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java210 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/
DAdServicesManagerService.java623 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/
DSdkSandboxStorageManager.java642 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/
DAppSearchImpl.java2374 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/
DNfcService.java4011 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()