Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockSettingsHelperTest.java42 ChooseLockSettingsHelper.Builder builder = new ChooseLockSettingsHelper.Builder(activity); in testLaunchConfirmationActivityWithExternal()
49 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in testLaunchConfirmationActivityWithExternal()
58 ChooseLockSettingsHelper.EXTRA_KEY_RETURN_CREDENTIALS, false)); in testLaunchConfirmationActivityWithExternal()
72 ChooseLockSettingsHelper.Builder builder = new ChooseLockSettingsHelper.Builder(activity); in testLaunchConfirmationActivityInternal()
80 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in testLaunchConfirmationActivityInternal()
90 ChooseLockSettingsHelper.EXTRA_KEY_RETURN_CREDENTIALS, true)); in testLaunchConfirmationActivityInternal()
92 ChooseLockSettingsHelper.EXTRA_KEY_FORCE_VERIFY, true)); in testLaunchConfirmationActivityInternal()
108 ChooseLockSettingsHelper.Builder builder = new ChooseLockSettingsHelper.Builder(activity); in testLaunchConfirmationActivity_internal_shouldPropagateTheme()
113 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in testLaunchConfirmationActivity_internal_shouldPropagateTheme()
127 ChooseLockSettingsHelper.Builder builder = new ChooseLockSettingsHelper.Builder(activity); in launchConfirmPattern_ForceVerify_shouldLaunchInternalActivity()
[all …]
DChooseLockGenericTest.java30 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_CALLER_APP_NAME;
31 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_DEVICE_PASSWORD_REQU…
32 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_IS_CALLING_APP_ADMIN;
33 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_REQUESTED_MIN_COMPLE…
343 arguments.putInt(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_ID, 11); in testUnifyProfile_IntentPassedToChooseLockPassword()
344 arguments.putParcelable(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_CREDENTIAL, in testUnifyProfile_IntentPassedToChooseLockPassword()
360 ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_ID, 0)).isEqualTo(11); in testUnifyProfile_IntentPassedToChooseLockPassword()
362 ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_CREDENTIAL)).isNotNull(); in testUnifyProfile_IntentPassedToChooseLockPassword()
368 arguments.putInt(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_ID, 13); in testUnifyProfile_IntentPassedToChooseLockPattern()
369 arguments.putParcelable(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_CREDENTIAL, in testUnifyProfile_IntentPassedToChooseLockPattern()
[all …]
DChooseLockPatternTest.java63 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FORCE_VERIFY, false)) in intentBuilder_setPattern_shouldAddExtras()
66 .getParcelableExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD)) in intentBuilder_setPattern_shouldAddExtras()
80 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, false)) in intentBuilder_setRequestGatekeeperPassword_shouldAddExtras()
94 .getIntExtra(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_ID, 0)) in intentBuilder_setProfileToUnify_shouldAddExtras()
98 ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_CREDENTIAL)) in intentBuilder_setProfileToUnify_shouldAddExtras()
DChooseLockPasswordTest.java101 intent.getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FORCE_VERIFY, false)) in intentBuilder_setPassword_shouldAddExtras()
105 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD)) in intentBuilder_setPassword_shouldAddExtras()
123 ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, false)) in intentBuilder_setRequestGatekeeperPassword_shouldAddExtras()
157 intent.getIntExtra(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_ID, 0)) in intentBuilder_setProfileToUnify_shouldAddExtras()
161 ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_CREDENTIAL)) in intentBuilder_setProfileToUnify_shouldAddExtras()
/packages/apps/Settings/src/com/android/settings/biometrics/combination/
DBiometricsSettingsBase.java40 import com.android.settings.password.ChooseLockSettingsHelper;
83 ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE)) { in onCreate()
85 ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE); in onCreate()
124 extras.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, token); in onPreferenceTreeClick()
137 extras.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, token); in onPreferenceTreeClick()
154 outState.putLong(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, mGkPwHandle); in onSaveInstanceState()
189 final ChooseLockSettingsHelper.Builder builder = in launchChooseOrConfirmLock()
190 new ChooseLockSettingsHelper.Builder(getActivity(), this) in launchChooseOrConfirmLock()
206 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, true); in launchChooseOrConfirmLock()
207 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, true); in launchChooseOrConfirmLock()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockGeneric.java27 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_CALLER_APP_NAME;
28 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_DEVICE_PASSWORD_REQU…
29 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_IS_CALLING_APP_ADMIN;
30 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_REQUESTED_MIN_COMPLE…
225 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onCreate()
228 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onCreate()
233 ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, false); in onCreate()
235 ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onCreate()
237 ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, false); in onCreate()
239 ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, false); in onCreate()
[all …]
DChooseLockPattern.java21 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_…
22 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_…
115 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, in setRequestGatekeeperPasswordHandle()
121 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, pattern); in setPattern()
126 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, forFingerprint); in setForFingerprint()
131 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, forFace); in setForFace()
136 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, forBiometrics); in setForBiometrics()
147 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_ID, profileId); in setProfileToUnify()
148 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_CREDENTIAL, in setProfileToUnify()
235 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onActivityResult()
[all …]
DChooseLockSettingsHelper.java43 public final class ChooseLockSettingsHelper { class
115 private ChooseLockSettingsHelper(@NonNull Builder builder, @NonNull Activity activity, in ChooseLockSettingsHelper() method in ChooseLockSettingsHelper
269 @NonNull public ChooseLockSettingsHelper build() { in build()
286 return new ChooseLockSettingsHelper(this, mActivity, mFragment); in build()
354 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_RETURN_CREDENTIALS, returnCredentials); in launchConfirmationActivity()
355 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FORCE_VERIFY, forceVerifyPath); in launchConfirmationActivity()
358 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOREGROUND_ONLY, foregroundOnly); in launchConfirmationActivity()
359 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_ALLOW_ANY_USER, allowAnyUser); in launchConfirmationActivity()
360 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, in launchConfirmationActivity()
DChooseLockPassword.java35 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_…
36 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_…
137 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, in setRequestGatekeeperPasswordHandle()
143 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, password); in setPassword()
148 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, forFingerprint); in setForFingerprint()
153 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, forFace); in setForFace()
158 mIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, forBiometrics); in setForBiometrics()
432 ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onCreate()
433 mForFace = intent.getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, false); in onCreate()
435 ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, false); in onCreate()
[all …]
DSetNewPasswordController.java149 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, true); in getBiometricChooseLockExtras()
150 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, true); in getBiometricChooseLockExtras()
158 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, true); in getFingerprintChooseLockExtras()
159 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, true); in getFingerprintChooseLockExtras()
167 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, true); in getFaceChooseLockExtras()
168 chooseLockExtras.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, true); in getFaceChooseLockExtras()
DSetupSkipDialog.java56 args.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, forFingerprint); in newInstance()
57 args.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, forFace); in newInstance()
58 args.putBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, forBiometrics); in newInstance()
77 args.getBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE); in onCreateDialogBuilder()
79 args.getBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT); in onCreateDialogBuilder()
81 args.getBoolean(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS); in onCreateDialogBuilder()
DConfirmDeviceCredentialActivity.java214 final ChooseLockSettingsHelper.Builder builder = in onCreate()
215 new ChooseLockSettingsHelper.Builder(this); in onCreate()
364 final ChooseLockSettingsHelper.Builder builder = in showConfirmCredentials()
365 new ChooseLockSettingsHelper.Builder(this); in showConfirmCredentials()
373 final ChooseLockSettingsHelper.Builder builder = in showConfirmCredentials()
374 new ChooseLockSettingsHelper.Builder(this); in showConfirmCredentials()
DSetNewPasswordActivity.java26 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_CALLER_APP_NAME;
27 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_DEVICE_PASSWORD_REQU…
28 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_IS_CALLING_APP_ADMIN;
29 import static com.android.settings.password.ChooseLockSettingsHelper.EXTRA_KEY_REQUESTED_MIN_COMPLE…
DSetupChooseLockPattern.java99 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onSkipOrClearButtonClick()
101 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, false); in onSkipOrClearButtonClick()
103 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, false); in onSkipOrClearButtonClick()
DSetupChooseLockPassword.java111 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onSkipOrClearButtonClick()
113 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, false); in onSkipOrClearButtonClick()
115 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, false); in onSkipOrClearButtonClick()
/packages/apps/Settings/src/com/android/settings/security/
DLockUnificationPreferenceController.java42 import com.android.settings.password.ChooseLockSettingsHelper;
130 final ChooseLockSettingsHelper.Builder builder = in onPreferenceChange()
131 new ChooseLockSettingsHelper.Builder(mHost.getActivity(), mHost); in onPreferenceChange()
163 data.getParcelableExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in handleActivityResult()
169 data.getParcelableExtra(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in handleActivityResult()
179 extras.putParcelable(ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD, mCurrentDevicePassword); in ununifyLocks()
195 final ChooseLockSettingsHelper.Builder builder = in startUnification()
196 new ChooseLockSettingsHelper.Builder(mHost.getActivity(), mHost); in startUnification()
233 extras.putInt(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_ID, mProfileUserId); in promptForNewDeviceLockAndThenUnify()
234 extras.putParcelable(ChooseLockSettingsHelper.EXTRA_KEY_UNIFICATION_PROFILE_CREDENTIAL, in promptForNewDeviceLockAndThenUnify()
DCryptKeeperSettings.java46 import com.android.settings.password.ChooseLockSettingsHelper;
181 final ChooseLockSettingsHelper.Builder builder = in runKeyguardConfirmation()
182 new ChooseLockSettingsHelper.Builder(getActivity(), this); in runKeyguardConfirmation()
200 int type = data.getIntExtra(ChooseLockSettingsHelper.EXTRA_KEY_TYPE, -1); in onActivityResult()
202 ChooseLockSettingsHelper.EXTRA_KEY_PASSWORD); in onActivityResult()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java41 import com.android.settings.password.ChooseLockSettingsHelper;
137 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
143 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
156 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onSaveInstanceState()
253 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in getFingerprintEnrollingIntent()
266 final ChooseLockSettingsHelper.Builder builder = new ChooseLockSettingsHelper.Builder(this); in launchConfirmLock()
DBiometricUtils.java41 import com.android.settings.password.ChooseLockSettingsHelper;
67 ChooseLockSettingsHelper.EXTRA_KEY_GK_PW_HANDLE, 0L); in requestGatekeeperHat()
83 return data != null && data.hasExtra(ChooseLockSettingsHelper.EXTRA_KEY_GK_PW_HANDLE); in containsGatekeeperPasswordHandle()
87 return data.getLongExtra(ChooseLockSettingsHelper.EXTRA_KEY_GK_PW_HANDLE, 0L); in getGatekeeperPasswordHandle()
203 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, in launchEnrollForResult()
207 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_GK_PW_HANDLE, (long) gkPwHandle); in launchEnrollForResult()
DBiometricEnrollActivity.java53 import com.android.settings.password.ChooseLockSettingsHelper;
484 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, true);
485 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, true);
496 final ChooseLockSettingsHelper.Builder builder = new ChooseLockSettingsHelper.Builder(this);
517 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN);
/packages/apps/Settings/src/com/android/settings/applications/
DConvertToFbe.java32 import com.android.settings.password.ChooseLockSettingsHelper;
42 final ChooseLockSettingsHelper.Builder builder = in runKeyguardConfirmation()
43 new ChooseLockSettingsHelper.Builder(getActivity(), this); in runKeyguardConfirmation()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveConfirm.java37 import com.android.settings.password.ChooseLockSettingsHelper;
88 final ChooseLockSettingsHelper.Builder builder = in onNavigateNext()
89 new ChooseLockSettingsHelper.Builder(this); in onNavigateNext()
DStorageWizardMigrateConfirm.java35 import com.android.settings.password.ChooseLockSettingsHelper;
106 final ChooseLockSettingsHelper.Builder builder = in onNavigateNext()
107 new ChooseLockSettingsHelper.Builder(this); in onNavigateNext()
/packages/apps/Settings/src/com/android/settings/
DEncryptionInterstitial.java40 import com.android.settings.password.ChooseLockSettingsHelper;
111 ChooseLockSettingsHelper.EXTRA_KEY_FOR_FINGERPRINT, false); in onViewCreated()
113 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_FACE, false); in onViewCreated()
115 .getBooleanExtra(ChooseLockSettingsHelper.EXTRA_KEY_FOR_BIOMETRICS, false); in onViewCreated()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java63 import com.android.settings.password.ChooseLockSettingsHelper;
301 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
336 ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN); in onCreate()
507 outState.putByteArray(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, in onSaveInstanceState()
522 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, mToken); in onPreferenceTreeClick()
677 final ChooseLockSettingsHelper.Builder builder = in launchChooseOrConfirmLock()
678 new ChooseLockSettingsHelper.Builder(getActivity(), this); in launchChooseOrConfirmLock()
694 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_REQUEST_GK_PW_HANDLE, true); in launchChooseOrConfirmLock()

123