Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java123 public boolean isPrivileged() { in isPrivileged() method in SharedUserSetting
145 final boolean isPrivileged = isPrivileged() | pkg.isPrivileged(); in fixSeInfoLocked()
146 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged, in fixSeInfoLocked()
DSELinuxMMAC.java335 public static String getSeInfo(PackageParser.Package pkg, boolean isPrivileged, in getSeInfo() argument
357 if (isPrivileged) { in getSeInfo()
DPackageSetting.java135 public boolean isPrivileged() { in isPrivileged() method in PackageSetting
DPackageManagerServiceUtils.java570 return disabledPs != null && disabledPs.isPrivileged() && ( in isApkVerificationForced()
DPackageManagerService.java6470 if (it.next().isPrivileged()) {
6476 return ps.isPrivileged();
10851 && !pkg.isPrivileged()
10858 if (sharedUserSetting != null && sharedUserSetting.isPrivileged()) {
11337 final boolean isPrivileged = (sharedUserSetting != null) ?
11338 sharedUserSetting.isPrivileged() | pkg.isPrivileged() : pkg.isPrivileged();
11340 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged,
11953 if (!pkg.isPrivileged() && (pkg.mSharedUserId != null)) {
11958 if (sharedUserSetting != null && sharedUserSetting.isPrivileged()) {
17463 if (ps != null && ps.isPrivileged()) {
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java271 void registerRecordingCallback(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in registerRecordingCallback() argument
276 final RecMonitorClient rmc = new RecMonitorClient(rcdb, isPrivileged); in registerRecordingCallback()
278 if (!isPrivileged) { in registerRecordingCallback()
308 List<AudioRecordingConfiguration> getActiveRecordingConfigurations(boolean isPrivileged) { in getActiveRecordingConfigurations() argument
319 if (!isPrivileged) { in getActiveRecordingConfigurations()
478 RecMonitorClient(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in RecMonitorClient() argument
480 mIsPrivileged = isPrivileged; in RecMonitorClient()
DPlaybackActivityMonitor.java634 void registerPlaybackCallback(IPlaybackConfigDispatcher pcdb, boolean isPrivileged) { in registerPlaybackCallback() argument
639 final PlayMonitorClient pmc = new PlayMonitorClient(pcdb, isPrivileged); in registerPlaybackCallback()
641 if (!isPrivileged) { in registerPlaybackCallback()
673 List<AudioPlaybackConfiguration> getActivePlaybackConfigurations(boolean isPrivileged) { in getActivePlaybackConfigurations() argument
675 if (isPrivileged) { in getActivePlaybackConfigurations()
704 PlayMonitorClient(IPlaybackConfigDispatcher pcdb, boolean isPrivileged) { in PlayMonitorClient() argument
706 mIsPrivileged = isPrivileged; in PlayMonitorClient()
DAudioService.java7273 final boolean isPrivileged = in registerRecordingCallback()
7276 mRecordMonitor.registerRecordingCallback(rcdb, isPrivileged); in registerRecordingCallback()
7284 final boolean isPrivileged = in getActiveRecordingConfigurations()
7287 return mRecordMonitor.getActiveRecordingConfigurations(isPrivileged); in getActiveRecordingConfigurations()
7336 final boolean isPrivileged = in registerPlaybackCallback()
7339 mPlaybackMonitor.registerPlaybackCallback(pcdb, isPrivileged); in registerPlaybackCallback()
7347 final boolean isPrivileged = in getActivePlaybackConfigurations()
7350 return mPlaybackMonitor.getActivePlaybackConfigurations(isPrivileged); in getActivePlaybackConfigurations()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java412 final boolean isPrivileged; field in AppOpsService.Ops
417 isPrivileged = _isPrivileged; in Ops()
1464 boolean isPrivileged; in setMode()
1466 isPrivileged = verifyAndGetIsPrivileged(uid, packageName); in setMode()
1474 Op op = getOpLocked(code, uid, packageName, isPrivileged, true); in setMode()
1854 boolean isPrivileged; in checkOperationUnchecked()
1857 isPrivileged = verifyAndGetIsPrivileged(uid, packageName); in checkOperationUnchecked()
1864 if (isOpRestrictedLocked(uid, code, packageName, isPrivileged)) { in checkOperationUnchecked()
2047 boolean isPrivileged; in noteOperationUnchecked()
2049 isPrivileged = verifyAndGetIsPrivileged(uid, packageName); in noteOperationUnchecked()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java382 if (!isPrivileged(-1, msg.sendingUid)) { in checkPrivilegedPermissionsAndReplyIfNotAuthorized()
740 private boolean isPrivileged(int pid, int uid) { in isPrivileged() method in WifiServiceImpl
884 || isPrivileged(pid, uid) in isTargetSdkLessThanQOrPrivileged()
903 boolean isPrivileged = isPrivileged(Binder.getCallingPid(), Binder.getCallingUid()); in setWifiEnabled()
904 if (!isPrivileged && !isDeviceOrProfileOwner(Binder.getCallingUid()) in setWifiEnabled()
913 if (mSettingsStore.isAirplaneModeOn() && !isPrivileged) { in setWifiEnabled()
920 if (apEnabled && !isPrivileged) { in setWifiEnabled()
941 mWifiMetrics.incrementNumWifiToggles(isPrivileged, enable); in setWifiEnabled()
1887 if (isPrivileged(getCallingPid(), callingUid) || isDeviceOrProfileOwner(callingUid)) { in getConfiguredNetworks()
2654 if (!isPrivileged(Binder.getCallingPid(), Binder.getCallingUid())) { in disableEphemeralNetwork()
DWifiMetrics.java5121 public void incrementNumWifiToggles(boolean isPrivileged, boolean enable) {
5123 if (isPrivileged && enable) {
5125 } else if (isPrivileged && !enable) {
5127 } else if (!isPrivileged && enable) {
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java409 boolean isPrivileged) { in MediaProjection() argument
415 mIsPrivileged = isPrivileged; in MediaProjection()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1668 boolean privilegedPermission = bp.isPrivileged() || bp.isVendorPrivileged(); in grantSignaturePermission()
1673 if (!privappPermissionsDisable && privilegedPermission && pkg.isPrivileged() in grantSignaturePermission()
1751 if ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1765 && ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1779 && ((privilegedPermission && disabledParentPs.isPrivileged()) in grantSignaturePermission()
1804 allowed = (privilegedPermission && pkg.isPrivileged()) in grantSignaturePermission()
1978 if (!disabledPs.isPrivileged() || disabledPs.hasChildPackages()) { in grantRuntimePermissionsGrantedToDisabledPackageLocked()
DBasePermission.java244 public boolean isPrivileged() { in isPrivileged() method in BasePermission
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java696 boolean isPrivileged = isPermittedForPackage(packageName, accounts.userId, in resolveAccountVisibility()
709 || isPrivileged) { in resolveAccountVisibility()
5400 private boolean isPrivileged(int callingUid) {
5437 if (isPrivileged(callerUid)) {
/frameworks/base/core/java/android/content/pm/
DPackageParser.java6967 public boolean isPrivileged() { in isPrivileged() method in Package
/frameworks/base/services/
Dart-profile2341 HSPLcom/android/server/accounts/AccountManagerService;->isPrivileged(I)Z
11426 HSPLcom/android/server/pm/SharedUserSetting;->isPrivileged()Z
/frameworks/base/config/
Dboot-image-profile.txt4279 HSPLandroid/content/pm/PackageParser$Package;->isPrivileged()Z
Dhiddenapi-greylist-max-o.txt15575 Landroid/content/pm/PackageParser$Package;->isPrivileged()Z