Home
last modified time | relevance | path

Searched refs:ShadowLockPatternUtils (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java59 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
79 ShadowLockPatternUtils.class,
103 ShadowLockPatternUtils.reset(); in tearDown()
393 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in updatePreferencesOrFinish_ComplexityIsReadFromDPM()
409 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM()
429 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_LOW); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher()
450 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_LOW); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordComplexityPassedOn()
451 ShadowLockPatternUtils.setRequiredProfilePasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordComplexityPassedOn()
469 ShadowLockPatternUtils.setRequestedPasswordMetrics(policy.getMinMetrics()); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordQualityPassedOn()
472 ShadowLockPatternUtils.setRequestedProfilePasswordMetrics(profilePolicy.getMinMetrics()); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordQualityPassedOn()
[all …]
DChooseLockPasswordTest.java52 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
71 ShadowLockPatternUtils.class,
89 ShadowLockPatternUtils.reset(); in tearDown()
256 @Config(shadows = ShadowLockPatternUtils.class)
270 @Config(shadows = ShadowLockPatternUtils.class)
284 @Config(shadows = ShadowLockPatternUtils.class)
298 @Config(shadows = ShadowLockPatternUtils.class)
312 @Config(shadows = ShadowLockPatternUtils.class)
421 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_LOW); in validateComplexityMergedFromDpmOnCreate()
DSetupChooseLockGenericTest.java30 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
48 ShadowLockPatternUtils.class,
DChooseLockTypeDialogFragmentTest.java36 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
47 @Config(shadows = {ShadowAlertDialogCompat.class, ShadowLockPatternUtils.class})
DSetupChooseLockPatternTest.java42 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
62 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class, ShadowLockPatternUtils.class})
DSetupChooseLockPasswordTest.java40 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
68 ShadowLockPatternUtils.class,
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java28 import com.android.car.settings.testutils.ShadowLockPatternUtils;
55 @Config(shadows = ShadowLockPatternUtils.class)
66 ShadowLockPatternUtils.reset(); in setupService()
77 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC); in testBindReturnsNull_ifLockSet()
159 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC); in testSetLockPassword_doesNotWorkWithExistingPassword()
181 assertThat(Arrays.equals(ShadowLockPatternUtils.getSavedPassword(), in testSetLockPassword_setsDevicePassword()
193 assertThat(Arrays.equals(ShadowLockPatternUtils.getSavedPassword(), in testSetLockPin_setsDevicePin()
214 byte[] savedPattern = ShadowLockPatternUtils.getSavedPattern(); in testSetLockPattern_setsDevicePattern()
DNoLockPreferenceControllerTest.java34 import com.android.car.settings.testutils.ShadowLockPatternUtils;
47 @Config(shadows = {ShadowLockPatternUtils.class})
71 ShadowLockPatternUtils.reset(); in tearDown()
104 assertThat(ShadowLockPatternUtils.getClearLockCredential()).isEqualTo( in testConfirmRemoveScreenLockListener_removesLock()
106 assertThat(ShadowLockPatternUtils.getClearLockUser()).isEqualTo(UserHandle.myUserId()); in testConfirmRemoveScreenLockListener_removesLock()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DEncryptionStatusPreferenceControllerTest.java31 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
42 @Config(shadows = {ShadowLockPatternUtils.class, ShadowUserManager.class})
91 ShadowLockPatternUtils.setDeviceEncryptionEnabled(true); in updateSummary_encrypted_shouldSayEncrypted()
102 ShadowLockPatternUtils.setDeviceEncryptionEnabled(false); in updateSummary_unencrypted_shouldHasEncryptionFragment()
117 ShadowLockPatternUtils.setDeviceEncryptionEnabled(false); in updateSummary_unencrypted_securityPage_shouldNotHaveEncryptionFragment()
DLockscreenDashboardFragmentTest.java37 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
53 @Config(shadows = {ShadowUtils.class, ShadowLockPatternUtils.class})
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DQuickAccessWalletClientTest.java63 QuickAccessWalletClientTest.ShadowLockPatternUtils.class})
165 ShadowLockPatternUtils.sIsUserInLockdown = true; in isWalletFeatureAvailable_userInLockdown()
210 public static class ShadowLockPatternUtils { class in QuickAccessWalletClientTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintSuggestionActivityTest.java38 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
62 ShadowLockPatternUtils.class,
DSetupFingerprintEnrollIntroductionTest.java41 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
67 ShadowLockPatternUtils.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceControllerTest.java37 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
58 ShadowLockPatternUtils.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java40 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
64 ShadowBluetoothAdapter.class, ShadowLockPatternUtils.class})
DSettingsSliceProviderTest.java60 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
101 ShadowBluetoothAdapter.class, ShadowLockPatternUtils.class,
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLockPatternUtils.java32 public class ShadowLockPatternUtils { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowLockPatternUtils.java36 public class ShadowLockPatternUtils { class