Searched refs:enforcedRestriction (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 42 Context context, String enforcedRestriction, UserHandle user) { in getProfileOrDeviceOwner() argument 62 return new EnforcedAdmin(adminComponent, enforcedRestriction, user); in getProfileOrDeviceOwner() 67 return new EnforcedAdmin(adminComponent, enforcedRestriction, user); in getProfileOrDeviceOwner() 84 intent.putExtra(DevicePolicyManager.EXTRA_RESTRICTION, admin.enforcedRestriction); in sendShowAdminSupportDetailsIntent() 113 public String enforcedRestriction = null; field in RestrictedLockUtils.EnforcedAdmin 121 String enforcedRestriction) { in createDefaultEnforcedAdminWithRestriction() argument 123 enforcedAdmin.enforcedRestriction = enforcedRestriction; in createDefaultEnforcedAdminWithRestriction() 132 public EnforcedAdmin(ComponentName component, String enforcedRestriction, UserHandle user) { in EnforcedAdmin() argument 134 this.enforcedRestriction = enforcedRestriction; in EnforcedAdmin() 143 this.enforcedRestriction = other.enforcedRestriction; in EnforcedAdmin() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 103 assertThat(enforcedAdmin.enforcedRestriction).isEqualTo(userRestriction); in checkIfRestrictionEnforced_deviceOwner() 121 assertThat(enforcedAdmin.enforcedRestriction).isEqualTo(userRestriction); in checkIfRestrictionEnforced_profileOwner() 293 enforcedAdmin.enforcedRestriction = "Dummy"; in sendShowAdminSupportDetailsIntent_extraRestrictionProvided()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 550 private static EnforcedAdmin getDeviceOwner(Context context, String enforcedRestriction) { in getDeviceOwner() argument 559 adminComponent, enforcedRestriction, dpm.getDeviceOwnerUser()); in getDeviceOwner() 569 Context context, String enforcedRestriction, int userId) { in getProfileOwner() argument 580 return new EnforcedAdmin(adminComponent, enforcedRestriction, getUserHandleOf(userId)); in getProfileOwner()
|