Home
last modified time | relevance | path

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

/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java510 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 …]
/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()
63 failedResult.getResultCode(), failedResult.getErrorMessage()); in sendSystemErrorToCallback()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DSetSchemaResponse.java371 @NonNull AppSearchResult<?> failedResult) { in MigrationFailure() argument
376 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()
/packages/modules/AppSearch/framework/java/android/app/appsearch/functions/
DAppFunctionService.java102 AppSearchResult failedResult = AppSearchResult.throwableToFailedResult(ex);
103 safeCallback.onResult(AppSearchResultParcel.fromFailedResult(failedResult));
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java221 public static AppSearchResultParcel fromFailedResult(AppSearchResult failedResult) { in fromFailedResult() argument
222 if (failedResult.isSuccess()) { in fromFailedResult()
227 return new AppSearchResultParcel.Builder<>(failedResult.getResultCode()) in fromFailedResult()
228 .setErrorMessage(failedResult.getErrorMessage()) in fromFailedResult()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DServiceImplHelper.java161 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()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java448 for (AppSearchResult<Void> failedResult : in removeContactsByIdAsync()
453 int errorCode = failedResult.getResultCode(); in removeContactsByIdAsync()
458 firstFailure = failedResult; in removeContactsByIdAsync()