Home
last modified time | relevance | path

Searched refs:ChooseLockSettingsHelper (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockSettingsHelperTest.java51 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(activity); in testLaunchConfirmationActivityWithExternalAndChallenge()
69 ChooseLockSettingsHelper.EXTRA_KEY_RETURN_CREDENTIALS, false)); in testLaunchConfirmationActivityWithExternalAndChallenge()
71 ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false)); in testLaunchConfirmationActivityWithExternalAndChallenge()
73 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0L)); in testLaunchConfirmationActivityWithExternalAndChallenge()
95 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(activity); in testLaunchConfirmationActivityInternalAndChallenge()
112 ChooseLockSettingsHelper.EXTRA_KEY_RETURN_CREDENTIALS, false)); in testLaunchConfirmationActivityInternalAndChallenge()
114 ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false)); in testLaunchConfirmationActivityInternalAndChallenge()
116 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0L)); in testLaunchConfirmationActivityInternalAndChallenge()
137 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(activity); in testLaunchConfirmationActivity_internal_shouldPropagateTheme()
148 private ChooseLockSettingsHelper getChooseLockSettingsHelper(Activity activity) { in getChooseLockSettingsHelper()
[all …]
DChooseLockPatternTest.java70 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true)) in intentBuilder_setPattern_shouldAddExtras()
74 .getStringExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD)) in intentBuilder_setPattern_shouldAddExtras()
90 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false)) in intentBuilder_setChallenge_shouldAddExtras()
94 .getLongExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0L)) in intentBuilder_setChallenge_shouldAddExtras()
DChooseLockPasswordTest.java79 assertThat(intent.getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true)) in intentBuilder_setPassword_shouldAddExtras()
82 assertThat(intent.getStringExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD)) in intentBuilder_setPassword_shouldAddExtras()
108 assertThat(intent.getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false)) in intentBuilder_setChallenge_shouldAddExtras()
111 assertThat(intent.getLongExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0L)) in intentBuilder_setChallenge_shouldAddExtras()
DSetNewPasswordControllerTest.java25 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE;
26 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT;
27 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE;
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPattern.java98 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false); in IntentBuilder()
107 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true); in setChallenge()
108 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge); in setChallenge()
113 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pattern); in setPattern()
118 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, forFingerprint); in setForFingerprint()
142 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onCreate()
207 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onActivityResult()
400 private ChooseLockSettingsHelper mChooseLockSettingsHelper;
412 mChooseLockSettingsHelper = new ChooseLockSettingsHelper(getActivity()); in onCreate()
421 ChooseLockSettingsHelper.EXTRA_KEY_FOR_CHANGE_CRED_REQUIRED_FOR_BOOT, false)) { in onCreate()
[all …]
DChooseLockGeneric.java137 private ChooseLockSettingsHelper mChooseLockSettingsHelper;
177 mChooseLockSettingsHelper = new ChooseLockSettingsHelper(this.getActivity()); in onCreate()
188 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onCreate()
193 ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false); in onCreate()
195 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0); in onCreate()
197 ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onCreate()
199 ChooseLockSettingsHelper.EXTRA_KEY_FOR_CHANGE_CRED_REQUIRED_FOR_BOOT); in onCreate()
210 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onCreate()
239 ChooseLockSettingsHelper helper = in onCreate()
240 new ChooseLockSettingsHelper(this.getActivity(), this); in onCreate()
[all …]
DChooseLockPassword.java108 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false); in IntentBuilder()
128 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true); in setChallenge()
129 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge); in setChallenge()
134 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, password); in setPassword()
139 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, forFingerprint); in setForFingerprint()
162 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onCreate()
204 private ChooseLockSettingsHelper mChooseLockSettingsHelper;
342 ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onCreate()
344 mChooseLockSettingsHelper = new ChooseLockSettingsHelper(getActivity()); in onCreate()
348 ChooseLockSettingsHelper.EXTRA_KEY_FOR_CHANGE_CRED_REQUIRED_FOR_BOOT, false)) { in onCreate()
[all …]
DChooseLockSettingsHelper.java34 public final class ChooseLockSettingsHelper { class
50 public ChooseLockSettingsHelper(Activity activity) { in ChooseLockSettingsHelper() method in ChooseLockSettingsHelper
55 public ChooseLockSettingsHelper(Activity activity, Fragment fragment) { in ChooseLockSettingsHelper() method in ChooseLockSettingsHelper
262 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_RETURN_CREDENTIALS, returnCredentials); in launchConfirmationActivity()
263 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, hasChallenge); in launchConfirmationActivity()
264 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge); in launchConfirmationActivity()
DConfirmDeviceCredentialActivity.java57 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge); in createIntent()
58 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true); in createIntent()
87 ChooseLockSettingsHelper helper = new ChooseLockSettingsHelper(this); in onCreate()
DSetupChooseLockPassword.java156 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, in onLockTypeSelected()
157 activityIntent.getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, in onLockTypeSelected()
159 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, in onLockTypeSelected()
160 activityIntent.getLongExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0)); in onLockTypeSelected()
DConfirmLockPassword.java347 ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false); in handleNext()
369 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0); in startVerifyPassword()
382 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, in startVerifyPassword()
409 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_TYPE, in startCheckPassword()
413 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pin); in startCheckPassword()
DConfirmLockPattern.java422 ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, false);
446 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, 0);
457 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN,
492 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_TYPE,
494 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD,
DSetNewPasswordController.java131 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true); in getFingerprintChooseLockExtras()
132 chooseLockExtras.putLong(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge); in getFingerprintChooseLockExtras()
133 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, true); in getFingerprintChooseLockExtras()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintEnrollFindSensor.java31 import com.android.settings.password.ChooseLockSettingsHelper;
59 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
135 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onSaveInstanceState()
174 mToken = data.getByteArrayExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onActivityResult()
176 getIntent().putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onActivityResult()
210 ChooseLockSettingsHelper helper = new ChooseLockSettingsHelper(this); in launchConfirmLock()
DFingerprintEnrollIntroduction.java35 import com.android.settings.password.ChooseLockSettingsHelper;
107 final int passwordQuality = new ChooseLockSettingsHelper(this).utils() in updatePasswordQuality()
134 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true); in launchChooseLock()
135 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge); in launchChooseLock()
136 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, true); in launchChooseLock()
146 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, token); in launchFindSensor()
176 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onActivityResult()
DFingerprintEnrollBase.java33 import com.android.settings.password.ChooseLockSettingsHelper;
53 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
56 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
70 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onSaveInstanceState()
125 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in getEnrollingIntent()
DFingerprintSettings.java65 import com.android.settings.password.ChooseLockSettingsHelper;
332 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
464 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, in onSaveInstanceState()
478 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onPreferenceTreeClick()
558 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onActivityResult()
620 ChooseLockSettingsHelper helper = new ChooseLockSettingsHelper(getActivity(), this); in launchChooseOrConfirmLock()
629 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_HAS_CHALLENGE, true); in launchChooseOrConfirmLock()
631 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE, challenge); in launchChooseOrConfirmLock()
DSetupFingerprintEnrollFinish.java26 import com.android.settings.password.ChooseLockSettingsHelper;
33 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in getEnrollingIntent()
DSetupFingerprintEnrollFindSensor.java34 import com.android.settings.password.ChooseLockSettingsHelper;
46 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in getEnrollingIntent()
/packages/apps/Settings/src/com/android/settings/
DSecuritySettings.java70 import com.android.settings.password.ChooseLockSettingsHelper;
157 private ChooseLockSettingsHelper mChooseLockSettingsHelper;
207 mChooseLockSettingsHelper = new ChooseLockSettingsHelper(activity); in onCreate()
667 ChooseLockSettingsHelper helper = in onPreferenceTreeClick()
668 new ChooseLockSettingsHelper(this.getActivity(), this); in onPreferenceTreeClick()
699 data.getStringExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onActivityResult()
705 data.getStringExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onActivityResult()
719 final ChooseLockSettingsHelper helper = in launchConfirmDeviceLockForUnification()
720 new ChooseLockSettingsHelper(getActivity(), this); in launchConfirmDeviceLockForUnification()
730 final ChooseLockSettingsHelper helper = in launchConfirmProfileLockForUnification()
[all …]
DCryptKeeperSettings.java40 import com.android.settings.password.ChooseLockSettingsHelper;
167 ChooseLockSettingsHelper helper = new ChooseLockSettingsHelper(getActivity(), this); in runKeyguardConfirmation()
190 int type = data.getIntExtra(ChooseLockSettingsHelper.EXTRA_KEY_TYPE, -1); in onActivityResult()
191 String password = data.getStringExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onActivityResult()
/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java40 import com.android.settings.password.ChooseLockSettingsHelper;
165 ChooseLockSettingsHelper helper = new ChooseLockSettingsHelper(this); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DBuildNumberPreferenceController.java41 import com.android.settings.password.ChooseLockSettingsHelper;
153 final ChooseLockSettingsHelper helper = in handlePreferenceTreeClick()
154 new ChooseLockSettingsHelper(mActivity, mFragment); in handlePreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/applications/
DConvertToFbe.java31 import com.android.settings.password.ChooseLockSettingsHelper;
42 return new ChooseLockSettingsHelper(getActivity(), this) in runKeyguardConfirmation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/
DSetupFingerprintEnrollFindSensorTest.java29 import com.android.settings.password.ChooseLockSettingsHelper;
82 .putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, new byte[0]); in createIntent()

12