Searched refs:failedResult (Results 1 – 4 of 4) sorted by relevance
445 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 …]
59 @NonNull AppSearchResult<?> failedResult, @NonNull BatchResultCallback<?, ?> callback) { in sendSystemErrorToCallback()60 Preconditions.checkArgument(!failedResult.isSuccess()); in sendSystemErrorToCallback()62 failedResult.getResultCode(), failedResult.getErrorMessage()); in sendSystemErrorToCallback()
320 @NonNull AppSearchResult<?> failedResult) { in MigrationFailure() argument326 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()
329 for (AppSearchResult<Void> failedResult : result.getFailures().values()) { in removeContactsByIdAsync()331 int errorCode = failedResult.getResultCode(); in removeContactsByIdAsync()336 firstFailure = failedResult; in removeContactsByIdAsync()