Searched refs:mAdmin2 (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 70 private final ComponentName mAdmin2 = new ComponentName("admin2", "admin2class"); field in RestrictedLockUtilsTest 157 setUpManagedProfile(mUserId, new ComponentName[] {mAdmin1, mAdmin2}); in checkIfKeyguardFeaturesDisabled_noEnforcedAdminForManagedProfile() 167 setUpManagedProfile(mUserId, new ComponentName[] {mAdmin1, mAdmin2}); in checkIfKeyguardFeaturesDisabled_oneEnforcedAdminForManagedProfile() 180 setUpManagedProfile(mUserId, new ComponentName[] {mAdmin1, mAdmin2}); in checkIfKeyguardFeaturesDisabled_multipleEnforcedAdminForManagedProfile() 184 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mUserId)) in checkIfKeyguardFeaturesDisabled_multipleEnforcedAdminForManagedProfile() 196 UserInfo profileInfo = setUpManagedProfile(mProfileId, new ComponentName[] {mAdmin2}); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 201 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 207 assertThat(parent).isEqualTo(new EnforcedAdmin(mAdmin2, UserHandle.of(mProfileId))); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 212 assertThat(profile).isEqualTo(new EnforcedAdmin(mAdmin2, UserHandle.of(mProfileId))); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 224 UserInfo profileInfo = setUpManagedProfile(mProfileId, new ComponentName[] {mAdmin2}); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() [all …]
|