Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DTrustedDeviceListPreferenceControllerTest.java42 import com.android.car.settings.testutils.ShadowLockPatternUtils;
62 @Config(shadows = {ShadowCar.class, ShadowLockPatternUtils.class})
101 ShadowLockPatternUtils.reset(); in tearDown()
106 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in onDeviceRemoved_refreshUi()
130 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in onDeviceAdded_refreshUi()
150 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in refreshUi_noDevices_hasPassword_hidesGroup()
163 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in refreshUi_devices_hasPassword_showsGroup()
175 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED); in refreshUi_noPassword_showAuthenticationReminderPreference()
187 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in onPreferenceClicked_hasPassword_showDialog()
DAddTrustedDevicePreferenceControllerTest.java44 import com.android.car.settings.testutils.ShadowLockPatternUtils;
61 @Config(shadows = {ShadowLockPatternUtils.class, ShadowBluetoothAdapter.class,
89 ShadowLockPatternUtils.reset(); in tearDown()
96 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in refreshUi_hasPassword_preferenceEnabled()
107 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_UNSPECIFIED); in refreshUi_noPassword_preferenceDisabled()
118 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in refreshUi_bluetoothAdapterEnabled_setsEmptySummary()
141 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_SOMETHING); in onPreferenceClicked_hasPassword_enableBluetooth()
DInitialLockSetupServiceTest.java29 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 List<LockPatternView.Cell> savedPattern = ShadowLockPatternUtils.getSavedPattern(); in testSetLockPattern_setsDevicePattern()
DNoLockPreferenceControllerTest.java35 import com.android.car.settings.testutils.ShadowLockPatternUtils;
47 @Config(shadows = {ShadowCarUserManagerHelper.class, ShadowLockPatternUtils.class})
75 ShadowLockPatternUtils.reset(); in tearDown()
95 assertThat(ShadowLockPatternUtils.getClearLockCredential()).isEqualTo( in testConfirmRemoveScreenLockListener_removesLock()
97 assertThat(ShadowLockPatternUtils.getClearLockUser()).isEqualTo(TEST_USER); in testConfirmRemoveScreenLockListener_removesLock()
DAddTrustedDeviceActivityTest.java39 import com.android.car.settings.testutils.ShadowLockPatternUtils;
56 @Config(shadows = {ShadowCar.class, ShadowLockPatternUtils.class})
86 ShadowLockPatternUtils.setPasswordQuality(DevicePolicyManager.PASSWORD_QUALITY_NUMERIC); in setUp()
93 ShadowLockPatternUtils.reset(); in tearDown()
/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/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockPasswordTest.java49 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
225 @Config(shadows = ShadowLockPatternUtils.class)
237 @Config(shadows = ShadowLockPatternUtils.class)
249 @Config(shadows = ShadowLockPatternUtils.class)
261 @Config(shadows = ShadowLockPatternUtils.class)
273 @Config(shadows = ShadowLockPatternUtils.class)
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})
DSetupChooseLockPasswordTest.java37 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
64 ShadowLockPatternUtils.class,
DSetupChooseLockPatternTest.java41 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
61 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class, ShadowLockPatternUtils.class})
DChooseLockGenericTest.java47 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
64 ShadowLockPatternUtils.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintSuggestionActivityTest.java31 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
49 @Config(shadows = {ShadowLockPatternUtils.class, ShadowUserManager.class})
DSetupFingerprintEnrollIntroductionTest.java36 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
59 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.java38 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
61 ShadowBluetoothAdapter.class, ShadowLockPatternUtils.class})
DSettingsSliceProviderTest.java56 import com.android.settings.testutils.shadow.ShadowLockPatternUtils;
94 ShadowBluetoothAdapter.class, ShadowLockPatternUtils.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowLockPatternUtils.java30 public class ShadowLockPatternUtils { class
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLockPatternUtils.java35 public class ShadowLockPatternUtils { class