Searched refs:packageInfos (Results 1 – 10 of 10) sorted by relevance
70 public boolean addBlockScreenCaptureForApps(@NonNull ArraySet<PackageInfo> packageInfos) { in addBlockScreenCaptureForApps() argument71 if (mProtectedPackages.equals(packageInfos)) { in addBlockScreenCaptureForApps()75 mProtectedPackages.addAll(packageInfos); in addBlockScreenCaptureForApps()86 public boolean removeBlockScreenCaptureForApps(@NonNull ArraySet<PackageInfo> packageInfos) { in removeBlockScreenCaptureForApps() argument87 return mProtectedPackages.removeAll(packageInfos); in removeBlockScreenCaptureForApps()
8711 public void addBlockScreenCaptureForApps(ArraySet<PackageInfo> packageInfos) { in addBlockScreenCaptureForApps() argument8714 mSensitiveContentPackages.addBlockScreenCaptureForApps(packageInfos); in addBlockScreenCaptureForApps()8745 public void removeBlockScreenCaptureForApps(ArraySet<PackageInfo> packageInfos) { in removeBlockScreenCaptureForApps() argument8748 mSensitiveContentPackages.removeBlockScreenCaptureForApps(packageInfos); in removeBlockScreenCaptureForApps()8753 for (int i = 0; i < packageInfos.size(); i++) { in removeBlockScreenCaptureForApps()8754 int uid = packageInfos.valueAt(i).getUid(); in removeBlockScreenCaptureForApps()
401 ArraySet<PackageInfo> packageInfos = in updateAppsThatShouldBlockScreenCapture() local404 if (packageInfos.size() > 0) { in updateAppsThatShouldBlockScreenCapture()405 mWindowManager.addBlockScreenCaptureForApps(packageInfos); in updateAppsThatShouldBlockScreenCapture()558 ArraySet<PackageInfo> packageInfos = new ArraySet<>(); in setSensitiveContentProtection() local559 packageInfos.add(packageInfo); in setSensitiveContentProtection()561 mWindowManager.addBlockScreenCaptureForApps(packageInfos); in setSensitiveContentProtection()566 mWindowManager.removeBlockScreenCaptureForApps(packageInfos); in setSensitiveContentProtection()
30 KeyAttestationPackageInfo[] packageInfos;
361 final List<PackageInfo> packageInfos = pm.getInstalledPackagesAsUser( in testPackagesForCreateUser_full() local366 final Set<String> actualPackages = new ArraySet<>(packageInfos.size()); in testPackagesForCreateUser_full()367 for (PackageInfo p : packageInfos) { in testPackagesForCreateUser_full()373 for (PackageInfo p : packageInfos) { in testPackagesForCreateUser_full()
89 attestAppId.packageInfos = keyAttestationPackageInfos; in getKeyAttestationApplicationId()
282 List<PackageInfo> packageInfos = new ArrayList<>(); in testUserLevelStatesInitializedFromDisk() local283 packageInfos.add(makePackageInfo(PACKAGE_NAME_1)); in testUserLevelStatesInitializedFromDisk()286 packageInfos.add(stoppedPkg); in testUserLevelStatesInitializedFromDisk()289 UserInfo user2 = addUser(USER_ID_2, packageInfos); in testUserLevelStatesInitializedFromDisk()
2127 final List<PackageInfo> packageInfos = packageManager.getInstalledPackages(0);2128 final int installedPackagesCount = packageInfos.size();2130 if (shouldAddToSystemPackages(packageInfos.get(i))) {2131 sSystemPackages.add(packageInfos.get(i).packageName);
253 final List<PackageInfo> packageInfos = new ArrayList<>(); in mockAppCategory() local268 packageInfos.add(pi); in mockAppCategory()276 .thenReturn(packageInfos); in mockAppCategory()
2667 List<PackageInfo> packageInfos; in runGrantRevokePermission() local2670 packageInfos = pm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in runGrantRevokePermission()2673 packageInfos = Collections.singletonList(pm.getPackageInfo(pkg, in runGrantRevokePermission()2682 for (PackageInfo packageInfo : packageInfos) { in runGrantRevokePermission()