Home
last modified time | relevance | path

Searched refs:failedResult (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java445 AppSearchResult<Void> failedResult = throwableToFailedResult(t); in setSchema()
446 statusCode = failedResult.getResultCode(); in setSchema()
447 invokeCallbackOnResult(callback, failedResult); in setSchema()
539 AppSearchResult<Void> failedResult = throwableToFailedResult(t); in getSchema()
540 statusCode = failedResult.getResultCode(); in getSchema()
541 invokeCallbackOnResult(callback, failedResult); in getSchema()
613 AppSearchResult<Void> failedResult = throwableToFailedResult(t); in getNamespaces()
614 statusCode = failedResult.getResultCode(); in getNamespaces()
615 invokeCallbackOnResult(callback, failedResult); in getNamespaces()
717 AppSearchResult<Void> failedResult = throwableToFailedResult(t); in putDocuments()
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DSearchSessionUtil.java59 @NonNull AppSearchResult<?> failedResult, @NonNull BatchResultCallback<?, ?> callback) { in sendSystemErrorToCallback()
60 Preconditions.checkArgument(!failedResult.isSuccess()); in sendSystemErrorToCallback()
62 failedResult.getResultCode(), failedResult.getErrorMessage()); in sendSystemErrorToCallback()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSetSchemaResponse.java320 @NonNull AppSearchResult<?> failedResult) { in MigrationFailure() argument
326 Objects.requireNonNull(failedResult); in MigrationFailure()
328 !failedResult.isSuccess(), "failedResult was actually successful"); in MigrationFailure()
329 mBundle.putString(ERROR_MESSAGE_FIELD, failedResult.getErrorMessage()); in MigrationFailure()
330 mBundle.putInt(RESULT_CODE_FIELD, failedResult.getResultCode()); in MigrationFailure()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java329 for (AppSearchResult<Void> failedResult : result.getFailures().values()) { in removeContactsByIdAsync()
331 int errorCode = failedResult.getResultCode(); in removeContactsByIdAsync()
336 firstFailure = failedResult; in removeContactsByIdAsync()