Home
last modified time | relevance | path

Searched refs:AdServicesOutcomeReceiver (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementManagerTest.java26 import android.adservices.common.AdServicesOutcomeReceiver;
116 new AdServicesOutcomeReceiver<>() { in testRegisterSource_executorAndCallbackCalled_customReceiver() method
179 new AdServicesOutcomeReceiver<>() { in testRegisterWebSource_executorAndCallbackCalled_customReceiver() method
238 new AdServicesOutcomeReceiver<>() { in testRegisterWebTrigger_executorAndCallbackCalled_customReceiver() method
286 new AdServicesOutcomeReceiver<>() { in testRegisterTrigger_executorAndCallbackCalled_customReceiver() method
326 (AdServicesOutcomeReceiver<Object, Exception>) in testDeleteRegistrations_nullExecutor_throwNullPointerException_customReceiver()
354 /* callback */ (AdServicesOutcomeReceiver<Object, Exception>) in testDeleteRegistrations_nullCallback_throwNullPointerException_customReceiver()
390 AdServicesOutcomeReceiver<Integer, Exception> callback = in testGetMeasurementApiStatus_customReceiver()
391 new AdServicesOutcomeReceiver<>() { in testGetMeasurementApiStatus_customReceiver()
434 (AdServicesOutcomeReceiver<Integer, Exception>) result -> {})); in testGetMeasurementApiStatus_nullExecutor_throwNullPointerException_customReceiver()
[all …]
DMeasurementCompatibleManagerTest.java37 import android.adservices.common.AdServicesOutcomeReceiver;
152 AdServicesOutcomeReceiver callback = mock(AdServicesOutcomeReceiver.class); in testRegisterSource_BindServiceFailure_propagateErrorCallback()
182 ((AdServicesOutcomeReceiver) invocation.getArgument(1)) in testRegisterSource_adIdEnabled_register()
221 ((AdServicesOutcomeReceiver) invocation.getArgument(1)) in testRegisterSource_adIdZeroOut_register()
259 ((AdServicesOutcomeReceiver) invocation.getArgument(1)) in testRegisterSource_adIdDisabled_register()
319 AdServicesOutcomeReceiver callback = mock(AdServicesOutcomeReceiver.class); in testRegisterTrigger_BindServiceFailure_propagateErrorCallback()
333 AdServicesOutcomeReceiver callback = mock(AdServicesOutcomeReceiver.class); in testRegisterWebSource_BindServiceFailure_propagateErrorCallback()
347 AdServicesOutcomeReceiver callback = mock(AdServicesOutcomeReceiver.class); in testRegisterWebTrigger_BindServiceFailure_propagateErrorCallback()
394 new AdServicesOutcomeReceiver<>() { in testRegisterSource_executorAndCallbackCalled() method
485 new AdServicesOutcomeReceiver<>() { in testRegisterWebSource_executorAndCallbackCalled() method
[all …]
DMeasurementCompatibleManagerSandboxTest.java29 import android.adservices.common.AdServicesOutcomeReceiver;
80 private AdServicesOutcomeReceiver mMockOutcomeReceiver;
97 mMockOutcomeReceiver = mock(AdServicesOutcomeReceiver.class); in setUp()
111 ((AdServicesOutcomeReceiver) invocation.getArgument(1)) in setUp()
116 .getAdId(any(), any(AdServicesOutcomeReceiver.class)); in setUp()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DMeasurementCompatibleManager.java22 import android.adservices.common.AdServicesOutcomeReceiver;
140 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in register()
197 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerSource()
242 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerSource()
316 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerWebSource()
375 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerWebSourceWrapper()
404 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerWebTrigger()
460 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerWebTriggerWrapper()
486 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerTrigger()
524 @NonNull AdServicesOutcomeReceiver<Object, Exception> callback) { in deleteRegistrations()
[all …]
DMeasurementManager.java20 import android.adservices.common.AdServicesOutcomeReceiver;
168 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerSource()
204 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerSource()
251 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerWebSource()
296 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerWebTrigger()
334 @Nullable AdServicesOutcomeReceiver<Object, Exception> callback) { in registerTrigger()
375 @NonNull AdServicesOutcomeReceiver<Object, Exception> callback) { in deleteRegistrations()
410 @NonNull AdServicesOutcomeReceiver<Integer, Exception> callback) { in getMeasurementApiStatus()
/packages/modules/AdServices/adservices/framework/api/
Dsystem-lint-baseline.txt2 …tates, java.util.concurrent.Executor, android.adservices.common.AdServicesOutcomeReceiver<java.lan…
3 …sStates,java.util.concurrent.Executor,android.adservices.common.AdServicesOutcomeReceiver<java.lan…
4 …nabled(java.util.concurrent.Executor, android.adservices.common.AdServicesOutcomeReceiver<java.lan…
5 …Enabled(java.util.concurrent.Executor,android.adservices.common.AdServicesOutcomeReceiver<java.lan…
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceWorker.java21 import android.adservices.common.AdServicesOutcomeReceiver;
81 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in getAdServicesExtData()
119 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in setAdServicesExtData()
149 AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in constructCallback()
166 AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback,
DAdServicesExtDataStorageServiceDebugProxy.java30 import android.adservices.common.AdServicesOutcomeReceiver;
85 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in setAdServicesExtData()
127 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in getAdServicesExtData()
DAdServicesExtDataStorageServiceManager.java43 import android.adservices.common.AdServicesOutcomeReceiver;
140 new AdServicesOutcomeReceiver<>() { in getAdServicesExtData()
232 new AdServicesOutcomeReceiver<>() { in setAdServicesExtData()
414 new AdServicesOutcomeReceiver<>() { in clearDataOnOtaAsync()
/packages/modules/AdServices/adservices/samples/adid/java/com/example/adservices/samples/adid/app/
DMainActivity.java20 import android.adservices.common.AdServicesOutcomeReceiver;
58 AdServicesOutcomeReceiver<AdId, Exception> adIdCallback = in registerAdIdButton()
59 new AdServicesOutcomeReceiver<AdId, Exception>() { in registerAdIdButton()
75 private void getAdId(Executor executor, AdServicesOutcomeReceiver<AdId, Exception> callback) { in getAdId()
/packages/modules/AdServices/adservices/tests/cts/endtoends/measurement/src/com/android/adservices/tests/cts/measurement/
DMeasurementManagerCtsTest.java26 import android.adservices.common.AdServicesOutcomeReceiver;
144 (AdServicesOutcomeReceiver<Object, Exception>) in testRegisterSource_withNoServerSetupWithCallbackCustomReceiver_noErrors()
180 AdServicesOutcomeReceiver<Object, Exception> osCallback = in testRegisterSource_withLocalhostUriNonDebuggableCallerWithCustomReceiver_fails()
181 new AdServicesOutcomeReceiver<>() { in testRegisterSource_withLocalhostUriNonDebuggableCallerWithCustomReceiver_fails()
280 (AdServicesOutcomeReceiver<Object, Exception>)
368 (AdServicesOutcomeReceiver<Object, Exception>)
481 (AdServicesOutcomeReceiver<Object, Exception>)
580 (AdServicesOutcomeReceiver<Object, Exception>)
670 (AdServicesOutcomeReceiver<Object, Exception>)
705 (AdServicesOutcomeReceiver<Object, Exception>)
[all …]
/packages/modules/AdServices/adservices/tests/cts/adid/src/com/android/adservices/tests/adid/
DAdIdProviderTest.java23 import android.adservices.common.AdServicesOutcomeReceiver;
63 AdServicesOutcomeReceiver<AdId, Exception> callback = in testAdIdProvider()
64 new AdServicesOutcomeReceiver<>() { in testAdIdProvider()
DAdIdCompatibleManagerTest.java24 import android.adservices.common.AdServicesOutcomeReceiver;
58 AdServicesOutcomeReceiver<AdId, Exception> callback = in testAdIdCompatibleManager()
59 new AdServicesOutcomeReceiver<>() { in testAdIdCompatibleManager()
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/measurement/
DMeasurementClient.java153 new android.adservices.common.AdServicesOutcomeReceiver<>() {
199 new android.adservices.common.AdServicesOutcomeReceiver<>() {
245 new android.adservices.common.AdServicesOutcomeReceiver<>() {
292 new android.adservices.common.AdServicesOutcomeReceiver<>() {
338 new android.adservices.common.AdServicesOutcomeReceiver<>() {
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/
DAbstractMeasurementLatencyTest.java20 import android.adservices.common.AdServicesOutcomeReceiver;
97 new AdServicesOutcomeReceiver<>() { in runRegisterSource() method
118 new AdServicesOutcomeReceiver<>() { in runGetMeasurementApiStatus()
152 new AdServicesOutcomeReceiver<>() { in warmupAdServices() method
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DOutcomeReceiverConverter.java46 AdServicesOutcomeReceiver<R, E> toAdServicesOutcomeReceiver( in toAdServicesOutcomeReceiver()
52 return new AdServicesOutcomeReceiver<R, E>() { in toAdServicesOutcomeReceiver()
DAdServicesCommonManager.java136 @NonNull AdServicesOutcomeReceiver<Boolean, Exception> callback) { in isAdServicesEnabled()
251 @NonNull AdServicesOutcomeReceiver<Boolean, Exception> callback) { in enableAdServices()
315 @NonNull AdServicesOutcomeReceiver<Boolean, Exception> callback) { in updateAdId()
387 AdServicesOutcomeReceiver<AdServicesCommonStatesResponse, Exception> callback) { in getAdservicesCommonStates()
DAdServicesOutcomeReceiver.java32 public interface AdServicesOutcomeReceiver<R, E extends Throwable> { interface
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/
DAdIdCompatibleManager.java21 import android.adservices.common.AdServicesOutcomeReceiver;
88 AdServicesOutcomeReceiver<AdId, Exception> callback) { in getService()
121 @NonNull AdServicesOutcomeReceiver<AdId, Exception> callback) { in getAdId()
DAdIdManager.java20 import android.adservices.common.AdServicesOutcomeReceiver;
122 @NonNull AdServicesOutcomeReceiver<AdId, Exception> callback) { in getAdId()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesOutcomeReceiverForTests.java19 import android.adservices.common.AdServicesOutcomeReceiver;
34 implements AdServicesOutcomeReceiver<T, Exception> {
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DMeasurementCtsDebuggableTest.java21 import android.adservices.common.AdServicesOutcomeReceiver;
386 (AdServicesOutcomeReceiver<Object, Exception>) in executeRegisterSource()
415 (AdServicesOutcomeReceiver<Object, Exception>) in executeRegisterTrigger()
450 (AdServicesOutcomeReceiver<Object, Exception>) in executeRegisterWebSource()
484 (AdServicesOutcomeReceiver<Object, Exception>) in executeRegisterWebTrigger()
565 (AdServicesOutcomeReceiver<Object, Exception>) in executeDeleteRegistrations()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/load/scenarios/
DCallRegisterSource.java19 import android.adservices.common.AdServicesOutcomeReceiver;
76 new AdServicesOutcomeReceiver<>() { in runRegisterSource() method
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManagerTest.java50 import android.adservices.common.AdServicesOutcomeReceiver;
152 ((AdServicesOutcomeReceiver) invocation.getArgument(0)) in testGetAdServicesExtData_onErrorSet_returnsDefaultParams()
213 ((AdServicesOutcomeReceiver) invocation.getArgument(2)) in testSetAdServicesExtData_onErrorSet_returnsFalse()
486 ((AdServicesOutcomeReceiver) invocation.getArgument(0)) in mockWorkerGetAdExtDataCall()
497 ((AdServicesOutcomeReceiver) invocation.getArgument(2)) in mockWorkerSetAdExtDataCall()
/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/customaudience/
DAdvertisingCustomAudienceClient.java19 import android.adservices.common.AdServicesOutcomeReceiver;
137 new AdServicesOutcomeReceiver<Object, Exception>() {

12