/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | InjectedSetting.java | 72 public final String userRestriction; field in InjectedSetting 81 this.userRestriction = builder.mUserRestriction; in InjectedSetting() 93 ", userRestriction='" + userRestriction + in toString() 119 && Objects.equals(userRestriction, that.userRestriction); in equals() 130 result = 31 * result + (userRestriction == null ? 0 : userRestriction.hashCode()); in hashCode() 173 public Builder setUserRestriction(String userRestriction) { in setUserRestriction() argument 174 mUserRestriction = userRestriction; in setUserRestriction()
|
D | SettingsInjector.java | 283 final String userRestriction = sa.getString( in parseAttributes() local 296 .setUserRestriction(userRestriction) in parseAttributes()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedPreferenceHelper.java | 66 final TypedValue userRestriction = in RestrictedPreferenceHelper() local 69 if (userRestriction != null && userRestriction.type == TypedValue.TYPE_STRING) { in RestrictedPreferenceHelper() 70 if (userRestriction.resourceId != 0) { in RestrictedPreferenceHelper() 71 data = context.getText(userRestriction.resourceId); in RestrictedPreferenceHelper() 73 data = userRestriction.string; in RestrictedPreferenceHelper() 169 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled() argument 171 userRestriction, userId); in checkRestrictionAndSetDisabled()
|
D | RestrictedTopLevelPreference.java | 77 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled() argument 78 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() 87 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled() argument 88 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); in checkRestrictionAndSetDisabled()
|
D | RestrictedPreference.java | 91 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled() argument 92 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() 95 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled() argument 96 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); in checkRestrictionAndSetDisabled()
|
D | RestrictedLockUtilsInternal.java | 93 String userRestriction, int userId) { in checkIfRestrictionEnforced() argument 103 um.getUserRestrictionSources(userRestriction, userHandle); in checkIfRestrictionEnforced() 112 .createDefaultEnforcedAdminWithRestriction(userRestriction); in checkIfRestrictionEnforced() 116 + userRestriction + "' on user " + userHandle + "; returning default admin " in checkIfRestrictionEnforced() 127 return getProfileOwner(context, userRestriction, adminUserId); in checkIfRestrictionEnforced() 133 ? getProfileOwner(context, userRestriction, adminUserId) in checkIfRestrictionEnforced() 134 : EnforcedAdmin.createDefaultEnforcedAdminWithRestriction(userRestriction); in checkIfRestrictionEnforced() 140 ? getDeviceOwner(context, userRestriction) in checkIfRestrictionEnforced() 141 : EnforcedAdmin.createDefaultEnforcedAdminWithRestriction(userRestriction); in checkIfRestrictionEnforced() 149 String userRestriction, int userId) { in hasBaseUserRestriction() argument [all …]
|
D | RestrictedSwitchPreference.java | 194 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled() argument 195 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId()); in checkRestrictionAndSetDisabled() 198 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled() argument 199 mHelper.checkRestrictionAndSetDisabled(userRestriction, userId); in checkRestrictionAndSetDisabled()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 93 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_deviceOwner() local 94 when(mUserManager.getUserRestrictionSources(userRestriction, in checkIfRestrictionEnforced_deviceOwner() 100 .checkIfRestrictionEnforced(mContext, userRestriction, mUserId); in checkIfRestrictionEnforced_deviceOwner() 103 assertThat(enforcedAdmin.enforcedRestriction).isEqualTo(userRestriction); in checkIfRestrictionEnforced_deviceOwner() 111 final String userRestriction = UserManager.DISALLOW_UNINSTALL_APPS; in checkIfRestrictionEnforced_profileOwner() local 112 when(mUserManager.getUserRestrictionSources(userRestriction, in checkIfRestrictionEnforced_profileOwner() 118 .checkIfRestrictionEnforced(mContext, userRestriction, mUserId); in checkIfRestrictionEnforced_profileOwner() 121 assertThat(enforcedAdmin.enforcedRestriction).isEqualTo(userRestriction); in checkIfRestrictionEnforced_profileOwner()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | BluetoothTileTest.kt | 169 userRestriction: String? in checkIfRestrictionEnforcedByAdminOnly() 171 restrictionChecked = userRestriction in checkIfRestrictionEnforcedByAdminOnly()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManagerInternal.java | 138 public abstract Intent createUserRestrictionSupportIntent(int userId, String userRestriction); in createUserRestrictionSupportIntent() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeDetails.java | 375 for (String userRestriction : defaultFirstUserRestrictions) { in dump() 376 if (UserRestrictionsUtils.isValidRestriction(userRestriction)) { in dump() 377 restrictions.putBoolean(userRestriction, true); in dump()
|
D | UserRestrictionsUtils.java | 888 String userRestriction, boolean newValue) { in getNewUserRestrictionSetting() argument 889 return (newValue || UserManager.get(context).hasUserRestriction(userRestriction, in getNewUserRestrictionSetting()
|
D | UserManagerService.java | 3387 for (String userRestriction : defaultFirstUserRestrictions) { in fallbackToSingleUserLP() 3388 if (UserRestrictionsUtils.isValidRestriction(userRestriction)) { in fallbackToSingleUserLP() 3389 restrictions.putBoolean(userRestriction, true); in fallbackToSingleUserLP()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 243 private void enforceUserRestriction(String userRestriction) { in enforceUserRestriction() argument 244 if (UserManager.get(mContext).hasUserRestriction(userRestriction)) { in enforceUserRestriction() 246 "OEM unlock is disallowed by user restriction: " + userRestriction); in enforceUserRestriction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 528 protected void checkIfRestrictionEnforcedByAdminOnly(State state, String userRestriction) { in checkIfRestrictionEnforcedByAdminOnly() argument 530 userRestriction, mHost.getUserId()); in checkIfRestrictionEnforcedByAdminOnly() 532 userRestriction, mHost.getUserId())) { in checkIfRestrictionEnforcedByAdminOnly()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 10997 ComponentName admin, String userRestriction, int userId) { 10998 switch(mUserManager.getUserRestrictionSource(userRestriction, UserHandle.of(userId))) { 13103 public Intent createUserRestrictionSupportIntent(int userId, String userRestriction) { 13105 if (getEnforcingAdminAndUserDetailsInternal(userId, userRestriction) != null) { 13107 intent.putExtra(DevicePolicyManager.EXTRA_RESTRICTION, userRestriction);
|
/frameworks/base/core/api/ |
D | system-current.txt | 384 field public static final int userRestriction = 16844164; // 0x1010584
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 76701 Lcom/android/internal/R$attr;->userRestriction:I
|