/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/ |
D | TopicsManager.java | 200 public void onResult(GetTopicsResult resultParcel) { in getTopics() 203 if (resultParcel.isSuccess()) { in getTopics() 204 callback.onResult(buildGetTopicsResponse(resultParcel)); in getTopics() 209 resultParcel)); in getTopics() 228 private GetTopicsResponse buildGetTopicsResponse(GetTopicsResult resultParcel) { in buildGetTopicsResponse() argument 230 getTopicList(resultParcel), getEncryptedTopicList(resultParcel)) in buildGetTopicsResponse() 234 private List<Topic> getTopicList(GetTopicsResult resultParcel) { in getTopicList() argument 235 List<Long> taxonomyVersionsList = resultParcel.getTaxonomyVersions(); in getTopicList() 236 List<Long> modelVersionsList = resultParcel.getModelVersions(); in getTopicList() 237 List<Integer> topicsCodeList = resultParcel.getTopics(); in getTopicList() [all …]
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | AppSearchSession.java | 143 public void onResult(AppSearchResultParcel resultParcel) { in initialize() 148 AppSearchResult<Void> result = resultParcel.getResult(); in initialize() 258 public void onResult(AppSearchResultParcel resultParcel) { in getSchema() 264 resultParcel.getResult(); in getSchema() 304 public void onResult(AppSearchResultParcel resultParcel) { in getNamespaces() 310 resultParcel.getResult(); in getNamespaces() 367 public void onResult(AppSearchBatchResultParcel resultParcel) { in put() 371 () -> callback.onResult(resultParcel.getResult())); in put() 375 public void onSystemError(AppSearchResultParcel resultParcel) { in put() 381 resultParcel.getResult(), callback)); in put() [all …]
|
D | GlobalSearchSession.java | 227 public void onResult(AppSearchResultParcel resultParcel) { in reportSystemUsage() 231 () -> callback.accept(resultParcel.getResult())); in reportSystemUsage() 343 AppSearchResultParcel<Void> resultParcel; in registerObserverCallback() local 345 resultParcel = in registerObserverCallback() 360 AppSearchResult<Void> result = resultParcel.getResult(); in registerObserverCallback() 412 AppSearchResultParcel<Void> resultParcel; in unregisterObserverCallback() local 414 resultParcel = in unregisterObserverCallback() 427 AppSearchResult<Void> result = resultParcel.getResult(); in unregisterObserverCallback()
|
D | ReadOnlyGlobalSearchSession.java | 88 public void onResult(AppSearchResultParcel resultParcel) { in initialize() 93 AppSearchResult<Void> result = resultParcel.getResult(); in initialize() 227 public void onResult(AppSearchResultParcel resultParcel) { in getSchema() 233 resultParcel.getResult(); in getSchema()
|
D | AppSearchMigrationHelper.java | 161 public void onResult(AppSearchResultParcel resultParcel) { in queryAndTransform() 162 resultReference.set(resultParcel.getResult()); in queryAndTransform() 219 public void onResult(AppSearchResultParcel resultParcel) { in putMigratedDocuments() 220 resultReference.set(resultParcel.getResult()); in putMigratedDocuments()
|
D | SearchSessionUtil.java | 134 public void onResult(AppSearchBatchResultParcel resultParcel) { in createGetDocumentCallback() 140 resultParcel.getResult(); in createGetDocumentCallback()
|
D | SearchResults.java | 195 public void onResult(AppSearchResultParcel resultParcel) { in wrapCallback() 199 () -> invokeCallback(resultParcel.getResult(), callback)); in wrapCallback()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/ |
D | AppSetIdWorkerTest.java | 64 public void onResult(GetAppSetIdResult resultParcel) { in testGetAppSetIdOnResult() 65 Log.d(mTag, "onResult(): " + resultParcel); in testGetAppSetIdOnResult() 66 future.complete(resultParcel); in testGetAppSetIdOnResult() 97 public void onResult(GetAppSetIdResult resultParcel) { in testGetAppSetIdOnError() 98 Log.d(mTag, "onResult(): " + resultParcel); in testGetAppSetIdOnError() 100 fail("onResult called: " + resultParcel); in testGetAppSetIdOnError()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | AdSelectionManager.java | 247 public void onSuccess(GetAdSelectionDataResponse resultParcel) { in getAdSelectionData() 252 adSelectionData = getAdSelectionData(resultParcel); in getAdSelectionData() 263 resultParcel.getAdSelectionId()) in getAdSelectionData() 346 public void onSuccess(PersistAdSelectionResultResponse resultParcel) { in persistAdSelectionResult() 352 resultParcel.getAdSelectionId()) in persistAdSelectionResult() 354 resultParcel.getAdRenderUri()) in persistAdSelectionResult() 450 public void onSuccess(AdSelectionResponse resultParcel) { in selectAds() 456 resultParcel.getAdSelectionId()) in selectAds() 458 resultParcel.getRenderUri()) in selectAds() 560 public void onSuccess(AdSelectionResponse resultParcel) { in selectAds() [all …]
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/ |
D | AdIdCompatibleManager.java | 157 public void onResult(GetAdIdResult resultParcel) { in getAdId() 160 if (resultParcel.isSuccess()) { in getAdId() 163 resultParcel.getAdId(), in getAdId() 164 resultParcel.isLatEnabled())); in getAdId() 168 resultParcel)); in getAdId()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsetid/ |
D | AppSetIdWorker.java | 129 public void onResult(GetAppSetIdResult resultParcel) { in getAppSetId() 132 .setStatusCode(resultParcel.getStatusCode()) in getAppSetId() 133 .setErrorMessage(resultParcel.getErrorMessage()) in getAppSetId() 134 .setAppSetId(resultParcel.getAppSetId()) in getAppSetId() 135 .setAppSetIdScope(resultParcel.getAppSetIdScope()) in getAppSetId()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/appsetid/ |
D | AppSetIdManager.java | 173 public void onResult(GetAppSetIdResult resultParcel) { in getAppSetId() 176 if (resultParcel.isSuccess()) { in getAppSetId() 179 resultParcel.getAppSetId(), in getAppSetId() 180 resultParcel.getAppSetIdScope())); in getAppSetId() 184 resultParcel)); in getAppSetId()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/ |
D | DisplayHelperTest.java | 80 RenderOutputParcel resultParcel = new RenderOutputParcel(renderContentResult); in testGenerateHtml() local 81 assertEquals("html", displayHelper.generateHtml(resultParcel, in testGenerateHtml() 104 RenderOutputParcel resultParcel = new RenderOutputParcel(renderContentResult); in testGenerateHtmlViaTemplate() local 106 assertEquals(expected, displayHelper.generateHtml(resultParcel, in testGenerateHtmlViaTemplate()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/ |
D | IAppSearchBatchResultCallback.aidl | 23 void onResult(in AppSearchBatchResultParcel resultParcel); in onResult() argument 24 void onSystemError(in AppSearchResultParcel resultParcel); in onSystemError() argument
|
D | IAppSearchResultCallback.aidl | 22 void onResult(in AppSearchResultParcel resultParcel); in onResult() argument
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/ |
D | ServiceImplHelper.java | 509 IAppSearchResultCallback callback, AppSearchResultParcel<?> resultParcel) { in invokeCallbackOnResult() argument 511 callback.onResult(resultParcel); in invokeCallbackOnResult() 519 IAppSearchBatchResultCallback callback, AppSearchBatchResultParcel<?> resultParcel) { in invokeCallbackOnResult() argument 521 callback.onResult(resultParcel); in invokeCallbackOnResult()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adid/ |
D | AdIdCacheManager.java | 166 public void onResult(GetAdIdResult resultParcel) { in getAdIdFromProvider() 168 new AdId(resultParcel.getAdId(), resultParcel.isLatEnabled()); in getAdIdFromProvider()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/adid/src/com/android/adservices/service/adid/ |
D | AdIdCacheManagerTest.java | 250 public void onResult(GetAdIdResult resultParcel) { in createSuccessGetAdIdCallBack() 251 future.complete(resultParcel); in createSuccessGetAdIdCallBack() 264 public void onResult(GetAdIdResult resultParcel) {
|
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchManagerServiceTest.java | 829 AppSearchResultParcel<Void> resultParcel = in testRegisterObserverCallbackStatsLogging() local 849 assertThat(resultParcel.getResult().getResultCode()).isEqualTo(AppSearchResult.RESULT_OK); in testRegisterObserverCallbackStatsLogging() 855 AppSearchResultParcel<Void> resultParcel = in testUnregisterObserverCallbackStatsLogging() local 874 assertThat(resultParcel.getResult().getResultCode()).isEqualTo(AppSearchResult.RESULT_OK); in testUnregisterObserverCallbackStatsLogging() 1885 AppSearchResultParcel<Void> resultParcel = in verifyRegisterObserverCallbackResult() local 1907 resultParcel.getResult()); in verifyRegisterObserverCallbackResult() 1929 AppSearchResultParcel<Void> resultParcel = in verifyUnregisterObserverCallbackResult() local 1949 resultParcel.getResult()); in verifyUnregisterObserverCallbackResult()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 2429 AppSearchResultParcel resultParcel) { in executeAppFunctionUnchecked() 2430 safeCallback.onResult(resultParcel); in executeAppFunctionUnchecked()
|