Home
last modified time | relevance | path

Searched refs:prompt (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java91 final BiometricPrompt prompt = builder.build(); in test_authenticate_fingerprint() local
92 assertTrue(TextUtils.equals(title, prompt.getTitle())); in test_authenticate_fingerprint()
93 assertTrue(TextUtils.equals(subtitle, prompt.getSubtitle())); in test_authenticate_fingerprint()
94 assertTrue(TextUtils.equals(description, prompt.getDescription())); in test_authenticate_fingerprint()
95 assertTrue(TextUtils.equals(negativeButtonText, prompt.getNegativeButtonText())); in test_authenticate_fingerprint()
97 prompt.authenticate(cancellationSignal, mExecutor, mAuthenticationCallback); in test_authenticate_fingerprint()
134 final BiometricPrompt prompt = promptBuilder in test_setAllowedAuthenticators_withoutDeviceCredential() local
137 assertEquals(authenticators, prompt.getAllowedAuthenticators()); in test_setAllowedAuthenticators_withoutDeviceCredential()
152 final BiometricPrompt prompt = promptBuilder in test_setAllowedAuthenticators_withDeviceCredential() local
155 assertEquals(authenticators, prompt.getAllowedAuthenticators()); in test_setAllowedAuthenticators_withDeviceCredential()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DTestApp.java144 Prompt prompt = new Prompt(Utils.TEST_PROMPT); in confirmationRequest() local
145 ConfirmationRequest req = new VoiceInteractor.ConfirmationRequest(prompt, mTestinfo) { in confirmationRequest()
168 Prompt prompt = new Prompt(Utils.TEST_PROMPT); in completionRequest() local
169 CompleteVoiceRequest req = new VoiceInteractor.CompleteVoiceRequest(prompt, mTestinfo) { in completionRequest()
192 Prompt prompt = new Prompt(Utils.TEST_PROMPT); in abortRequest() local
193 AbortVoiceRequest req = new VoiceInteractor.AbortVoiceRequest(prompt, mTestinfo) { in abortRequest()
215 Prompt prompt = new Prompt(Utils.TEST_PROMPT); in pickOptionRequest() local
220 PickOptionRequest req = new VoiceInteractor.PickOptionRequest(prompt, options, mTestinfo) { in pickOptionRequest()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricTestBase.java275 final BiometricPrompt prompt = new BiometricPrompt.Builder(mContext) in showCredentialOnlyBiometricPromptWithContents() local
283 prompt.authenticate(cancellationSignal, executor, callback); in showCredentialOnlyBiometricPromptWithContents()
311 final BiometricPrompt prompt = new BiometricPrompt.Builder(mContext) in showDeviceCredentialAllowedBiometricPrompt() local
319 prompt.authenticate(cancellationSignal, executor, callback); in showDeviceCredentialAllowedBiometricPrompt()
342 final BiometricPrompt prompt = new BiometricPrompt.Builder(mContext) in showDefaultBiometricPrompt() local
353 prompt.authenticate(cancellationSignal, executor, callback); in showDefaultBiometricPrompt()
368 final BiometricPrompt prompt = new BiometricPrompt.Builder(mContext) in showDefaultBiometricPromptWithContents() local
379 prompt.authenticate(new CancellationSignal(), executor, callback); in showDefaultBiometricPromptWithContents()
400 final BiometricPrompt prompt = new BiometricPrompt.Builder(mContext) in showBiometricPromptWithAuthenticators() local
410 prompt.authenticate(new CancellationSignal(), executor, in showBiometricPromptWithAuthenticators()
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DMainInteractionSession.java147 VoiceInteractor.Prompt prompt = request.getVoicePrompt(); in onRequestCompleteVoice() local
148 CharSequence message = (prompt != null ? prompt.getVoicePromptAt(0) : "(none)"); in onRequestCompleteVoice()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DCredentialCryptoTests.java138 final BiometricPrompt prompt = builder.build(); in testTimedKey() local
139 prompt.authenticate(new CancellationSignal(), mExecutor, new AuthenticationCallback() { in testTimedKey()
DAbstractUserAuthenticationTest.java375 final BiometricPrompt prompt = builder.build(); in testCredentialBoundEncryption() local
378 prompt.authenticate(crypto, new CancellationSignal(), mExecutor, callback); in testCredentialBoundEncryption()
380 prompt.authenticate(new CancellationSignal(), mExecutor, callback); in testCredentialBoundEncryption()
DBiometricStrongTests.java224 final BiometricPrompt prompt = builder.build(); in testBiometricBoundEncryption() local
225 prompt.authenticate(crypto, new CancellationSignal(), mExecutor, in testBiometricBoundEncryption()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DProtectedConfirmationTest.java187 ConfirmationPrompt prompt = builder.build(); in showConfirmationPrompt() local
189 prompt.presentPrompt(getMainExecutor(), in showConfirmationPrompt()
DIdentityCredentialAuthentication.java219 final BiometricPrompt prompt = builder.build(); in startTest() local
252 prompt.authenticate(cryptoObject, new CancellationSignal(), getMainExecutor(), in startTest()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java126 private static void checkEglError(String prompt, EGL10 egl) { in checkEglError() argument
129 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()