Home
last modified time | relevance | path

Searched refs:hasRestriction (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DDevelopmentSettingsEnabler.java47 final boolean hasRestriction = um.hasUserRestriction( in isDevelopmentSettingsEnabled()
50 return isAdmin && !hasRestriction && settingEnabled; in isDevelopmentSettingsEnabled()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java495 private boolean hasRestriction(String restriction, int userId) { in hasRestriction() method in ClipboardService
528 final boolean canCopy = !hasRestriction( in setPrimaryClipInternal()
552 final boolean canCopyIntoProfile = !hasRestriction( in setPrimaryClipInternal()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2788 if (restrictionState.hasRestriction(code, packageName, userHandle)) { in isOpRestrictedLocked()
4657 public boolean hasRestriction(int restriction, String packageName, int userId) { in hasRestriction() method in ClientRestrictionState
/frameworks/base/services/
Dart-profile3807 HSPLcom/android/server/appop/AppOpsService$ClientRestrictionState;->hasRestriction(ILjava/lang/Stri…
5316 PLcom/android/server/clipboard/ClipboardService;->hasRestriction(Ljava/lang/String;I)Z