Home
last modified time | relevance | path

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

/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java18 import static android.app.appsearch.AppSearchResult.throwableToFailedResult;
383 statusCode = throwableToFailedResult(t).getResultCode(); in setSchema()
510 resultBuilder.setResult(document.getId(), throwableToFailedResult(t)); in putDocuments()
511 AppSearchResult<Void> result = throwableToFailedResult(t); in putDocuments()
528 statusCode = throwableToFailedResult(t).getResultCode(); in putDocuments()
602 AppSearchResult<Bundle> result = throwableToFailedResult(t); in getDocuments()
611 statusCode = throwableToFailedResult(t).getResultCode(); in getDocuments()
679 statusCode = throwableToFailedResult(t).getResultCode(); in query()
750 statusCode = throwableToFailedResult(t).getResultCode(); in globalQuery()
928 AppSearchResult.throwableToFailedResult(t)) in putDocumentsFromFile()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/appsearch/external/app/
DAppSearchResultTest.java35 AppSearchResult<?> result = AppSearchResult.throwableToFailedResult(e); in testMapNullPointerException()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DSearchResults.java169 callback.accept(AppSearchResult.throwableToFailedResult(t));
DAppSearchMigrationHelper.java167 return AppSearchResult.throwableToFailedResult(t); in putMigratedDocuments()
DAppSearchSession.java715 callback.accept(AppSearchResult.throwableToFailedResult(t)); in setSchemaNoMigrations()
864 AppSearchResult.throwableToFailedResult(t))); in setSchemaWithMigrations()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java219 public static <ValueType> AppSearchResult<ValueType> throwableToFailedResult( in throwableToFailedResult() method in AppSearchResult