Searched refs:newFailedResult (Results 1 – 11 of 11) sorted by relevance
197 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult() method in AppSearchResult208 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult() method in AppSearchResult213 return AppSearchResult.newFailedResult( in newFailedResult()247 return AppSearchResult.newFailedResult(resultCode, exceptionClass + ": " + t.getMessage()); in throwableToFailedResult()
161 return setResult(key, AppSearchResult.newFailedResult(resultCode, errorMessage)); in setFailure()
362 return AppSearchResult.newFailedResult( in getAppSearchResult()
31 AppSearchResult.newFailedResult( in testRebuild()38 AppSearchResult.newFailedResult( in testRebuild()
105 callback.accept(AppSearchResult.newFailedResult(result)); in initialize()211 callback.accept(AppSearchResult.newFailedResult(result)); in getSchema()249 callback.accept(AppSearchResult.newFailedResult(result)); in getNamespaces()643 callback.accept(AppSearchResult.newFailedResult(result)); in getStorageInfo()718 callback.accept(AppSearchResult.newFailedResult(result)); in setSchemaNoMigrations()752 callback.accept(AppSearchResult.newFailedResult(getSchemaResult))); in setSchemaWithMigrations()792 callback.accept(AppSearchResult.newFailedResult(setSchemaResult))); in setSchemaWithMigrations()848 AppSearchResult.newFailedResult(setSchema2Result))); in setSchemaWithMigrations()
89 callback.accept(AppSearchResult.newFailedResult(result)); in initialize()
172 callback.accept(AppSearchResult.newFailedResult(searchResultPageResult));
157 return AppSearchResult.newFailedResult(result); in putMigratedDocuments()
83 return AppSearchResult.newFailedResult(mResultCode, getMessage()); in toAppSearchResult()
52 mResult = AppSearchResult.newFailedResult(resultCode, errorMessage); in AppSearchResultParcel()
38 … static <ValueType> android.app.appsearch.AppSearchResult<ValueType> newFailedResult(int, @Nullabl…