Searched refs:failedResult (Results 1 – 7 of 7) sorted by relevance
510 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in setSchema()511 statusCode = failedResult.getResultCode(); in setSchema()513 failedResult)); in setSchema()609 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in getSchema()610 statusCode = failedResult.getResultCode(); in getSchema()612 failedResult)); in getSchema()680 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in getNamespaces()681 statusCode = failedResult.getResultCode(); in getNamespaces()683 failedResult)); in getNamespaces()824 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in putDocuments()[all …]
59 @NonNull AppSearchResult<?> failedResult, @NonNull BatchResultCallback<?, ?> callback) { in sendSystemErrorToCallback()60 Preconditions.checkArgument(!failedResult.isSuccess()); in sendSystemErrorToCallback()63 failedResult.getResultCode(), failedResult.getErrorMessage()); in sendSystemErrorToCallback()
371 @NonNull AppSearchResult<?> failedResult) { in MigrationFailure() argument376 Objects.requireNonNull(failedResult); in MigrationFailure()378 !failedResult.isSuccess(), "failedResult was actually successful"); in MigrationFailure()379 mErrorMessage = failedResult.getErrorMessage(); in MigrationFailure()380 mResultCode = failedResult.getResultCode(); in MigrationFailure()
102 AppSearchResult failedResult = AppSearchResult.throwableToFailedResult(ex);103 safeCallback.onResult(AppSearchResultParcel.fromFailedResult(failedResult));
221 public static AppSearchResultParcel fromFailedResult(AppSearchResult failedResult) { in fromFailedResult() argument222 if (failedResult.isSuccess()) { in fromFailedResult()227 return new AppSearchResultParcel.Builder<>(failedResult.getResultCode()) in fromFailedResult()228 .setErrorMessage(failedResult.getErrorMessage()) in fromFailedResult()
161 AppSearchResult failedResult = throwableToFailedResult(t); in verifyIncomingCallWithCallback()163 errorCallback, AppSearchResultParcel.fromFailedResult(failedResult)); in verifyIncomingCallWithCallback()389 AppSearchResult failedResult = throwableToFailedResult(e); in executeLambdaForUserAsync()391 errorCallback, AppSearchResultParcel.fromFailedResult(failedResult)); in executeLambdaForUserAsync()
448 for (AppSearchResult<Void> failedResult : in removeContactsByIdAsync()453 int errorCode = failedResult.getResultCode(); in removeContactsByIdAsync()458 firstFailure = failedResult; in removeContactsByIdAsync()