/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchSession.java | 155 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 …]
|
D | ReadOnlyGlobalSearchSession.java | 99 AppSearchResult.newFailedResult(result)); in initialize() 240 AppSearchResult.newFailedResult(result)); in getSchema()
|
D | EnterpriseGlobalSearchSession.java | 63 callback.accept(AppSearchResult.newFailedResult(result)); in createEnterpriseGlobalSearchSession()
|
D | SearchResults.java | 217 callback.accept(AppSearchResult.newFailedResult(searchResultPageResult));
|
D | AppSearchMigrationHelper.java | 227 return AppSearchResult.newFailedResult(result); in putMigratedDocuments()
|
D | GlobalSearchSession.java | 91 callback.accept(AppSearchResult.newFailedResult(result)); in createGlobalSearchSession()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | AppSearchResult.java | 222 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()
|
D | AppSearchBatchResult.java | 181 return setResult(key, AppSearchResult.newFailedResult(resultCode, errorMessage)); in setFailure()
|
D | SetSchemaResponse.java | 407 return AppSearchResult.newFailedResult(mResultCode, mErrorMessage); in getAppSearchResult()
|
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/ |
D | SetSchemaResponseInternalTest.java | 37 AppSearchResult.newFailedResult( in testRebuild() 44 AppSearchResult.newFailedResult( in testRebuild()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/exceptions/ |
D | AppSearchException.java | 84 return AppSearchResult.newFailedResult(mResultCode, getMessage()); in toAppSearchResult()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 2095 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/ |
D | ServiceImplHelper.java | 381 AppSearchResult.newFailedResult( in executeLambdaForUserAsync() 431 AppSearchResult.newFailedResult( in executeLambdaForUserAsync()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchDaoTest.java | 306 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, "test"); in testWriteConsentData_failure() 408 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, "test"); in testDeleteConsentData_failure()
|
D | AppSearchConsentWorkerTest.java | 923 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, "test"); in initFailureResponse()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | AppSearchResultParcel.java | 207 mResultCached = AppSearchResult.newFailedResult(mResultCode, mErrorMessage); in AppSearchResultParcel()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/common/ |
D | AdServicesAppsearchDeleteJobTest.java | 143 /* appSearchResult= */ AppSearchResult.newFailedResult(1, TEST)); in deleteAppsearchDb_onMigrationfailure_shouldBeFalse()
|
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchManagerServiceTest.java | 1552 AppSearchResult.newFailedResult(AppSearchResult.RESULT_INVALID_ARGUMENT, in executeAppFunction_executeAppFunctionReturnsFailure()
|
/packages/modules/AppSearch/framework/api/ |
D | current.txt | 40 … static <ValueType> android.app.appsearch.AppSearchResult<ValueType> newFailedResult(int, @Nullabl…
|