/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceEndToEndTest.java | 664 CountDownLatch resultLatch = new CountDownLatch(1); in testFetchAndJoinCustomAudience_overridesJoinCustomAudience() local 666 new FetchCustomAudienceImplTest.FetchCustomAudienceTestCallback(resultLatch); in testFetchAndJoinCustomAudience_overridesJoinCustomAudience() 668 resultLatch.await(); in testFetchAndJoinCustomAudience_overridesJoinCustomAudience() 713 CountDownLatch resultLatch = new CountDownLatch(1); in testFetchAndJoinCustomAudienceAppInstallDisabled() local 715 new FetchCustomAudienceImplTest.FetchCustomAudienceTestCallback(resultLatch); in testFetchAndJoinCustomAudienceAppInstallDisabled() 717 resultLatch.await(); in testFetchAndJoinCustomAudienceAppInstallDisabled() 763 CountDownLatch resultLatch = new CountDownLatch(1); in testFetchAndJoinCustomAudienceFrequencyCapDisabled() local 765 new FetchCustomAudienceImplTest.FetchCustomAudienceTestCallback(resultLatch); in testFetchAndJoinCustomAudienceFrequencyCapDisabled() 767 resultLatch.await(); in testFetchAndJoinCustomAudienceFrequencyCapDisabled() 820 CountDownLatch resultLatch = new CountDownLatch(1); in testFetchAndJoinCustomAudience_overridesJoinCustomAudienceWithAuctionServerReqeustFlagsEnabled() local [all …]
|
D | FetchCustomAudienceImplTest.java | 1079 CountDownLatch resultLatch = new CountDownLatch(1); in testImpl_runNormally_withDevOptionsEnabled() local 1080 FetchCustomAudienceTestCallback callback = new FetchCustomAudienceTestCallback(resultLatch); in testImpl_runNormally_withDevOptionsEnabled() 1085 resultLatch.await(); in testImpl_runNormally_withDevOptionsEnabled() 1383 CountDownLatch resultLatch = new CountDownLatch(1); in callFetchCustomAudience() local 1384 FetchCustomAudienceTestCallback callback = new FetchCustomAudienceTestCallback(resultLatch); in callFetchCustomAudience() 1387 resultLatch.await(); in callFetchCustomAudience() 1393 CountDownLatch resultLatch = new CountDownLatch(numCountDown); in callFetchCustomAudienceWithErrorCallback() local 1396 resultLatch.countDown(); in callFetchCustomAudienceWithErrorCallback() 1403 new FetchCustomAudienceTestThrowingCallback(resultLatch); in callFetchCustomAudienceWithErrorCallback() 1406 resultLatch.await(); in callFetchCustomAudienceWithErrorCallback()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/ |
D | OutcomeReceiverConverterTest.java | 40 CountDownLatch resultLatch = new CountDownLatch(1); in testOutcomeReceiverConverter() local 50 resultLatch.countDown(); in testOutcomeReceiverConverter() 63 expect.withMessage("result callback").that(resultLatch.getCount()).isEqualTo(0); in testOutcomeReceiverConverter()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/ |
D | JSScriptEngineTest.java | 1175 CountDownLatch resultLatch = new CountDownLatch(1); in callJSEngine() local 1182 resultLatch, in callJSEngine() 1185 resultLatch.await(); in callJSEngine() 1198 CountDownLatch resultLatch = new CountDownLatch(1); in callJSEngine() local 1206 resultLatch, in callJSEngine() 1209 resultLatch.await(); in callJSEngine() 1217 @NonNull CountDownLatch resultLatch, in callJSEngineAsync() argument 1225 resultLatch, in callJSEngineAsync() 1235 @NonNull CountDownLatch resultLatch, in callJSEngineAsync() argument 1239 Objects.requireNonNull(resultLatch); in callJSEngineAsync() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ReportEventDisabledImplTest.java | 86 CountDownLatch resultLatch = new CountDownLatch(1); in testReportEventDisabledImplFailsWhenCalled() local 87 ReportEventTestCallback callback = new ReportEventTestCallback(resultLatch); in testReportEventDisabledImplFailsWhenCalled() 89 resultLatch.await(); in testReportEventDisabledImplFailsWhenCalled()
|
D | AdSelectionServiceImplTest.java | 10149 CountDownLatch resultLatch = new CountDownLatch(1); in testUpdateAdCounterHistogramNullCallbackThrows() local 10152 resultLatch.countDown(); in testUpdateAdCounterHistogramNullCallbackThrows() 10164 resultLatch.await(5, TimeUnit.SECONDS)); in testUpdateAdCounterHistogramNullCallbackThrows() 10199 CountDownLatch resultLatch = new CountDownLatch(1); in testReportEvent_nullCallback_throws() local 10202 resultLatch.countDown(); in testReportEvent_nullCallback_throws() 10214 resultLatch.await(5, TimeUnit.SECONDS)); in testReportEvent_nullCallback_throws() 10257 CountDownLatch resultLatch = new CountDownLatch(2); in testReportEvent_callbackErrorReported() local 10259 new ReportInteractionTestErrorCallback(resultLatch); in testReportEvent_callbackErrorReported() 10264 resultLatch.countDown(); in testReportEvent_callbackErrorReported() 10274 resultLatch.await(5, TimeUnit.SECONDS)); in testReportEvent_callbackErrorReported() [all …]
|
D | JsFetcherTest.java | 395 CountDownLatch resultLatch = new CountDownLatch(1); in waitForFuture() local 397 futureResult.addListener(resultLatch::countDown, mLightweightExecutorService); in waitForFuture() 398 resultLatch.await(); in waitForFuture()
|
D | AdOutcomeSelectorImplTest.java | 471 CountDownLatch resultLatch = new CountDownLatch(1); in waitForFuture() local 473 futureResult.addListener(resultLatch::countDown, mLightweightExecutorService); in waitForFuture() 474 resultLatch.await(); in waitForFuture()
|
D | ReportEventImplTest.java | 1523 CountDownLatch resultLatch = new CountDownLatch(shouldCountLog ? 2 : 1); in callReportInteraction() local 1529 resultLatch.countDown(); in callReportInteraction() 1537 ReportInteractionTestCallback callback = new ReportInteractionTestCallback(resultLatch); in callReportInteraction() 1539 resultLatch.await(); in callReportInteraction()
|
D | ReportImpressionScriptEngineTest.java | 1314 CountDownLatch resultLatch = new CountDownLatch(1); 1317 futureResult.get().addListener(resultLatch::countDown, mExecutorService); 1318 resultLatch.await();
|
D | ReportAndRegisterEventE2ETest.java | 1181 CountDownLatch resultLatch = new CountDownLatch(1); in callReportEvent() local 1183 new ReportAndRegisterEventTestCallback(resultLatch); in callReportEvent() 1187 resultLatch.await(); in callReportEvent()
|
D | AdSelectionScriptEngineTest.java | 1876 CountDownLatch resultLatch = new CountDownLatch(1); 1879 futureResult.get().addListener(resultLatch::countDown, EXECUTOR_SERVICE); 1880 resultLatch.await();
|
D | AdsScoreGeneratorImplTest.java | 1997 CountDownLatch resultLatch = new CountDownLatch(1); in waitForFuture() local 1999 futureResult.addListener(resultLatch::countDown, mLightweightExecutorService); in waitForFuture() 2000 resultLatch.await(); in waitForFuture()
|
D | AdBidGeneratorImplTest.java | 3249 CountDownLatch resultLatch = new CountDownLatch(1); in waitForFuture() local 3251 futureResult.addListener(resultLatch::countDown, mLightweightExecutorService); in waitForFuture() 3252 resultLatch.await(); in waitForFuture()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | FledgeE2ETest.java | 4814 CountDownLatch resultLatch = new CountDownLatch(1); in fetchAndJoinCustomAudienceAndAssertSuccess() local 4815 FetchCustomAudienceTestCallback callback = new FetchCustomAudienceTestCallback(resultLatch); in fetchAndJoinCustomAudienceAndAssertSuccess() 4817 resultLatch.await(); in fetchAndJoinCustomAudienceAndAssertSuccess() 5017 CountDownLatch resultLatch = new CountDownLatch(1); in callAddAdSelectionOverride() local 5018 AdSelectionOverrideTestCallback callback = new AdSelectionOverrideTestCallback(resultLatch); in callAddAdSelectionOverride() 5026 resultLatch.await(); in callAddAdSelectionOverride() 5039 CountDownLatch resultLatch = new CountDownLatch(1); in callAddCustomAudienceOverride() local 5041 new CustomAudienceOverrideTestCallback(resultLatch); in callAddCustomAudienceOverride() 5051 resultLatch.await(); in callAddCustomAudienceOverride() 5059 CountDownLatch resultLatch = new CountDownLatch(1); in callReportImpression() local [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 3939 CountDownLatch resultLatch = new CountDownLatch(1); 3948 resultLatch.countDown(); 3957 resultLatch.countDown(); 3965 resultLatch.countDown(); 3980 resultLatch.countDown(); 3991 resultLatch.await(10, TimeUnit.SECONDS); // seconds
|