Searched refs:throwableToFailedResult (Results 1 – 6 of 6) sorted by relevance
18 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 …]
35 AppSearchResult<?> result = AppSearchResult.throwableToFailedResult(e); in testMapNullPointerException()
169 callback.accept(AppSearchResult.throwableToFailedResult(t));
167 return AppSearchResult.throwableToFailedResult(t); in putMigratedDocuments()
715 callback.accept(AppSearchResult.throwableToFailedResult(t)); in setSchemaNoMigrations()864 AppSearchResult.throwableToFailedResult(t))); in setSchemaWithMigrations()
219 public static <ValueType> AppSearchResult<ValueType> throwableToFailedResult( in throwableToFailedResult() method in AppSearchResult