Home
last modified time | relevance | path

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

/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackFactoryTest.java34 var settings1 = SyncCallbackFactory.newDefaultSettings(); in testNewDefaultSettings()
37 var settings2 = SyncCallbackFactory.newDefaultSettings(); in testNewDefaultSettings()
44 var builder1 = SyncCallbackFactory.newSettingsBuilder(); in testNewSettingsBuilder()
47 var builder2 = SyncCallbackFactory.newSettingsBuilder(); in testNewSettingsBuilder()
55 var settings = SyncCallbackFactory.newDefaultSettings(); in testIsMainThread_mainThread()
69 var settings = SyncCallbackFactory.newDefaultSettings(); in testIsMainThread_notMainThread()
DDeviceSideSyncCallbackTest.java42 new ConcreteDeviceSideySncCallback(SyncCallbackFactory.newDefaultSettings()); in testSetCalled_calledOnMainThread_fails()
67 SyncCallbackFactory.newSettingsBuilder() in testSetCalled_calledOnMainThread_pass()
83 this(SyncCallbackFactory.newSettingsBuilder().build()); in ConcreteDeviceSideySncCallback()
DJobServiceLoggingCallbackTest.java33 SyncCallbackFactory.newSettingsBuilder() in testCustomMethods()
DDeviceSideConcurrencyHelperTest.java40 SyncCallbackFactory.newSettingsBuilder() in testRunOnMainThread()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DIntFailureSyncCallback.java19 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
37 this(SyncCallbackFactory.newDefaultSettings()); in IntFailureSyncCallback()
47 this(SyncCallbackFactory.newSettingsBuilder().setMaxTimeoutMs(timeoutMs).build()); in IntFailureSyncCallback()
DJobServiceLoggingCallback.java22 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
36 this(SyncCallbackFactory.newDefaultSettings()); in JobServiceLoggingCallback()
DHandlerIdleSyncCallback.java23 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
39 super(SyncCallbackFactory.newSettingsBuilder().setFailIfCalledOnMainThread(false).build()); in HandlerIdleSyncCallback()
DBroadcastReceiverSyncCallback.java28 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
56 SyncCallbackFactory.newSettingsBuilder() in BroadcastReceiverSyncCallback()
DAnswerSyncCallback.java22 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
45 SyncCallbackFactory.newSettingsBuilder() in AnswerSyncCallback()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackFactory.java23 public final class SyncCallbackFactory { class
33 AndroidLogger.getInstance(), SyncCallbackFactory::isMainThread); in newSettingsBuilder()
DSimpleSyncCallback.java23 this(SyncCallbackFactory.newSettingsBuilder().build()); in SimpleSyncCallback()
DResultSyncCallback.java44 super(SyncCallbackFactory.newSettingsBuilder().build()); in ResultSyncCallback()
DFailableResultSyncCallback.java50 this(SyncCallbackFactory.newSettingsBuilder().build()); in FailableResultSyncCallback()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DProcessLifeguardTestSuite.java32 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
183 SyncCallbackFactory.newSettingsBuilder() in MySyncCallback()
DOutcomeReceiverForTestsTest.java26 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
173 SyncCallbackFactory.newSettingsBuilder() in newReceiver()
DAnswerSyncCallbackTest.java23 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
45 SyncCallbackFactory.newSettingsBuilder().setExpectedNumberCalls(2).build();
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DMockitoExpectations.java44 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
75 SyncCallbackFactory.newSettingsBuilder() in mockLogApiCallStats()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportAndRegisterEventImplTest.java95 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
1223 SyncCallbackFactory.newSettingsBuilder() in callReportEvent()
DReportAndRegisterEventFallbackImplTest.java95 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;
1570 SyncCallbackFactory.newSettingsBuilder() in callReportEvent()