Home
last modified time | relevance | path

Searched refs:newFailedResult (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java197 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult() method in AppSearchResult
208 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult() method in AppSearchResult
213 return AppSearchResult.newFailedResult( in newFailedResult()
247 return AppSearchResult.newFailedResult(resultCode, exceptionClass + ": " + t.getMessage()); in throwableToFailedResult()
DAppSearchBatchResult.java161 return setResult(key, AppSearchResult.newFailedResult(resultCode, errorMessage)); in setFailure()
DSetSchemaResponse.java362 return AppSearchResult.newFailedResult( in getAppSearchResult()
/frameworks/base/core/tests/coretests/src/android/app/appsearch/external/app/
DSetSchemaResponseTest.java31 AppSearchResult.newFailedResult( in testRebuild()
38 AppSearchResult.newFailedResult( in testRebuild()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/
DAppSearchSession.java105 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()
DGlobalSearchSession.java89 callback.accept(AppSearchResult.newFailedResult(result)); in initialize()
DSearchResults.java172 callback.accept(AppSearchResult.newFailedResult(searchResultPageResult));
DAppSearchMigrationHelper.java157 return AppSearchResult.newFailedResult(result); in putMigratedDocuments()
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/exceptions/
DAppSearchException.java83 return AppSearchResult.newFailedResult(mResultCode, getMessage()); in toAppSearchResult()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java52 mResult = AppSearchResult.newFailedResult(resultCode, errorMessage); in AppSearchResultParcel()
/frameworks/base/apex/appsearch/framework/api/
Dcurrent.txt38 … static <ValueType> android.app.appsearch.AppSearchResult<ValueType> newFailedResult(int, @Nullabl…