Home
last modified time | relevance | path

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

/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java26 import static android.app.appsearch.AppSearchResult.throwableToFailedResult;
510 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in setSchema()
609 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in getSchema()
680 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in getNamespaces()
767 AppSearchResult<Void> result = throwableToFailedResult(e); in putDocuments()
797 AppSearchResult<Void> result = throwableToFailedResult(e); in putDocuments()
824 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in putDocuments()
968 throwableToFailedResult(e); in getDocuments()
978 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in getDocuments()
1055 AppSearchResult<Void> failedResult = throwableToFailedResult(e); in search()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DServiceImplHelper.java19 import static android.app.appsearch.AppSearchResult.throwableToFailedResult;
161 AppSearchResult failedResult = throwableToFailedResult(t); in verifyIncomingCallWithCallback()
389 AppSearchResult failedResult = throwableToFailedResult(e); in executeLambdaForUserAsync()
534 invokeCallbackOnError(callback, throwableToFailedResult(throwable)); in invokeCallbackOnError()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchResultInternalTest.java36 AppSearchResult<?> result = AppSearchResult.throwableToFailedResult(e); in testMapNullPointerException()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java386 + AppSearchResult.throwableToFailedResult( in indexContactsAsync()
486 + AppSearchResult.throwableToFailedResult( in removeContactsByIdAsync()
532 + AppSearchResult.throwableToFailedResult(
/packages/modules/AppSearch/framework/java/android/app/appsearch/functions/
DAppFunctionService.java102 AppSearchResult failedResult = AppSearchResult.throwableToFailedResult(ex);
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DSearchSessionUtil.java90 errorCallback.accept(AppSearchResult.throwableToFailedResult(e)); in safeExecute()
DAppSearchSession.java655 AppSearchResult.throwableToFailedResult(e)); in searchSuggestion()
988 AppSearchResult.throwableToFailedResult(e)); in setSchemaNoMigrations()
1311 () -> callback.accept(AppSearchResult.throwableToFailedResult(e))); in setSchemaWithMigrations()
DSearchResults.java214 callback.accept(AppSearchResult.throwableToFailedResult(e));
DAppSearchMigrationHelper.java235 return AppSearchResult.throwableToFailedResult(e); in putMigratedDocuments()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java244 public static <ValueType> AppSearchResult<ValueType> throwableToFailedResult( in throwableToFailedResult() method in AppSearchResult