Searched refs:hasRestriction (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
H A D | DevelopmentSettingsEnabler.java | 47 final boolean hasRestriction = um.hasUserRestriction( in isDevelopmentSettingsEnabled() 50 return isAdmin && !hasRestriction && settingEnabled; in isDevelopmentSettingsEnabled()
|
/aosp14/frameworks/base/services/core/java/com/android/server/clipboard/ |
H A D | ClipboardService.java | 853 private boolean hasRestriction(String restriction, int userId) { in hasRestriction() method in ClipboardService 887 final boolean canCopy = !hasRestriction( in setPrimaryClipInternalLocked() 911 final boolean canCopyIntoProfile = !hasRestriction( in setPrimaryClipInternalLocked() 1060 final boolean canCopyIntoProfile = !hasRestriction( in doClassification()
|
/aosp14/frameworks/base/services/core/java/com/android/server/appop/ |
H A D | AppOpsService.java | 4065 if (restrictionState.hasRestriction(code)) { in isOpRestrictedLocked() 4077 if (restrictionState.hasRestriction(code, packageName, attributionTag, userHandle, in isOpRestrictedLocked() 6112 public boolean hasRestriction(int code, String packageName, String attributionTag, 6153 boolean hasRestriction(int code) { 6251 .hasRestriction(code, pkg, attributionTag, user.getIdentifier(), 6259 if (mOpGlobalRestrictions.valueAt(i).hasRestriction(code)) {
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 2041 boolean hasRestriction = 2045 boolean disallowRunInBg = hasRestriction || shouldStopUserOnSwitch();
|
/aosp14/frameworks/base/services/ |
H A D | art-profile | 2472 HSPLcom/android/server/appop/AppOpsService$ClientUserRestrictionState;->hasRestriction(ILjava/lang/…
|