Home
last modified time | relevance | path

Searched refs:CALLBACK_EXECUTOR (Results 1 – 25 of 68) sorted by relevance

123

/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementManagerTest.java65 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in MeasurementManagerTest
91 CALLBACK_EXECUTOR, in testRegisterSource_executorAndCallbackCalled()
115 CALLBACK_EXECUTOR, in testRegisterSource_executorAndCallbackCalled_customReceiver()
155 CALLBACK_EXECUTOR, in testRegisterWebSource_executorAndCallbackCalled() local
178 CALLBACK_EXECUTOR, in testRegisterWebSource_executorAndCallbackCalled_customReceiver() local
214 CALLBACK_EXECUTOR, in testRegisterWebTrigger_executorAndCallbackCalled() local
237 CALLBACK_EXECUTOR, in testRegisterWebTrigger_executorAndCallbackCalled_customReceiver() local
262 CALLBACK_EXECUTOR, in testRegisterTrigger_executorAndCallbackCalled()
285 CALLBACK_EXECUTOR, in testRegisterTrigger_executorAndCallbackCalled_customReceiver()
340 CALLBACK_EXECUTOR, in testDeleteRegistrations_nullCallback_throwNullPointerException()
[all …]
DMeasurementCompatibleManagerTest.java90 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in MeasurementCompatibleManagerTest
156 /* executor = */ CALLBACK_EXECUTOR, in testRegisterSource_BindServiceFailure_propagateErrorCallback()
323 /* executor = */ CALLBACK_EXECUTOR, in testRegisterTrigger_BindServiceFailure_propagateErrorCallback()
337 /* executor = */ CALLBACK_EXECUTOR, in testRegisterWebSource_BindServiceFailure_propagateErrorCallback() local
351 /* executor = */ CALLBACK_EXECUTOR, in testRegisterWebTrigger_BindServiceFailure_propagateErrorCallback() local
393 CALLBACK_EXECUTOR, in testRegisterSource_executorAndCallbackCalled()
484 CALLBACK_EXECUTOR, in testRegisterWebSource_executorAndCallbackCalled() local
719 CALLBACK_EXECUTOR, in testRegisterWebTrigger_executorAndCallbackCalled() local
939 CALLBACK_EXECUTOR, in testRegisterTrigger_executorAndCallbackCalled()
1106 CALLBACK_EXECUTOR, in testDeleteRegistrations_callingApp_expectedAttributionSource()
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/noperm/src/com/android/adservices/tests/permissions/
DPermissionsNoPermTest.java63 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in PermissionsNoPermTest
86 .setExecutor(CALLBACK_EXECUTOR) in testNoPerm_topics()
100 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_fledgeJoinCustomAudience()
123 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_fledgeFetchAndJoinCustomAudience()
144 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_fledgeLeaveCustomAudience()
166 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_fledgeOverrideCustomAudienceRemoteInfo()
194 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_fledgeRemoveCustomAudienceRemoteInfoOverride()
220 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_fledgeResetAllCustomAudienceOverrides()
237 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_selectAds_adSelectionConfig()
255 .setExecutor(CALLBACK_EXECUTOR) in testPermissionNotRequested_selectAds_adSelectionFromOutcomesConfig()
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/
DPermissionsAppOptOutTest.java57 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in PermissionsAppOptOutTest
74 .setExecutor(CALLBACK_EXECUTOR) in testAppOptOut_topics()
88 .setExecutor(CALLBACK_EXECUTOR) in testNoEnrollment_fledgeJoinCustomAudience()
111 .setExecutor(CALLBACK_EXECUTOR) in testNoEnrollment_fledgeFetchAndJoinCustomAudience()
133 .setExecutor(CALLBACK_EXECUTOR) in testWithEnrollment_fledgeJoinCustomAudience()
154 .setExecutor(CALLBACK_EXECUTOR) in testNoEnrollment_fledgeLeaveCustomAudience()
175 .setExecutor(CALLBACK_EXECUTOR) in testWithEnrollment_fledgeLeaveCustomAudience()
196 .setExecutor(CALLBACK_EXECUTOR) in testNoEnrollment_selectAds_adSelectionConfig()
217 .setExecutor(CALLBACK_EXECUTOR) in testWithEnrollment_selectAds_adSelectionConfig()
239 .setExecutor(CALLBACK_EXECUTOR) in testNoEnrollment_selectAds_adSelectionFromOutcomesConfig()
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdServicesCommonManagerTest.java47 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in AdServicesCommonManagerTest
72 mCommonManager.isAdServicesEnabled(CALLBACK_EXECUTOR, receiver); in testStatusManagerNotAuthorizedOnSPlus()
83 mCommonManager.isAdServicesEnabled(CALLBACK_EXECUTOR, receiver); in testSetStatusEnabledNotExecutedOnSPlus()
95 mCommonManager.isAdServicesEnabled(CALLBACK_EXECUTOR, receiver); in testStatusManagerNotAuthorizedCompat()
106 mCommonManager.isAdServicesEnabled(CALLBACK_EXECUTOR, receiver); in testSetStatusEnabledNotExecutedCompat()
118 mCommonManager.updateAdId(request, CALLBACK_EXECUTOR, receiver); in testUpdateAdIdCache_notAuthorized_sPlus()
130 mCommonManager.updateAdId(request, CALLBACK_EXECUTOR, receiver); in testUpdateAdIdCache_notEnabled_sPlus()
142 new UpdateAdIdRequest.Builder(AdId.ZERO_OUT).build(), CALLBACK_EXECUTOR, receiver); in testUpdateAdIdCache_notAuthorized_rPlus()
154 new UpdateAdIdRequest.Builder(AdId.ZERO_OUT).build(), CALLBACK_EXECUTOR, receiver); in testUpdateAdIdCache_notEnabled_rPlus()
168 request, CALLBACK_EXECUTOR, new AdServicesOutcomeReceiverForTests<>()); in testUpdateAdIdCache_coverage()
[all …]
DTestAdSelectionManagerTest.java81 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in TestAdSelectionManagerTest
129 .setExecutor(CALLBACK_EXECUTOR) in setup()
150 .setExecutor(CALLBACK_EXECUTOR) in testFailsWithInvalidAdSelectionId()
163 .setExecutor(CALLBACK_EXECUTOR) in testFailsWithInvalidAdSelectionId_usingGetMethodToCreateManager()
247 .setExecutor(CALLBACK_EXECUTOR) in testResetAllOverridesFailsWithDebugModeDisabled()
259 .setExecutor(CALLBACK_EXECUTOR) in testResetAllOverridesFailsWithDebugModeDisabled_usingGetMethodToCreateManager()
285 .setExecutor(CALLBACK_EXECUTOR) in testFailsWithInvalidAdSelectionConfigNoBuyers()
296 .setExecutor(CALLBACK_EXECUTOR) in testFailsWithInvalidAdSelectionConfigNoBuyers_usingGetMethodToCreateManager()
328 .setExecutor(CALLBACK_EXECUTOR) in overrideAdSelectionClient()
/packages/services/Car/tests/carservice_test/src/com/android/car/telemetry/
DCarTelemetryManagerTest.java67 private static final Executor CALLBACK_EXECUTOR = Executors.newSingleThreadExecutor(); field in CarTelemetryManagerTest
100 CALLBACK_EXECUTOR, mAddMetricsConfigCallback); in testAddMetricsConfig()
107 CALLBACK_EXECUTOR, mAddMetricsConfigCallback); in testAddMetricsConfig()
114 CALLBACK_EXECUTOR, mAddMetricsConfigCallback); in testAddMetricsConfig()
121 CALLBACK_EXECUTOR, mAddMetricsConfigCallback); in testAddMetricsConfig()
128 CALLBACK_EXECUTOR, mAddMetricsConfigCallback); in testAddMetricsConfig()
148 CONFIG_NAME, config.toByteArray(), CALLBACK_EXECUTOR, mAddMetricsConfigCallback); in testAddMetricsConfig_invalidFieldInConfig_shouldFail()
160 mCarTelemetryManager.setReportReadyListener(CALLBACK_EXECUTOR, listener); in testSetClearListener()
164 () -> mCarTelemetryManager.setReportReadyListener(CALLBACK_EXECUTOR, listener)); in testSetClearListener()
168 mCarTelemetryManager.setReportReadyListener(CALLBACK_EXECUTOR, listener); in testSetClearListener()
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/
DMeasurementManagerCtsTest.java69 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in MeasurementManagerCtsTest
131 CALLBACK_EXECUTOR, in testRegisterSource_withNoServerSetupWithCallbackOsReceiver_noErrors()
143 CALLBACK_EXECUTOR, in testRegisterSource_withNoServerSetupWithCallbackCustomReceiver_noErrors()
170 LOCALHOST, /* inputEvent= */ null, CALLBACK_EXECUTOR, osCallback); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithOsReceiver_fails()
195 LOCALHOST, /* inputEvent= */ null, CALLBACK_EXECUTOR, osCallback); in testRegisterSource_withLocalhostUriNonDebuggableCallerWithCustomReceiver_fails()
269 createSourceRegistrationRequest(), CALLBACK_EXECUTOR, callback);
279 CALLBACK_EXECUTOR,
356 CALLBACK_EXECUTOR,
367 CALLBACK_EXECUTOR,
456 CALLBACK_EXECUTOR,
[all …]
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/valid/src/com/android/adservices/tests/permissions/
DPermissionsValidTest.java53 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in PermissionsValidTest
69 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_topics()
84 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_fledgeJoinCustomAudience()
103 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_fledgeFetchAndJoinCustomAudience()
128 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_selectAds_adSelectionConfig()
148 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_selectAds_adSelectionFromOutcomesConfig()
168 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_reportImpression()
191 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_reportEvent()
218 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_updateAdCounterHistogram()
242 .setExecutor(CALLBACK_EXECUTOR) in testValidPermissions_fledgeLeaveCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/notallowed/src/com/android/adservices/tests/permissions/
DNotInAllowListTest.java58 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in NotInAllowListTest
75 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_getTopics()
89 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_fledgeJoinCustomAudience()
113 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_fledgeFetchAndJoinCustomAudience()
133 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_fledgeLeaveCustomAudience()
154 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_selectAds_adSelectionConfig()
171 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_selectAds_adSelectionFromOutcomesConfig()
187 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_reportImpression()
207 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_reportEvent()
231 .setExecutor(CALLBACK_EXECUTOR) in testNotInAllowList_updateAdCounterHistogram()
/packages/modules/AdServices/adservices/tests/cts/adid/src/com/android/adservices/tests/adid/
DAdIdCompatibleManagerTest.java46 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in AdIdCompatibleManagerTest
70 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager()
87 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager_verifyRateLimitReached()
94 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager_verifyRateLimitReached()
100 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback); in testAdIdCompatibleManager_verifyRateLimitReached()
115 adIdCompatibleManager.getAdId(CALLBACK_EXECUTOR, callback);
/packages/modules/AdServices/adservices/tests/cts/ui/u18ux/debugchannel/src/com/android/adservices/tests/ui/u18ux/debugchannel/
DU18UxDebugChannelTest.java54 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in U18UxDebugChannelTest
126 sCommonManager.enableAdServices(adServicesStates, CALLBACK_EXECUTOR, mCallback); in testEntrypointDisabled()
154 sCommonManager.enableAdServices(adServicesStates, CALLBACK_EXECUTOR, mCallback); in testU18AdultBothTrueAdIdEnabled()
182 sCommonManager.enableAdServices(adServicesStates, CALLBACK_EXECUTOR, mCallback); in testU18TrueAdultFalseAdIdEnabled()
210 sCommonManager.enableAdServices(adServicesStates, CALLBACK_EXECUTOR, mCallback); in testU18AdultBothTrueAdIdDisabled()
238 sCommonManager.enableAdServices(adServicesStates, CALLBACK_EXECUTOR, mCallback); in testU18TrueAdultFalseAdIdDisabled()
266 sCommonManager.enableAdServices(adServicesStates, CALLBACK_EXECUTOR, mCallback); in testU18AdultBothFalseAdIdDisabled()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/src/com/android/adservices/tests/cts/topics/
DTopicsManagerTest.java86 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in TopicsManagerTest
130 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_testTopicsKillSwitch()
154 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_disableDirectAppCalls_testEmptySdkNameRequests()
179 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_testOnDeviceKillSwitch_shouldUsePrecomputedList()
244 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_runDefaultClassifier()
290 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_runDefaultClassifier()
327 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_runOnDeviceClassifier()
406 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_runPrecomputedClassifier()
477 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_runPrecomputedClassifier_encryptedTopics()
538 CALLBACK_EXECUTOR, in testGetTopics_lowRamDevice()
DPreviewApiTest.java54 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in PreviewApiTest
82 .setExecutor(CALLBACK_EXECUTOR) in testRecordObservation()
92 .setExecutor(CALLBACK_EXECUTOR) in testRecordObservation()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/
DAppSearchDaoWriter.java46 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in AppSearchDaoWriter
85 Objects.requireNonNull(CALLBACK_EXECUTOR); in writeData()
102 AppSearchDaoWriter.CALLBACK_EXECUTOR) in writeData()
121 AppSearchDaoWriter.CALLBACK_EXECUTOR); in writeData()
123 AppSearchDaoWriter.CALLBACK_EXECUTOR); in writeData()
DTopicsApiLogActivity.java32 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in TopicsApiLogActivity
43 .setExecutor(CALLBACK_EXECUTOR) in onCreate()
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/customaudience/
DCustomAudienceManagerTest.java65 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in CustomAudienceManagerTest
108 .setExecutor(CALLBACK_EXECUTOR) in measureJoinCustomAudience()
127 .setExecutor(CALLBACK_EXECUTOR) in measureLeaveCustomAudience()
208 CALLBACK_EXECUTOR, in testGetchAndJoinCustomAudience_lowRamDevice()
227 CALLBACK_EXECUTOR, in testLeaveCustomAudienceRequest_lowRamDevice()
/packages/modules/AdServices/adservices/tests/cts/appsetid/src/com/android/adservices/tests/appsetid/
DAppSetIdManagerTest.java59 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in AppSetIdManagerTest
76 appSetIdManager.getAppSetId(CALLBACK_EXECUTOR, callback); in testAppSetIdManager()
117 appSetIdManager.getAppSetId(CALLBACK_EXECUTOR, receiver);
130 manager.getAppSetId(CALLBACK_EXECUTOR, callback);
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DAdSelectionManagerTest.java67 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in AdSelectionManagerTest
118 mReportEventRequest, CALLBACK_EXECUTOR, new MockOutcomeReceiver<>()); in testAdSelectionManager_reportEvent_adIdEnabled()
144 mReportEventRequest, CALLBACK_EXECUTOR, new MockOutcomeReceiver<>()); in testAdSelectionManager_reportEvent_adIdZeroOut()
170 mReportEventRequest, CALLBACK_EXECUTOR, new MockOutcomeReceiver<>()); in testAdSelectionManager_reportEvent_adIdDisabled()
207 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
242 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed()
276 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
310 adSelectionManager.getAdSelectionData(request, CALLBACK_EXECUTOR, outcomeReceiver); in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/
DAbstractMeasurementLatencyTest.java55 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in AbstractMeasurementLatencyTest
96 CALLBACK_EXECUTOR, in runRegisterSource() local
117 CALLBACK_EXECUTOR, in runGetMeasurementApiStatus()
151 CALLBACK_EXECUTOR, in warmupAdServices() local
/packages/modules/AdServices/adservices/tests/cts/sandbox/topics/src/com/android/tests/sandbox/topics/
DSandboxedTopicsManagerTest.java59 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in SandboxedTopicsManagerTest
107 .setExecutor(CALLBACK_EXECUTOR) in loadSdkAndRunTopicsApi()
122 sdkSandboxManager.loadSdk(SDK_NAME, new Bundle(), CALLBACK_EXECUTOR, callback); in loadSdkAndRunTopicsApi()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/connection/src/com/android/adservices/tests/cts/topics/connection/
DTopicsConnectionTest.java65 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in TopicsConnectionTest
91 .setExecutor(CALLBACK_EXECUTOR) in testEnableGlobalKillSwitch()
108 .setExecutor(CALLBACK_EXECUTOR) in testEnableGlobalKillSwitch()
/packages/modules/AdServices/adservices/tests/cts/endtoends/topics/mdd/src/com/android/adservices/tests/cts/topics/mdd/
DTopicsManagerMddTest.java85 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in TopicsManagerMddTest
109 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_downloadModelViaMdd_runPrecomputedClassifier()
134 .setExecutor(CALLBACK_EXECUTOR) in testTopicsManager_downloadModelViaMdd_runPrecomputedClassifier()
/packages/modules/AdServices/adservices/tests/cts/ui/u18ux/detentionchannel/src/com/android/adservices/tests/ui/u18ux/detentionchannel/
DU18UxDetentionChannelTest.java49 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in U18UxDetentionChannelTest
142 mCommonManager.enableAdServices(adServicesAdultStates, CALLBACK_EXECUTOR, mCallback); in testGaUxU18DetentionChannel()
160 mCommonManager.enableAdServices(adServicesU18States, CALLBACK_EXECUTOR, mCallback); in testGaUxU18DetentionChannel()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/utils/
DProtectedAppSignalsTestFixture.java34 private static final Executor CALLBACK_EXECUTOR = Executors.newCachedThreadPool(); field in ProtectedAppSignalsTestFixture
42 .setExecutor(CALLBACK_EXECUTOR)

123