/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackSettingsTest.java | 19 import static com.android.adservices.shared.testing.concurrency.SyncCallbackSettings.DEFAULT_TIMEOU… 40 new SyncCallbackSettings.Builder( in testBuilderWithInvalidArgs() 45 new SyncCallbackSettings.Builder( in testBuilderWithInvalidArgs() 51 SyncCallbackSettings settings = newDefaultBuilder().build(); in testDefaultBuilder() 72 SyncCallbackSettings settings2 = newDefaultBuilder().build(); in testDefaultBuilder() 78 SyncCallbackSettings settings = in testCustomBuilder() 101 SyncCallbackSettings.Builder builder = newDefaultBuilder(); in testBuildeReturnsUniqueObjects() 103 SyncCallbackSettings settings1 = builder.build(); in testBuildeReturnsUniqueObjects() 104 SyncCallbackSettings settings2 = builder.build(); in testBuildeReturnsUniqueObjects() 111 SyncCallbackSettings.Builder builder = newDefaultBuilder(); in testInvalidBuilderArgs() [all …]
|
D | SyncCallbackTestCase.java | 52 private final SyncCallbackSettings.Builder mFakeLoggerSettingsBuilder = 53 new SyncCallbackSettings.Builder(mFakeLogger); 54 private final SyncCallbackSettings.Builder mDefaultSettingsBuilder = 63 protected final SyncCallbackSettings mDefaultSettings = mDefaultSettingsBuilder.build(); 82 protected CB newCallback(SyncCallbackSettings settings) { in newCallback() 99 protected SyncCallback newRawCallback(SyncCallbackSettings settings) { in newRawCallback() 103 private CB newFrozenCallback(SyncCallbackSettings settings) { in newFrozenCallback() 192 getConstructor(callbackClass, SyncCallbackSettings.class); in testHasExpectedConstructors() 201 SyncCallbackSettings settings = in testConstructor_cannotFailOnMainThread() 316 SyncCallbackSettings settings = mDefaultSettingsBuilder.setExpectedNumberCalls(2).build(); in testAssertCalled_multipleCalls() [all …]
|
D | MainThreadSyncCallbackTest.java | 25 protected AbstractSyncCallback newCallback(SyncCallbackSettings settings) { in newCallback() 44 new SyncCallbackSettings.Builder(new FakeLogger()) in MainThreadSyncCallback() 49 MainThreadSyncCallback(SyncCallbackSettings settings) { in MainThreadSyncCallback() 50 super(SyncCallbackSettings.checkCanFailOnMainThread(settings)); in MainThreadSyncCallback()
|
D | AbstractSyncCallbackTest.java | 25 protected AbstractSyncCallback newCallback(SyncCallbackSettings settings) { in newCallback() 111 super(new SyncCallbackSettings.Builder(new FakeLogger()).build()); in ConcreteSyncCallback() 114 ConcreteSyncCallback(SyncCallbackSettings settings) { in ConcreteSyncCallback()
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackSettings.java | 40 public final class SyncCallbackSettings implements Identifiable { class 55 private SyncCallbackSettings(Builder builder) { in SyncCallbackSettings() method in SyncCallbackSettings 133 public static SyncCallbackSettings checkCanFailOnMainThread(SyncCallbackSettings settings) { in checkCanFailOnMainThread() 186 public SyncCallbackSettings build() { in build() 187 return new SyncCallbackSettings(this); in build()
|
D | AbstractSyncCallback.java | 34 protected final SyncCallbackSettings mSettings; 55 public AbstractSyncCallback(SyncCallbackSettings settings) { in AbstractSyncCallback() 61 @Nullable AbstractSyncCallback realCallback, SyncCallbackSettings settings) { in AbstractSyncCallback() 90 public final SyncCallbackSettings getSettings() { in getSettings()
|
D | AbstractResultlessSyncCallback.java | 20 public AbstractResultlessSyncCallback(SyncCallbackSettings settings) { in AbstractResultlessSyncCallback()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/ |
D | BroadcastReceiverSyncCallback.java | 19 import static com.android.adservices.shared.testing.concurrency.SyncCallbackSettings.DEFAULT_TIMEOU… 29 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 63 Context context, String action, SyncCallbackSettings settings) { in BroadcastReceiverSyncCallback() 64 super(SyncCallbackSettings.checkCanFailOnMainThread(settings)); in BroadcastReceiverSyncCallback()
|
D | AnswerSyncCallback.java | 23 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 50 private AnswerSyncCallback(T answer, Throwable failure, SyncCallbackSettings settings) { in AnswerSyncCallback() 96 public static AnswerSyncCallback<Void> forVoidAnswers(SyncCallbackSettings settings) { in forVoidAnswers() 101 public static <A> AnswerSyncCallback<A> forAnswers(A answer, SyncCallbackSettings settings) { in forAnswers()
|
D | BooleanSyncCallback.java | 20 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 32 public BooleanSyncCallback(SyncCallbackSettings settings) { in BooleanSyncCallback()
|
D | JobServiceLoggingCallback.java | 23 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 39 public JobServiceLoggingCallback(SyncCallbackSettings settings) { in JobServiceLoggingCallback()
|
D | FutureSyncCallback.java | 20 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 36 public FutureSyncCallback(SyncCallbackSettings settings) { in FutureSyncCallback()
|
D | OutcomeReceiverForTests.java | 21 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 43 public OutcomeReceiverForTests(SyncCallbackSettings settings) { in OutcomeReceiverForTests()
|
D | IntFailureSyncCallback.java | 20 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 41 public IntFailureSyncCallback(SyncCallbackSettings settings) { in IntFailureSyncCallback()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | SyncCallbackFactory.java | 26 public static SyncCallbackSettings newDefaultSettings() { in newDefaultSettings() 31 public static SyncCallbackSettings.Builder newSettingsBuilder() { in newSettingsBuilder() 32 return new SyncCallbackSettings.Builder( in newSettingsBuilder()
|
D | DeviceSideSyncCallback.java | 30 protected DeviceSideSyncCallback(SyncCallbackSettings settings) { in DeviceSideSyncCallback() 35 DeviceSideSyncCallback(AbstractSyncCallback realCallback, SyncCallbackSettings settings) { in DeviceSideSyncCallback()
|
D | ResultSyncCallback.java | 47 public ResultSyncCallback(SyncCallbackSettings settings) { in ResultSyncCallback() 52 ResultSyncCallback(AbstractSyncCallback realCallback, SyncCallbackSettings settings) { in ResultSyncCallback()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | OnResultSyncCallbackTest.java | 27 protected OnResultSyncCallback<String> newCallback(SyncCallbackSettings settings) { in newCallback() 38 ConcreteOnResultSyncCallback(SyncCallbackSettings settings) { in ConcreteOnResultSyncCallback()
|
D | FailableOnResultSyncCallbackTest.java | 24 SyncCallbackSettings settings) { in newCallback() 46 ConcreteFailableOnResultSyncCallback(SyncCallbackSettings settings) { in ConcreteFailableOnResultSyncCallback()
|
D | DeviceSideSyncCallbackTest.java | 28 protected DeviceSideSyncCallback newCallback(SyncCallbackSettings settings) { in newCallback() 86 ConcreteDeviceSideySncCallback(SyncCallbackSettings settings) { in ConcreteDeviceSideySncCallback()
|
D | IntFailureSyncCallbackTest.java | 34 protected IntFailureSyncCallback<String> newCallback(SyncCallbackSettings settings) { in newCallback() 94 ConcreteIntFailureSyncCallback(SyncCallbackSettings settings) { in ConcreteIntFailureSyncCallback()
|
D | SyncCallbackFactoryTest.java | 19 import static com.android.adservices.shared.testing.concurrency.SyncCallbackSettings.DEFAULT_TIMEOU… 76 private void expectDefaultValues(String name, SyncCallbackSettings settings) { in expectDefaultValues()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ReportEventTestCallback.java | 27 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 35 ReportEventTestCallback(SyncCallbackSettings settings) { in ReportEventTestCallback()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/ |
D | AnswerSyncCallbackTest.java | 24 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 44 private final SyncCallbackSettings mSettingsForTwoCalls = 51 protected AnswerSyncCallback<Void> newCallback(SyncCallbackSettings settings) { in newCallback()
|
D | BroadcastReceiverSyncCallbackTest.java | 29 import com.android.adservices.shared.testing.concurrency.SyncCallbackSettings; 69 protected BroadcastReceiverSyncCallback newCallback(SyncCallbackSettings settings) { in newCallback()
|