Home
last modified time | relevance | path

Searched refs:AdServicesExecutors (Results 1 – 25 of 138) sorted by relevance

123456

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DMultiCloudSupportStrategyFactory.java22 import com.android.adservices.concurrency.AdServicesExecutors;
60 AdServicesExecutors.getLightWeightExecutor(), in getEncryptionConfigManager()
71 AdServicesExecutors.getLightWeightExecutor()); in getObliviousHttpEncryptor()
79 AdServicesExecutors.getBlockingExecutor(), in getProtectedServersEncryptionConfigManager()
86 AdServicesExecutors.getLightWeightExecutor(), in getProtectedServersEncryptionConfigManager()
105 AdServicesExecutors.getLightWeightExecutor()); in getObliviousHttpEncryptor()
117 AdServicesExecutors.getLightWeightExecutor(), in getEncryptionConfigManager()
126 AdServicesExecutors.getBlockingExecutor(), in getProtectedServersEncryptionConfigManager()
132 AdServicesExecutors.getLightWeightExecutor(), in getProtectedServersEncryptionConfigManager()
DDebugReportSenderWorker.java24 import com.android.adservices.concurrency.AdServicesExecutors;
96 AdServicesExecutors.getBlockingExecutor(), in getInstance()
136 AdServicesExecutors.getBackgroundExecutor() in getDebugReports()
158 AdServicesExecutors.getBackgroundExecutor() in cleanupDebugReportsData()
181 .call(() -> null, AdServicesExecutors.getBlockingExecutor());
203 .transform(this::sendDebugReports, AdServicesExecutors.getBackgroundExecutor())
206 AdServicesExecutors.getBackgroundExecutor())
210 AdServicesExecutors.getScheduler());
DDebugReportSenderStrategyNoOp.java22 import com.android.adservices.concurrency.AdServicesExecutors;
60 }, AdServicesExecutors.getBlockingExecutor()); in flush()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMobileDataDownloadFactory.java29 import com.android.adservices.concurrency.AdServicesExecutors;
186 return AdServicesExecutors.getBackgroundExecutor(); in getControlExecutor()
190 return AdServicesExecutors.getBackgroundExecutor(); in getDownloadExecutor()
196 AdServicesExecutors.getBlockingExecutor(), in getUrlEngine()
211 .withIOExecutor(AdServicesExecutors.getBlockingExecutor()) in getFileDownloader()
234 sharedPrefs, AdServicesExecutors.getBackgroundExecutor()); in getDownloadMetadataStore()
252 fileStorage, AdServicesExecutors.getBackgroundExecutor()); in getTopicsManifestPopulator()
298 .setBackgroundExecutor(AdServicesExecutors.getBackgroundExecutor()) in getTopicsManifestPopulator()
307 AdServicesExecutors.getBackgroundExecutor())) in getTopicsManifestPopulator()
341 fileStorage, AdServicesExecutors.getBackgroundExecutor());
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/concurrency/
DAdServicesExecutorTest.java53 AdServicesExecutors.getAsyncThreadPolicy(), in testCreateLightWeightThreadSuccess()
57 runTaskAndAssertResult(AdServicesExecutors.getLightWeightExecutor(), expectedResult); in testCreateLightWeightThreadSuccess()
64 AdServicesExecutors.getIoThreadPolicy(), in testCreateBackgroundThreadSuccess()
67 runTaskAndAssertResult(AdServicesExecutors.getBackgroundExecutor(), expectedResult); in testCreateBackgroundThreadSuccess()
77 runTaskAndAssertResult(AdServicesExecutors.getBlockingExecutor(), expectedResult); in testCreateBlockingThreadSuccess()
84 AdServicesExecutors.getIoThreadPolicy(), in testCreateScheduledThreadSuccess()
87 runTaskAndAssertResult(AdServicesExecutors.getScheduler(), expectedResult); in testCreateScheduledThreadSuccess()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DBackgroundKeyFetchWorker.java30 import com.android.adservices.concurrency.AdServicesExecutors;
111 AdServicesExecutors.getBlockingExecutor(), in getInstance()
152 AdServicesExecutors.getBackgroundExecutor() in getAbsentAndExpiredKeyTypes()
158 AdServicesExecutors.getBackgroundExecutor() in getExpiredKeyTypes()
178 .transform(ignored -> null, AdServicesExecutors.getLightWeightExecutor()); in fetchNewKeys()
261 AdServicesExecutors.getScheduler()) in fetchNewKeys()
262 .transform(ignored -> null, AdServicesExecutors.getLightWeightExecutor()); in fetchNewKeys()
269 .transform(ignored -> null, AdServicesExecutors.getLightWeightExecutor()); in doRun()
280 AdServicesExecutors.getBackgroundExecutor()); in doRun()
287 AdServicesExecutors.getBackgroundExecutor()); in doRun()
[all …]
DObliviousHttpEncryptorFactory.java21 import com.android.adservices.concurrency.AdServicesExecutors;
39 AdServicesExecutors.getBlockingExecutor(), in getKAnonObliviousHttpEncryptor()
46 AdServicesExecutors.getLightWeightExecutor(), in getKAnonObliviousHttpEncryptor()
49 encryptionKeyManager, AdServicesExecutors.getLightWeightExecutor()); in getKAnonObliviousHttpEncryptor()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DShellCommandServiceImplTest.java34 import com.android.adservices.concurrency.AdServicesExecutors;
133 AdServicesExecutors.getLightWeightExecutor(), in setup()
134 AdServicesExecutors.getBackgroundExecutor(), in setup()
158 AdServicesExecutors.getLightWeightExecutor(), in setup()
159 AdServicesExecutors.getScheduler(), in setup()
272 AdServicesExecutors.getLightWeightExecutor(), in testRunShellCommand_offloadsWorkToExecutor()
273 AdServicesExecutors.getScheduler(), in testRunShellCommand_offloadsWorkToExecutor()
333 AdServicesExecutors.getLightWeightExecutor(), in testRunShellCommand_commandTimesOut()
334 AdServicesExecutors.getScheduler(), in testRunShellCommand_commandTimesOut()
383 AdServicesExecutors.getLightWeightExecutor(), in testRunShellCommand_commandThrowsException()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DBackgroundFetchWorker.java27 import com.android.adservices.concurrency.AdServicesExecutors;
155 AdServicesExecutors.getBackgroundExecutor()) in doRun()
163 AdServicesExecutors.getBackgroundExecutor()) in doRun()
167 AdServicesExecutors.getScheduler()); in doRun()
170 AdServicesExecutors.getBackgroundExecutor()); in doRun()
211 AdServicesExecutors.getBackgroundExecutor())); in updateData()
216 .transform(ignored -> null, AdServicesExecutors.getLightWeightExecutor()); in updateData()
234 AdServicesExecutors.getBackgroundExecutor() in cleanupFledgeData()
DBackgroundFetchRunner.java31 import com.android.adservices.concurrency.AdServicesExecutors;
83 AdServicesExecutors.getBlockingExecutor(), in BackgroundFetchRunner()
202 AdServicesExecutors.getBackgroundExecutor()); in updateCustomAudience()
234 AdServicesExecutors.getBackgroundExecutor()) in fetchAndValidateCustomAudienceUpdatableData()
238 AdServicesExecutors.getBackgroundExecutor()) in fetchAndValidateCustomAudienceUpdatableData()
247 AdServicesExecutors.getBackgroundExecutor()); in fetchAndValidateCustomAudienceUpdatableData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonSignJoinFactory.java26 import com.android.adservices.concurrency.AdServicesExecutors;
56 AdServicesExecutors.getBlockingExecutor(), in getKAnonSignJoinManager()
68 AdServicesExecutors.getLightWeightExecutor(), in getKAnonSignJoinManager()
69 AdServicesExecutors.getBackgroundExecutor(), in getKAnonSignJoinManager()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DRetryStrategyTest.java21 import com.android.adservices.concurrency.AdServicesExecutors;
50 maxRetryAttempts, AdServicesExecutors.getLightWeightExecutor()); in test_call_success()
69 maxRetryAttempts, AdServicesExecutors.getLightWeightExecutor()); in test_call_withZeroRetryAttemptsDoesNotRetry()
81 new RetryStrategyImpl(retryAttempts, AdServicesExecutors.getLightWeightExecutor()); in test_call_doseNotRetryOnNonRetryableExceptions()
DRetryStrategyFactoryTest.java22 import com.android.adservices.concurrency.AdServicesExecutors;
31 AdServicesExecutors.getLightWeightExecutor();
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/js/
DJSScriptEngine.java32 import com.android.adservices.concurrency.AdServicesExecutors;
154 AdServicesExecutors.getLightWeightExecutor()); in getFutureInstance()
197 AdServicesExecutors.getLightWeightExecutor()) in destroyIfCurrentInstance()
207 AdServicesExecutors.getLightWeightExecutor()); in destroyIfCurrentInstance()
232 AdServicesExecutors.getLightWeightExecutor())
242 AdServicesExecutors.getLightWeightExecutor());
274 AdServicesExecutors.getLightWeightExecutor(),
302 AdServicesExecutors.getLightWeightExecutor(),
326 AdServicesExecutors.getLightWeightExecutor(),
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DSingletonRunner.java22 import com.android.adservices.concurrency.AdServicesExecutors;
88 AdServicesExecutors.getLightWeightExecutor()) in runSingleInstance()
95 AdServicesExecutors.getLightWeightExecutor()); in runSingleInstance()
DRetryStrategyFactory.java19 import com.android.adservices.concurrency.AdServicesExecutors;
47 return new RetryStrategyFactory(false, AdServicesExecutors.getLightWeightExecutor()); in createInstanceForTesting()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/
DMaintenanceJobService.java36 import com.android.adservices.concurrency.AdServicesExecutors;
110 AdServicesExecutors.getBackgroundExecutor()); in onStartJob()
121 AdServicesExecutors.getBackgroundExecutor()); in onStartJob()
132 AdServicesExecutors.getBackgroundExecutor()); in onStartJob()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportEventDisabledImplTest.java31 import com.android.adservices.concurrency.AdServicesExecutors;
57 AdServicesExecutors.getLightWeightExecutor();
59 AdServicesExecutors.getBackgroundExecutor();
DEventReporterFactoryTest.java24 import com.android.adservices.concurrency.AdServicesExecutors;
49 AdServicesExecutors.getLightWeightExecutor();
51 AdServicesExecutors.getBackgroundExecutor();
DAdOutcomeSelectorImplTest.java41 import com.android.adservices.concurrency.AdServicesExecutors;
118 mLightweightExecutorService = AdServicesExecutors.getLightWeightExecutor(); in setup()
119 mBackgroundExecutorService = AdServicesExecutors.getBackgroundExecutor(); in setup()
120 mBlockingExecutorService = AdServicesExecutors.getBlockingExecutor(); in setup()
121 mSchedulingExecutor = AdServicesExecutors.getScheduler(); in setup()
124 AdServicesExecutors.getBlockingExecutor(), in setup()
DOutcomeSelectionRunnerTest.java60 import com.android.adservices.concurrency.AdServicesExecutors;
148 mBlockingExecutorService = AdServicesExecutors.getBlockingExecutor(); in setup()
168 AdServicesExecutors.getLightWeightExecutor(), in setup()
169 AdServicesExecutors.getScheduler(), in setup()
336 AdServicesExecutors.getLightWeightExecutor(), in testRunOutcomeSelectionOrchestrationTimeoutFailure()
337 AdServicesExecutors.getScheduler(), in testRunOutcomeSelectionOrchestrationTimeoutFailure()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/
DShellCommandServiceImpl.java28 import com.android.adservices.concurrency.AdServicesExecutors;
80 AdServicesExecutors.getLightWeightExecutor(), in ShellCommandServiceImpl()
81 AdServicesExecutors.getScheduler(), in ShellCommandServiceImpl()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DAssetFileDescriptorUtilTests.java25 import com.android.adservices.concurrency.AdServicesExecutors;
34 AdServicesExecutors.getBlockingExecutor();
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceRefreshCommandTest.java32 import com.android.adservices.concurrency.AdServicesExecutors;
225 AdServicesExecutors.getScheduler()) in test_getCommandName()
236 AdServicesExecutors.getScheduler()) in test_getCommandHelp()
248 AdServicesExecutors.getScheduler()), in runRefreshCustomAudienceCommand()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DPeriodicEncodingJobWorker.java26 import com.android.adservices.concurrency.AdServicesExecutors;
153 AdServicesExecutors.getLightWeightExecutor()) in computeFieldValue()
169 AdServicesExecutors.getBackgroundExecutor(), in computeFieldValue()
170 AdServicesExecutors.getLightWeightExecutor(), in computeFieldValue()
358 .withTimeout(timeout, TimeUnit.SECONDS, AdServicesExecutors.getScheduler());

123456