Home
last modified time | relevance | path

Searched refs:packageInfos (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSensitiveContentPackages.java70 public boolean addBlockScreenCaptureForApps(@NonNull ArraySet<PackageInfo> packageInfos) { in addBlockScreenCaptureForApps() argument
71 if (mProtectedPackages.equals(packageInfos)) { in addBlockScreenCaptureForApps()
75 mProtectedPackages.addAll(packageInfos); in addBlockScreenCaptureForApps()
86 public boolean removeBlockScreenCaptureForApps(@NonNull ArraySet<PackageInfo> packageInfos) { in removeBlockScreenCaptureForApps() argument
87 return mProtectedPackages.removeAll(packageInfos); in removeBlockScreenCaptureForApps()
DWindowManagerService.java8711 public void addBlockScreenCaptureForApps(ArraySet<PackageInfo> packageInfos) { in addBlockScreenCaptureForApps() argument
8714 mSensitiveContentPackages.addBlockScreenCaptureForApps(packageInfos); in addBlockScreenCaptureForApps()
8745 public void removeBlockScreenCaptureForApps(ArraySet<PackageInfo> packageInfos) { in removeBlockScreenCaptureForApps() argument
8748 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()
/frameworks/base/services/core/java/com/android/server/
DSensitiveContentProtectionManagerService.java401 ArraySet<PackageInfo> packageInfos = in updateAppsThatShouldBlockScreenCapture() local
404 if (packageInfos.size() > 0) { in updateAppsThatShouldBlockScreenCapture()
405 mWindowManager.addBlockScreenCaptureForApps(packageInfos); in updateAppsThatShouldBlockScreenCapture()
558 ArraySet<PackageInfo> packageInfos = new ArraySet<>(); in setSensitiveContentProtection() local
559 packageInfos.add(packageInfo); in setSensitiveContentProtection()
561 mWindowManager.addBlockScreenCaptureForApps(packageInfos); in setSensitiveContentProtection()
566 mWindowManager.removeBlockScreenCaptureForApps(packageInfos); in setSensitiveContentProtection()
/frameworks/base/keystore/aaid/aidl/android/security/keystore/
DKeyAttestationApplicationId.aidl30 KeyAttestationPackageInfo[] packageInfos;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserSystemPackageInstallerTest.java361 final List<PackageInfo> packageInfos = pm.getInstalledPackagesAsUser( in testPackagesForCreateUser_full() local
366 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()
/frameworks/base/services/core/java/com/android/server/security/
DKeyAttestationApplicationIdProviderService.java89 attestAppId.packageInfos = keyAttestationPackageInfos; in getKeyAttestationApplicationId()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DAppHibernationServiceTest.java282 List<PackageInfo> packageInfos = new ArrayList<>(); in testUserLevelStatesInitializedFromDisk() local
283 packageInfos.add(makePackageInfo(PACKAGE_NAME_1)); in testUserLevelStatesInitializedFromDisk()
286 packageInfos.add(stoppedPkg); in testUserLevelStatesInitializedFromDisk()
289 UserInfo user2 = addUser(USER_ID_2, packageInfos); in testUserLevelStatesInitializedFromDisk()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java2127 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);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java253 final List<PackageInfo> packageInfos = new ArrayList<>(); in mockAppCategory() local
268 packageInfos.add(pi); in mockAppCategory()
276 .thenReturn(packageInfos); in mockAppCategory()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java2667 List<PackageInfo> packageInfos; in runGrantRevokePermission() local
2670 packageInfos = pm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in runGrantRevokePermission()
2673 packageInfos = Collections.singletonList(pm.getPackageInfo(pkg, in runGrantRevokePermission()
2682 for (PackageInfo packageInfo : packageInfos) { in runGrantRevokePermission()