Searched refs:mAdmin2 (Results 1 – 1 of 1) sorted by relevance
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsTest.java | 73 private final ComponentName mAdmin2 = new ComponentName("admin2", "admin2class"); field in RestrictedLockUtilsTest 146 setUpManagedProfile(mUserId, new ComponentName[] {mAdmin1, mAdmin2}); in checkIfKeyguardFeaturesDisabled_noEnforcedAdminForManagedProfile() 156 setUpManagedProfile(mUserId, new ComponentName[] {mAdmin1, mAdmin2}); in checkIfKeyguardFeaturesDisabled_oneEnforcedAdminForManagedProfile() 169 setUpManagedProfile(mUserId, new ComponentName[] {mAdmin1, mAdmin2}); in checkIfKeyguardFeaturesDisabled_multipleEnforcedAdminForManagedProfile() 173 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mUserId)) in checkIfKeyguardFeaturesDisabled_multipleEnforcedAdminForManagedProfile() 190 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 196 assertThat(parent).isEqualTo(new EnforcedAdmin(mAdmin2, UserHandle.of(mProfileId))); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 218 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() 241 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() 276 .getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy() [all …]
|