Home
last modified time | relevance | path

Searched refs:isPrivileged (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java118 public boolean isPrivileged() { in isPrivileged() method in SharedUserSetting
140 final boolean isPrivileged = isPrivileged() | pkg.isPrivileged(); in fixSeInfoLocked()
141 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged, in fixSeInfoLocked()
DSELinuxMMAC.java325 public static String getSeInfo(PackageParser.Package pkg, boolean isPrivileged, in getSeInfo() argument
351 if (isPrivileged) { in getSeInfo()
DPackageSetting.java135 public boolean isPrivileged() { in isPrivileged() method in PackageSetting
DPackageManagerServiceUtils.java544 return disabledPs != null && disabledPs.isPrivileged() && isApkVerityEnabled(); in isApkVerificationForced()
DPackageManagerService.java5949 if (it.next().isPrivileged()) {
5955 return ps.isPrivileged();
10072 && !pkg.isPrivileged()
10079 if (sharedUserSetting != null && sharedUserSetting.isPrivileged()) {
10584 final boolean isPrivileged = (sharedUserSetting != null) ?
10585 sharedUserSetting.isPrivileged() | pkg.isPrivileged() : pkg.isPrivileged();
10587 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged,
11172 if (!pkg.isPrivileged() && (pkg.mSharedUserId != null)) {
11177 if (sharedUserSetting != null && sharedUserSetting.isPrivileged()) {
17464 if (ps != null && ps.isPrivileged()) {
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java126 void registerRecordingCallback(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in registerRecordingCallback() argument
131 final RecMonitorClient rmc = new RecMonitorClient(rcdb, isPrivileged); in registerRecordingCallback()
133 if (!isPrivileged) { in registerRecordingCallback()
163 List<AudioRecordingConfiguration> getActiveRecordingConfigurations(boolean isPrivileged) { in getActiveRecordingConfigurations() argument
165 if (isPrivileged) { in getActiveRecordingConfigurations()
269 RecMonitorClient(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in RecMonitorClient() argument
271 mIsPrivileged = isPrivileged; in RecMonitorClient()
DPlaybackActivityMonitor.java551 void registerPlaybackCallback(IPlaybackConfigDispatcher pcdb, boolean isPrivileged) { in registerPlaybackCallback() argument
556 final PlayMonitorClient pmc = new PlayMonitorClient(pcdb, isPrivileged); in registerPlaybackCallback()
558 if (!isPrivileged) { in registerPlaybackCallback()
590 List<AudioPlaybackConfiguration> getActivePlaybackConfigurations(boolean isPrivileged) { in getActivePlaybackConfigurations() argument
592 if (isPrivileged) { in getActivePlaybackConfigurations()
621 PlayMonitorClient(IPlaybackConfigDispatcher pcdb, boolean isPrivileged) { in PlayMonitorClient() argument
623 mIsPrivileged = isPrivileged; in PlayMonitorClient()
DAudioService.java7791 final boolean isPrivileged = in registerRecordingCallback()
7794 mRecordMonitor.registerRecordingCallback(rcdb, isPrivileged); in registerRecordingCallback()
7802 final boolean isPrivileged = in getActiveRecordingConfigurations()
7805 return mRecordMonitor.getActiveRecordingConfigurations(isPrivileged); in getActiveRecordingConfigurations()
7830 final boolean isPrivileged = in registerPlaybackCallback()
7833 mPlaybackMonitor.registerPlaybackCallback(pcdb, isPrivileged); in registerPlaybackCallback()
7841 final boolean isPrivileged = in getActivePlaybackConfigurations()
7844 return mPlaybackMonitor.getActivePlaybackConfigurations(isPrivileged); in getActivePlaybackConfigurations()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java389 final boolean isPrivileged; field in AppOpsService.Ops
394 isPrivileged = _isPrivileged; in Ops()
1956 boolean isPrivileged = false; in getOpsRawLocked()
1970 isPrivileged = (appInfo.privateFlags in getOpsRawLocked()
1975 isPrivileged = false; in getOpsRawLocked()
1996 ops = new Ops(packageName, uidState, isPrivileged); in getOpsRawLocked()
2056 if ((ops != null) && ops.isPrivileged) { in isOpRestrictedLocked()
2250 boolean isPrivileged = false; in readUid()
2258 isPrivileged = (appInfo.privateFlags in readUid()
2269 isPrivileged = Boolean.parseBoolean(isPrivilegedString); in readUid()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1041 boolean privilegedPermission = bp.isPrivileged() || bp.isVendorPrivileged(); in grantSignaturePermission()
1046 if (!privappPermissionsDisable && privilegedPermission && pkg.isPrivileged() in grantSignaturePermission()
1120 if ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1134 && ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1148 && ((privilegedPermission && disabledParentPs.isPrivileged()) in grantSignaturePermission()
1173 allowed = (privilegedPermission && pkg.isPrivileged()) in grantSignaturePermission()
1298 if (!disabledPs.isPrivileged() || disabledPs.hasChildPackages()) { in grantRuntimePermissionsGrantedToDisabledPackageLocked()
DBasePermission.java216 public boolean isPrivileged() { in isPrivileged() method in BasePermission
DDefaultPermissionGrantPolicy.java1289 if (!pkg.isPrivileged()) { in isSysComponentOrPersistentPlatformSignedPrivApp()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java742 if (pkg.isPrivileged() && isPackageSelectedToRunOob(pkg.packageName)) { in maybeLogUnexpectedPackageDetails()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java699 boolean isPrivileged = isPermittedForPackage(packageName, uid, accounts.userId, in resolveAccountVisibility()
712 || isPrivileged) { in resolveAccountVisibility()
5375 private boolean isPrivileged(int callingUid) {
5412 if (isPrivileged(callerUid)) {
/frameworks/base/core/java/android/content/pm/
DPackageParser.java6651 public boolean isPrivileged() { in isPrivileged() method in PackageParser.Package
/frameworks/base/config/
Dboot-image-profile.txt18625 HSPLandroid/content/pm/PackageParser$Package;->isPrivileged()Z