Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DScreenPinningSettingsTest.java36 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
53 @Config(shadows = ShadowLockPatternUtils.class)
67 ShadowLockPatternUtils.reset(); in tearDown()
72 ShadowLockPatternUtils.setKeyguardStoredPasswordQuality( in getDynamicRawDataToIndex_numericPassword_shouldIndexUnlockPinTitle()
86 ShadowLockPatternUtils.setKeyguardStoredPasswordQuality( in getDynamicRawDataToIndex_alphabeticPassword_shouldIndexUnlockPasswordTitle()
100 ShadowLockPatternUtils.setKeyguardStoredPasswordQuality( in getDynamicRawDataToIndex_patternPassword_shouldIndexUnlockPatternTitle()
102 ShadowLockPatternUtils.setIsLockPatternEnabled( in getDynamicRawDataToIndex_patternPassword_shouldIndexUnlockPatternTitle()
116 ShadowLockPatternUtils.setKeyguardStoredPasswordQuality( in getDynamicRawDataToIndex_nonePassword_shouldIndexUnlockNoneTitle()
DEncryptionStatusPreferenceControllerTest.java31 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
42 @Config(shadows = {ShadowLockPatternUtils.class, ShadowUserManager.class})
76 ShadowLockPatternUtils.setDeviceEncryptionEnabled(true); in updateSummary_encrypted_shouldSayEncrypted()
87 ShadowLockPatternUtils.setDeviceEncryptionEnabled(false); in updateSummary_unencrypted_shouldSayUnencrypted()
102 ShadowLockPatternUtils.setDeviceEncryptionEnabled(false); in updateSummary_unencrypted_securityPage_shouldSayUnencrypted()
DLockscreenDashboardFragmentTest.java37 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
53 @Config(shadows = {ShadowUtils.class, ShadowLockPatternUtils.class})
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
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()
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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockPasswordTest.java56 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
75 ShadowLockPatternUtils.class,
89 ShadowLockPatternUtils.reset(); in tearDown()
287 @Config(shadows = ShadowLockPatternUtils.class)
301 @Config(shadows = ShadowLockPatternUtils.class)
315 @Config(shadows = ShadowLockPatternUtils.class)
329 @Config(shadows = ShadowLockPatternUtils.class)
343 @Config(shadows = ShadowLockPatternUtils.class)
439 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_LOW); in validateComplexityMergedFromDpmOnCreate()
DChooseLockGenericTest.java71 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
96 ShadowLockPatternUtils.class,
145 ShadowLockPatternUtils.reset(); in tearDown()
489 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in updatePreferencesOrFinish_ComplexityIsReadFromDPM()
505 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM()
525 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_LOW); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher()
546 ShadowLockPatternUtils.setRequiredPasswordComplexity(PASSWORD_COMPLEXITY_LOW); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordComplexityPassedOn()
547 ShadowLockPatternUtils.setRequiredProfilePasswordComplexity(PASSWORD_COMPLEXITY_HIGH); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordComplexityPassedOn()
565 ShadowLockPatternUtils.setRequestedPasswordMetrics(policy.getMinMetrics()); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordQualityPassedOn()
568 ShadowLockPatternUtils.setRequestedProfilePasswordMetrics(profilePolicy.getMinMetrics()); in getLockPasswordIntent_DevicePasswordRequirementOnly_PasswordQualityPassedOn()
[all …]
DConfirmLockPatternTest.java55 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
79 ShadowLockPatternUtils.class,
118 ShadowLockPatternUtils.setIsSecure(UserHandle.myUserId(), false); in setUp()
126 ShadowLockPatternUtils.reset(); in tearDown()
DConfirmLockPasswordTest.java59 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
81 ShadowLockPatternUtils.class,
120 ShadowLockPatternUtils.setIsSecure(UserHandle.myUserId(), false); in setUp()
128 ShadowLockPatternUtils.reset(); in tearDown()
DChooseLockTypeDialogFragmentTest.java37 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
48 @Config(shadows = {ShadowAlertDialogCompat.class, ShadowLockPatternUtils.class})
DConfirmCredentialTest.java45 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
62 ShadowLockPatternUtils.class,
DSetupChooseLockGenericTest.java43 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
69 ShadowLockPatternUtils.class,
DSetupChooseLockPasswordTest.java41 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
71 ShadowLockPatternUtils.class,
DSetupChooseLockPatternTest.java46 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
68 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class, ShadowLockPatternUtils.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceEnrollIntroductionTest.java72 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
106 ShadowLockPatternUtils.class,
198 ShadowLockPatternUtils.reset(); in tearDown()
547 ShadowLockPatternUtils.setActivePasswordQuality(PASSWORD_QUALITY_NUMERIC); in testFaceEnrollIntroduction_maxFacesEnrolled_isSuw_notLaunchFaceSettings()
564 ShadowLockPatternUtils.setActivePasswordQuality(PASSWORD_QUALITY_NUMERIC); in testFaceEnrollIntroduction_maxFacesEnrolled_fromSettings_notLaunchFaceSettings()
583 ShadowLockPatternUtils.setActivePasswordQuality(PASSWORD_QUALITY_NUMERIC); in testFaceEnrollIntroduction_hasPostureCallback()
601 ShadowLockPatternUtils.setActivePasswordQuality(PASSWORD_QUALITY_NUMERIC); in testFaceEnrollIntroduction_maxFacesEnrolled_noPostureCallback()
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DQuickAccessWalletClientTest.java62 QuickAccessWalletClientTest.ShadowLockPatternUtils.class})
164 ShadowLockPatternUtils.sIsUserInLockdown = true; in isWalletFeatureAvailable_userInLockdown()
209 public static class ShadowLockPatternUtils { class in QuickAccessWalletClientTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java73 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
92 @Config(shadows = ShadowLockPatternUtils.class)
135 ShadowLockPatternUtils.reset(); in tearDown()
350 ShadowLockPatternUtils.setUserOwnsFrpCredential(true); in checkUserOwnsFrpCredential_userOwnsFrpCredential_returnUserId()
357 ShadowLockPatternUtils.setUserOwnsFrpCredential(false); in checkUserOwnsFrpCredential_userNotOwnsFrpCredential_returnUserId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintSuggestionActivityTest.java38 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
63 ShadowLockPatternUtils.class,
DFingerprintSettingsFragmentTest.java61 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
86 ShadowUserManager.class, ShadowLockPatternUtils.class})
DSetupFingerprintEnrollIntroductionTest.java45 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
72 ShadowLockPatternUtils.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/
DMultiBiometricEnrollHelperTest.java39 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
66 ShadowLockPatternUtils.class
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceControllerTest.java37 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
59 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/slices/
DSlicesDatabaseAccessorTest.java40 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
65 ShadowBluetoothAdapter.class, ShadowLockPatternUtils.class})
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowLockPatternUtils.java41 public class ShadowLockPatternUtils { class

12