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.java332 public static String getSeInfo(PackageParser.Package pkg, boolean isPrivileged, in getSeInfo() argument
358 if (isPrivileged) { in getSeInfo()
DPackageSetting.java135 public boolean isPrivileged() { in isPrivileged() method in PackageSetting
DPackageManagerServiceUtils.java570 return disabledPs != null && disabledPs.isPrivileged() && ( in isApkVerificationForced()
DPackageManagerService.java6537 if (it.next().isPrivileged()) {
6543 return ps.isPrivileged();
10902 && !pkg.isPrivileged()
10909 if (sharedUserSetting != null && sharedUserSetting.isPrivileged()) {
11338 final boolean isPrivileged = (sharedUserSetting != null) ?
11339 sharedUserSetting.isPrivileged() | pkg.isPrivileged() : pkg.isPrivileged();
11341 pkg.applicationInfo.seInfo = SELinuxMMAC.getSeInfo(pkg, isPrivileged,
11941 if (!pkg.isPrivileged() && (pkg.mSharedUserId != null)) {
11946 if (sharedUserSetting != null && sharedUserSetting.isPrivileged()) {
17961 if (ps != null && ps.isPrivileged()) {
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java265 void registerRecordingCallback(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in registerRecordingCallback() argument
270 final RecMonitorClient rmc = new RecMonitorClient(rcdb, isPrivileged); in registerRecordingCallback()
272 if (!isPrivileged) { in registerRecordingCallback()
302 List<AudioRecordingConfiguration> getActiveRecordingConfigurations(boolean isPrivileged) { in getActiveRecordingConfigurations() argument
313 if (!isPrivileged) { in getActiveRecordingConfigurations()
471 RecMonitorClient(IRecordingConfigDispatcher rcdb, boolean isPrivileged) { in RecMonitorClient() argument
473 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.java7126 final boolean isPrivileged = in registerRecordingCallback()
7129 mRecordMonitor.registerRecordingCallback(rcdb, isPrivileged); in registerRecordingCallback()
7137 final boolean isPrivileged = in getActiveRecordingConfigurations()
7140 return mRecordMonitor.getActiveRecordingConfigurations(isPrivileged); in getActiveRecordingConfigurations()
7189 final boolean isPrivileged = in registerPlaybackCallback()
7192 mPlaybackMonitor.registerPlaybackCallback(pcdb, isPrivileged); in registerPlaybackCallback()
7200 final boolean isPrivileged = in getActivePlaybackConfigurations()
7203 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()
1458 boolean verifyUid, boolean isPrivileged) { in setMode() argument
1465 Op op = getOpLocked(code, uid, packageName, true, verifyUid, isPrivileged); in setMode()
2579 boolean isPrivileged = false; in getOpsRawLocked()
2594 isPrivileged = (appInfo.privateFlags in getOpsRawLocked()
2599 isPrivileged = false; in getOpsRawLocked()
2620 ops = new Ops(packageName, uidState, isPrivileged); in getOpsRawLocked()
2639 boolean edit, boolean isPrivileged) { in getOpsRawNoVerifyLocked() argument
2657 ops = new Ops(packageName, uidState, isPrivileged); in getOpsRawNoVerifyLocked()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java381 if (!isPrivileged(-1, msg.sendingUid)) { in checkPrivilegedPermissionsAndReplyIfNotAuthorized()
743 private boolean isPrivileged(int pid, int uid) { in isPrivileged() method in WifiServiceImpl
857 || isPrivileged(pid, uid) in isTargetSdkLessThanQOrPrivileged()
876 boolean isPrivileged = isPrivileged(Binder.getCallingPid(), Binder.getCallingUid()); in setWifiEnabled()
877 if (!isPrivileged in setWifiEnabled()
884 if (mSettingsStore.isAirplaneModeOn() && !isPrivileged) { in setWifiEnabled()
891 if (apEnabled && !isPrivileged) { in setWifiEnabled()
907 mWifiMetrics.incrementNumWifiToggles(isPrivileged, enable); in setWifiEnabled()
1840 if (isPrivileged(getCallingPid(), callingUid) || isDeviceOrProfileOwner(callingUid)) { in getConfiguredNetworks()
2612 if (!isPrivileged(Binder.getCallingPid(), Binder.getCallingUid())) { in disableEphemeralNetwork()
DWifiMetrics.java4975 public void incrementNumWifiToggles(boolean isPrivileged, boolean enable) {
4977 if (isPrivileged && enable) {
4979 } else if (isPrivileged && !enable) {
4981 } 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.java1664 boolean privilegedPermission = bp.isPrivileged() || bp.isVendorPrivileged(); in grantSignaturePermission()
1669 if (!privappPermissionsDisable && privilegedPermission && pkg.isPrivileged() in grantSignaturePermission()
1746 if ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1760 && ((privilegedPermission && disabledPs.isPrivileged()) in grantSignaturePermission()
1774 && ((privilegedPermission && disabledParentPs.isPrivileged()) in grantSignaturePermission()
1799 allowed = (privilegedPermission && pkg.isPrivileged()) in grantSignaturePermission()
1961 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()
5376 private boolean isPrivileged(int callingUid) {
5413 if (isPrivileged(callerUid)) {
/frameworks/base/core/java/android/content/pm/
DPackageParser.java6909 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.txt16649 Landroid/content/pm/PackageParser$Package;->isPrivileged()Z