/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/ |
D | MddJobServiceTest.java | 68 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 218 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testSchedule_killswitchOff() 228 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testSchedule_killswitchOn() 262 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testScheduleIfNeeded_Success() 286 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testScheduleIfNeeded_ScheduledWithSameParameters() 302 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testScheduleIfNeeded_ScheduledWithDifferentParameters() 316 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ true); in testScheduleIfNeeded_forceRun() 335 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testScheduleIfNeededMddSingleTask_mddMaintenancePeriodicTask() 343 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testScheduleIfNeededMddSingleTask_mddChargingPeriodicTask() 352 ResultSyncCallback<Integer> callBack = scheduleJobInBackground(/* forceSchedule */ false); in testScheduleIfNeededMddSingleTask_mddCellularChargingPeriodicTask() [all …]
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/logging/ |
D | JobSchedulingLoggerTest.java | 37 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 104 ResultSyncCallback<Void> callback = syncLogSchedulingStatsHelper(); in testRecordOnScheduling_enabled() 127 ResultSyncCallback<Void> callback = syncLogSchedulingStatsHelper(); in testRecordOnSchedulingLagacy_enabled() 165 private ResultSyncCallback<Void> syncLogSchedulingStatsHelper() { in syncLogSchedulingStatsHelper() 166 ResultSyncCallback<Void> callback = new ResultSyncCallback<>(); in syncLogSchedulingStatsHelper()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | ResultSyncCallbackTest.java | 19 extends IResultSyncCallbackTestCase<Object, ResultSyncCallback<Object>> { 27 protected ResultSyncCallback<Object> newCallback(SyncCallbackSettings settings) { in newCallback() 28 return new ResultSyncCallback<Object>(settings); in newCallback()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | JobServiceCallback.java | 71 private <T extends ResultSyncCallback<Boolean>> T setCallback( in setCallback() 81 private void assertCallbackCalled(String callbackInstance, ResultSyncCallback<Boolean> callback) in assertCallbackCalled() 97 private static final class JobFinishedCallback extends ResultSyncCallback<Boolean> { 133 private static final class JobStoppedCallback extends ResultSyncCallback<Boolean> {
|
D | ResultSyncCallback.java | 32 public class ResultSyncCallback<R> extends DeviceSideSyncCallback class 43 public ResultSyncCallback() { in ResultSyncCallback() method in ResultSyncCallback 47 public ResultSyncCallback(SyncCallbackSettings settings) { in ResultSyncCallback() method in ResultSyncCallback 52 ResultSyncCallback(AbstractSyncCallback realCallback, SyncCallbackSettings settings) { in ResultSyncCallback() method in ResultSyncCallback
|
D | FailableResultSyncCallback.java | 18 import static com.android.adservices.shared.testing.concurrency.ResultSyncCallback.getImmutableList; 47 private final ResultSyncCallback<ResultOrFailure<R, F>> mCallback; 56 mCallback = new ResultSyncCallback<>(this, settings); in FailableResultSyncCallback()
|
D | OnResultSyncCallback.java | 24 public abstract class OnResultSyncCallback<T> extends ResultSyncCallback<T>
|
D | SyncOnSharedPreferenceChangeListener.java | 22 public final class SyncOnSharedPreferenceChangeListener extends ResultSyncCallback<String>
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/ |
D | MockitoExpectations.java | 43 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 61 public static ResultSyncCallback<ApiCallStats> mockLogApiCallStats( in mockLogApiCallStats() 71 public static ResultSyncCallback<ApiCallStats> mockLogApiCallStats( in mockLogApiCallStats() 73 ResultSyncCallback<ApiCallStats> callback = in mockLogApiCallStats() 74 new ResultSyncCallback<>( in mockLogApiCallStats()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/ |
D | BooleanSyncCallback.java | 19 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 26 public final class BooleanSyncCallback extends ResultSyncCallback<Boolean> {
|
D | HandlerIdleSyncCallback.java | 22 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 36 public final class HandlerIdleSyncCallback extends ResultSyncCallback<Object> {
|
D | BroadcastReceiverSyncCallback.java | 27 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 40 public final class BroadcastReceiverSyncCallback extends ResultSyncCallback<Intent> {
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/spe/scheduling/ |
D | PolicyJobSchedulerTest.java | 60 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 311 ResultSyncCallback<Void> callback = syncRecordOnScheduling(); in testAddCallbackToSchedulingFuture_onSuccess() 324 ResultSyncCallback<Void> callback = syncRecordOnScheduling(); in testAddCallbackToSchedulingFuture_onFailure() 367 private ResultSyncCallback<Void> syncRecordOnScheduling() { in syncRecordOnScheduling() 368 ResultSyncCallback<Void> callback = new ResultSyncCallback<>(); in syncRecordOnScheduling()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/ |
D | ProcessLifeguardTestSuite.java | 31 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 179 private static class MySyncCallback extends ResultSyncCallback<Object> {
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/ |
D | TopicsServiceImplTest.java | 107 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 849 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in testGetTopics_LatencyCalculateVerify() 898 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in testGetTopics_enforceCallingPackage_invalidPackage() 959 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in testGetTopics_recordObservation() 993 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in testGetTopics_notRecordObservation() 1038 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in invokeGetTopicsAndVerifyError() 1114 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in getTopicsResults()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsetid/src/com/android/adservices/service/appsetid/ |
D | AppSetIdServiceImplTest.java | 69 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 347 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in runGetAppSetId()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/ |
D | ProtectedSignalsServiceImplTest.java | 66 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 114 private ResultSyncCallback<ApiCallStats> logApiCallStatsCallback;
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AdServicesCommonServiceImplTest.java | 85 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 126 private ResultSyncCallback<ApiCallStats> mLogApiCallStatsCallback; 847 ResultSyncCallback<ApiCallStats> logApiCallStatsCallback = in testGetAdservicesCommonStates_notAllowed()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | GetAdSelectionDataRunnerTest.java | 102 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 198 private ResultSyncCallback<ApiCallStats> logApiCallStatsCallback;
|
D | PersistAdSelectionResultRunnerTest.java | 113 import com.android.adservices.shared.testing.concurrency.ResultSyncCallback; 425 private ResultSyncCallback<ApiCallStats> logApiCallStatsCallback;
|