Searched refs:SyncCallbackFactory (Results 1 – 19 of 19) sorted by relevance
34 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()
42 new ConcreteDeviceSideySncCallback(SyncCallbackFactory.newDefaultSettings()); in testSetCalled_calledOnMainThread_fails()67 SyncCallbackFactory.newSettingsBuilder() in testSetCalled_calledOnMainThread_pass()83 this(SyncCallbackFactory.newSettingsBuilder().build()); in ConcreteDeviceSideySncCallback()
33 SyncCallbackFactory.newSettingsBuilder() in testCustomMethods()
40 SyncCallbackFactory.newSettingsBuilder() in testRunOnMainThread()
19 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;37 this(SyncCallbackFactory.newDefaultSettings()); in IntFailureSyncCallback()47 this(SyncCallbackFactory.newSettingsBuilder().setMaxTimeoutMs(timeoutMs).build()); in IntFailureSyncCallback()
22 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;36 this(SyncCallbackFactory.newDefaultSettings()); in JobServiceLoggingCallback()
23 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;39 super(SyncCallbackFactory.newSettingsBuilder().setFailIfCalledOnMainThread(false).build()); in HandlerIdleSyncCallback()
28 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;56 SyncCallbackFactory.newSettingsBuilder() in BroadcastReceiverSyncCallback()
22 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;45 SyncCallbackFactory.newSettingsBuilder() in AnswerSyncCallback()
23 public final class SyncCallbackFactory { class33 AndroidLogger.getInstance(), SyncCallbackFactory::isMainThread); in newSettingsBuilder()
23 this(SyncCallbackFactory.newSettingsBuilder().build()); in SimpleSyncCallback()
44 super(SyncCallbackFactory.newSettingsBuilder().build()); in ResultSyncCallback()
50 this(SyncCallbackFactory.newSettingsBuilder().build()); in FailableResultSyncCallback()
32 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;183 SyncCallbackFactory.newSettingsBuilder() in MySyncCallback()
26 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;173 SyncCallbackFactory.newSettingsBuilder() in newReceiver()
23 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;45 SyncCallbackFactory.newSettingsBuilder().setExpectedNumberCalls(2).build();
44 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;75 SyncCallbackFactory.newSettingsBuilder() in mockLogApiCallStats()
95 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;1223 SyncCallbackFactory.newSettingsBuilder() in callReportEvent()
95 import com.android.adservices.shared.testing.concurrency.SyncCallbackFactory;1570 SyncCallbackFactory.newSettingsBuilder() in callReportEvent()