Home
last modified time | relevance | path

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

/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchSession.java155 AppSearchResult.newFailedResult(result)); in initialize()
272 AppSearchResult.newFailedResult(result)); in getSchema()
319 AppSearchResult.newFailedResult(result)); in getNamespaces()
651 AppSearchResult.newFailedResult(result)); in searchSuggestion()
876 AppSearchResult.newFailedResult(result)); in getStorageInfo()
957 AppSearchResult.newFailedResult( in setSchemaNoMigrations()
972 AppSearchResult.newFailedResult( in setSchemaNoMigrations()
992 AppSearchResult.newFailedResult(result)); in setSchemaNoMigrations()
1051 AppSearchResult.newFailedResult( in setSchemaWithMigrations()
1118 AppSearchResult.newFailedResult( in setSchemaWithMigrations()
[all …]
DReadOnlyGlobalSearchSession.java99 AppSearchResult.newFailedResult(result)); in initialize()
240 AppSearchResult.newFailedResult(result)); in getSchema()
DEnterpriseGlobalSearchSession.java63 callback.accept(AppSearchResult.newFailedResult(result)); in createEnterpriseGlobalSearchSession()
DSearchResults.java217 callback.accept(AppSearchResult.newFailedResult(searchResultPageResult));
DAppSearchMigrationHelper.java227 return AppSearchResult.newFailedResult(result); in putMigratedDocuments()
DGlobalSearchSession.java91 callback.accept(AppSearchResult.newFailedResult(result)); in createGlobalSearchSession()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchResult.java222 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult() method in AppSearchResult
233 public static <ValueType> AppSearchResult<ValueType> newFailedResult( in newFailedResult() method in AppSearchResult
238 return AppSearchResult.newFailedResult( in newFailedResult()
275 return AppSearchResult.newFailedResult(resultCode, exceptionClass + ": " + t.getMessage()); in throwableToFailedResult()
DAppSearchBatchResult.java181 return setResult(key, AppSearchResult.newFailedResult(resultCode, errorMessage)); in setFailure()
DSetSchemaResponse.java407 return AppSearchResult.newFailedResult(mResultCode, mErrorMessage); in getAppSearchResult()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DSetSchemaResponseInternalTest.java37 AppSearchResult.newFailedResult( in testRebuild()
44 AppSearchResult.newFailedResult( in testRebuild()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/exceptions/
DAppSearchException.java84 return AppSearchResult.newFailedResult(mResultCode, getMessage()); in toAppSearchResult()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java2095 return AppSearchResultParcel.fromFailedResult(AppSearchResult.newFailedResult( in registerObserverCallback()
2179 return AppSearchResultParcel.fromFailedResult(AppSearchResult.newFailedResult( in unregisterObserverCallback()
2242 AppSearchResult.newFailedResult(RESULT_DENIED, null))); in initialize()
2334 safeCallback.onFailedResult(AppSearchResult.newFailedResult( in executeAppFunction()
2342 safeCallback.onFailedResult(AppSearchResult.newFailedResult( in executeAppFunction()
2351 safeCallback.onFailedResult(AppSearchResult.newFailedResult( in executeAppFunction()
2388 safeCallback.onFailedResult(AppSearchResult.newFailedResult( in executeAppFunctionUnchecked()
2394 safeCallback.onFailedResult(AppSearchResult.newFailedResult( in executeAppFunctionUnchecked()
2407 AppSearchResult.newFailedResult( in executeAppFunctionUnchecked()
2444 AppSearchResult.newFailedResult(RESULT_INTERNAL_ERROR, null)); in executeAppFunctionUnchecked()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DServiceImplHelper.java381 AppSearchResult.newFailedResult( in executeLambdaForUserAsync()
431 AppSearchResult.newFailedResult( in executeLambdaForUserAsync()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchDaoTest.java306 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, "test"); in testWriteConsentData_failure()
408 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, "test"); in testDeleteConsentData_failure()
DAppSearchConsentWorkerTest.java923 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, "test"); in initFailureResponse()
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DAppSearchResultParcel.java207 mResultCached = AppSearchResult.newFailedResult(mResultCode, mErrorMessage); in AppSearchResultParcel()
/packages/modules/ExtServices/java/tests/src/android/ext/services/common/
DAdServicesAppsearchDeleteJobTest.java143 /* appSearchResult= */ AppSearchResult.newFailedResult(1, TEST)); in deleteAppsearchDb_onMigrationfailure_shouldBeFalse()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java1552 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, in executeAppFunction_executeAppFunctionReturnsFailure()
/packages/modules/AppSearch/framework/api/
Dcurrent.txt40 … static <ValueType> android.app.appsearch.AppSearchResult<ValueType> newFailedResult(int, @Nullabl…