Searched refs:enforcedRestriction (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
H A D | RestrictedLockUtils.java | 52 Context context, String enforcedRestriction, UserHandle user) { in getProfileOrDeviceOwner() argument 72 return new EnforcedAdmin(adminComponent, enforcedRestriction, user); in getProfileOrDeviceOwner() 154 public String enforcedRestriction = null; field in RestrictedLockUtils.EnforcedAdmin 167 String enforcedRestriction) { in createDefaultEnforcedAdminWithRestriction() argument 169 enforcedAdmin.enforcedRestriction = enforcedRestriction; in createDefaultEnforcedAdminWithRestriction() 180 this.enforcedRestriction = enforcedRestriction; in EnforcedAdmin() 189 this.enforcedRestriction = other.enforcedRestriction; in EnforcedAdmin() 210 if (!admin1.enforcedRestriction.equals(admin2.enforcedRestriction)) { in combine() 224 && Objects.equals(enforcedRestriction, that.enforcedRestriction); in equals() 229 return Objects.hash(component, enforcedRestriction, user); in hashCode() [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsTest.java | 103 assertThat(enforcedAdmin.enforcedRestriction).isEqualTo(userRestriction); in checkIfRestrictionEnforced_deviceOwner() 121 assertThat(enforcedAdmin.enforcedRestriction).isEqualTo(userRestriction); in checkIfRestrictionEnforced_profileOwner() 293 enforcedAdmin.enforcedRestriction = "Fake"; in sendShowAdminSupportDetailsIntent_extraRestrictionProvided()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsInternal.java | 593 private static EnforcedAdmin getDeviceOwner(Context context, String enforcedRestriction) { in getDeviceOwner() argument 602 adminComponent, enforcedRestriction, dpm.getDeviceOwnerUser()); in getDeviceOwner() 612 Context context, String enforcedRestriction, int userId) { in getProfileOwner() argument 623 return new EnforcedAdmin(adminComponent, enforcedRestriction, getUserHandleOf(userId)); in getProfileOwner()
|