Home
last modified time | relevance | path

Searched refs:mProtectedPackages (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSensitiveContentPackages.java37 private final ArraySet<PackageInfo> mProtectedPackages = new ArraySet<>(); field in SensitiveContentPackages
48 for (int i = 0; i < mProtectedPackages.size(); i++) { in shouldBlockScreenCaptureForApp()
49 PackageInfo info = mProtectedPackages.valueAt(i); in shouldBlockScreenCaptureForApp()
71 if (mProtectedPackages.equals(packageInfos)) { in addBlockScreenCaptureForApps()
75 mProtectedPackages.addAll(packageInfos); in addBlockScreenCaptureForApps()
87 return mProtectedPackages.removeAll(packageInfos); in removeBlockScreenCaptureForApps()
96 if (mProtectedPackages.isEmpty()) { in clearBlockedApps()
99 mProtectedPackages.clear(); in clearBlockedApps()
108 return mProtectedPackages.size(); in size()
115 + mProtectedPackages.size() + "):"); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSuspendPackageHelper.java64 private final ProtectedPackages mProtectedPackages; field in SuspendPackageHelper
74 mProtectedPackages = protectedPackages; in SuspendPackageHelper()
565 if (mProtectedPackages.isPackageStateProtected(targetUserId, packageName)) { in canSuspendPackageForUser()
637 mProtectedPackages.getDeviceOwnerOrProfileOwnerPackage(targetUserId); in isCallerDeviceOrProfileOwner()
DPackageManagerService.java706 final ProtectedPackages mProtectedPackages; field in PackageManagerService
1907 mProtectedPackages = testParams.protectedPackages; in PackageManagerService()
2091 mProtectedPackages = new ProtectedPackages(mContext); in PackageManagerService()
2123 mProtectedPackages); in PackageManagerService()
3164 mProtectedPackages.getDeviceOwnerOrProfileOwnerPackage(targetUserId);
3890 && mProtectedPackages.isPackageStateProtected(userId, packageName)) {
4769 if (mProtectedPackages.isPackageDataProtected(userId, packageName)) {
5476 return mProtectedPackages.isPackageStateProtected(userId, packageName);
5898 && mProtectedPackages.isPackageStateProtected(userId, packageName)) { in setApplicationHiddenSettingAsUser()
6652 return mProtectedPackages; in getProtectedPackages()
[all …]
DInstallingSession.java424 final String ownerPackage = mPm.mProtectedPackages.getDeviceOwnerOrProfileOwnerPackage( in fixUpInstallReason()
DDeletePackageHelper.java765 if (mPm.mProtectedPackages.isPackageDataProtected(user, packageName)) { in deletePackageVersionedInternal()