Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/credentials/
H A DCreateCredentialException.java34 public class CreateCredentialException extends Exception { class
81 public CreateCredentialException(@NonNull String type, @Nullable String message) { in CreateCredentialException() method in CreateCredentialException
90 public CreateCredentialException( in CreateCredentialException() method in CreateCredentialException
102 public CreateCredentialException(@NonNull String type, @Nullable Throwable cause) { in CreateCredentialException() method in CreateCredentialException
111 public CreateCredentialException(@NonNull String type) { in CreateCredentialException() method in CreateCredentialException
H A DCredentialManager.java280 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback) { in createCredential()
706 private final OutcomeReceiver<CreateCredentialResponse, CreateCredentialException>
712 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback) { in CreateCredentialTransport()
730 new CreateCredentialException(CreateCredentialException.TYPE_UNKNOWN))); in onPendingIntent()
752 () -> mCallback.onError(new CreateCredentialException(errorType, message))); in onError()
/aosp14/frameworks/base/services/credentials/java/com/android/server/credentials/
H A DProviderCreateSession.java25 import android.credentials.CreateCredentialException;
63 private CreateCredentialException mProviderException;
163 if (exception instanceof CreateCredentialException) { in onProviderResponseFailure()
165 mProviderException = (CreateCredentialException) exception; in onProviderResponseFailure()
266 CreateCredentialException exception = maybeGetPendingIntentException( in onCreateEntrySelected()
293 private CreateCredentialException maybeGetPendingIntentException( in maybeGetPendingIntentException()
297 return new CreateCredentialException(CreateCredentialException.TYPE_NO_CREATE_OPTIONS); in maybeGetPendingIntentException()
300 CreateCredentialException exception = PendingIntentResultHandler in maybeGetPendingIntentException()
307 return new CreateCredentialException(CreateCredentialException.TYPE_USER_CANCELED); in maybeGetPendingIntentException()
309 return new CreateCredentialException(CreateCredentialException.TYPE_NO_CREATE_OPTIONS); in maybeGetPendingIntentException()
[all …]
H A DCreateRequestSession.java24 import android.credentials.CreateCredentialException;
118 CreateCredentialException.TYPE_UNKNOWN, in launchUiWithProviderData()
149 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onFinalResponseReceived()
164 String exception = CreateCredentialException.TYPE_USER_CANCELED; in onUiCancellation()
167 exception = CreateCredentialException.TYPE_INTERRUPTED; in onUiCancellation()
176 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onUiSelectorInvocationFailure()
194 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onProviderStatusChanged()
H A DPendingIntentResultHandler.java21 import android.credentials.CreateCredentialException;
80 public static CreateCredentialException extractCreateCredentialException( in extractCreateCredentialException()
87 CreateCredentialException.class); in extractCreateCredentialException()
H A DRemoteCredentialService.java25 import android.credentials.CreateCredentialException;
240 new CreateCredentialException(errorType, errorMsg)); in onBeginCreateCredential()
367 } else if (error instanceof CreateCredentialException) { in handleExecutionResponse()
371 (CreateCredentialException) error); in handleExecutionResponse()
H A DCredentialManagerService.java34 import android.credentials.CreateCredentialException;
699 CreateCredentialException.TYPE_NO_CREATE_OPTIONS, in processCreateCredential()
/aosp14/frameworks/base/core/java/android/service/credentials/
H A DCredentialProviderService.java28 import android.credentials.CreateCredentialException;
290 BeginCreateCredentialResponse, CreateCredentialException>() {
300 public void onError(CreateCredentialException e) {
385 CreateCredentialException> callback); in onBeginCreateCredential()
/aosp14/frameworks/base/core/tests/coretests/src/android/credentials/
H A DCredentialManagerTest.java326 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback = in testCreateCredential_cancel()
346 ArgumentCaptor<CreateCredentialException> errorCaptor = in testCreateCredential_failed()
347 ArgumentCaptor.forClass(CreateCredentialException.class); in testCreateCredential_failed()
349 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback = in testCreateCredential_failed()
360 callbackCaptor.getValue().onError(CreateCredentialException.TYPE_UNKNOWN, "unknown error"); in testCreateCredential_failed()
364 .isEqualTo(CreateCredentialException.TYPE_UNKNOWN); in testCreateCredential_failed()
377 OutcomeReceiver<CreateCredentialResponse, CreateCredentialException> callback = in testCreateCredential_success()
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt13593 public class CreateCredentialException extends java.lang.Exception {
13594 ctor public CreateCredentialException(@NonNull String, @Nullable String);
13595 ctor public CreateCredentialException(@NonNull String, @Nullable String, @Nullable Throwable);
13596 ctor public CreateCredentialException(@NonNull String, @Nullable Throwable);
13597 ctor public CreateCredentialException(@NonNull String);
13599 …lic static final String TYPE_INTERRUPTED = "android.credentials.CreateCredentialException.TYPE_INT…
13600 …atic final String TYPE_NO_CREATE_OPTIONS = "android.credentials.CreateCredentialException.TYPE_NO_…
13601 … public static final String TYPE_UNKNOWN = "android.credentials.CreateCredentialException.TYPE_UNK…
13602 …c static final String TYPE_USER_CANCELED = "android.credentials.CreateCredentialException.TYPE_USE…
13655 …eiver<android.credentials.CreateCredentialResponse,android.credentials.CreateCredentialException>);
[all …]