Home
last modified time | relevance | path

Searched refs:SECONDS (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/
DDeviceLockControllerConnectorStubTest.java57 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withUndefinedState_shouldLockDevice()
64 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withLockedState_shouldLockDevice()
67 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withLockedState_shouldLockDevice()
74 unlockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withUnlockedState_shouldLockDevice()
77 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withUnlockedState_shouldLockDevice()
84 clearDeviceRestrictionsAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in lockDevice_withClearedState_shouldThrowException()
88 () -> lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS)); in lockDevice_withClearedState_shouldThrowException()
98 unlockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in unlockDevice_withUndefinedState_shouldUnlockDevice()
105 lockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in unlockDevice_withLockedState_shouldUnlockDevice()
108 unlockDeviceAsync().get(TIMEOUT_SEC, TimeUnit.SECONDS); in unlockDevice_withLockedState_shouldUnlockDevice()
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java603 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_overall_Success()
624 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_overall_Success()
627 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_overall_Success()
641 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_overall_Success()
653 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_overall_Success()
683 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
708 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
711 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
725 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
737 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
[all …]
DAdSelectionManagerDebuggableTest.java98 result.get(10, TimeUnit.SECONDS); in testAddOverrideSucceeds()
112 result.get(10, TimeUnit.SECONDS); in testRemoveNotExistingOverrideSucceeds()
127 addResult.get(10, TimeUnit.SECONDS); in testRemoveExistingOverrideSucceeds()
136 removeResult.get(10, TimeUnit.SECONDS); in testRemoveExistingOverrideSucceeds()
147 result.get(10, TimeUnit.SECONDS); in testResetAllOverridesSucceeds()
DCustomAudienceCtsDebuggableTest.java94 result.get(10, TimeUnit.SECONDS); in testAddOverrideSucceeds()
110 result.get(10, TimeUnit.SECONDS); in testRemoveNotExistingOverrideSucceeds()
128 addResult.get(10, TimeUnit.SECONDS); in testRemoveExistingOverrideSucceeds()
140 removeResult.get(10, TimeUnit.SECONDS); in testRemoveExistingOverrideSucceeds()
150 result.get(10, TimeUnit.SECONDS); in testResetAllOverridesSucceeds()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DBaselinePerfTest.java48 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_joinCustomAudience_success()
51 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_joinCustomAudience_success()
70 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlow_success()
77 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlow_success()
91 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlow_success()
97 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlow_success()
119 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlowWithThrottling_success()
127 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlowWithThrottling_success()
142 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlowWithThrottling_success()
149 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelectionAndReporting_normalFlowWithThrottling_success()
[all …]
DGetAdSelectionDataLatency.java123 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in warmup()
143 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingBuyers_1()
170 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingBuyers_10()
197 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingBuyers_100()
225 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingBuyers_500()
254 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingBuyers_1000()
282 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingCAs_1()
309 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingCAs_10()
336 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingCAs_100()
364 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in test_withoutFiltering_varyingCAs_500()
[all …]
DAdSelectionDataE2ETest.java187 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS), in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner()
212 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in runAdSelection_oneBuyerOneCaOneAd_dummyData_remarketingWinner()
239 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS), in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner()
264 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in runAdSelection_twoBuyersMultipleCa_dummyData_remarketingWinner()
292 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS), in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner()
317 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in runAdSelection_fiveBuyersMultipleCa_dummyData_remarketingWinner()
343 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS), in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError()
375 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS)); in runAdSelection_noAdRenderId_baReturnsError_ppapiThrowsError()
397 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS), in runAdSelection_baReturnsIsChaffTrue_noAdReturnedByPpapi()
422 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in runAdSelection_baReturnsIsChaffTrue_noAdReturnedByPpapi()
[all …]
DFledgeAppNotAllowedMemoryTest.java72 .get(5, TimeUnit.SECONDS), in tryToRunAdSelectionAndReporting()
79 .get(5, TimeUnit.SECONDS), in tryToRunAdSelectionAndReporting()
87 .get(5, TimeUnit.SECONDS), in tryToRunAdSelectionAndReporting()
96 () -> mCustomAudienceClient.joinCustomAudience(ca).get(5, TimeUnit.SECONDS), in tryToJoinAndLeaveCA()
102 .get(5, TimeUnit.SECONDS), in tryToJoinAndLeaveCA()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/
DAllAppsActionManagerTest.kt27 import java.util.concurrent.TimeUnit.SECONDS
50 assertThat(callbackSemaphore.tryAcquire(TIMEOUT, SECONDS)).isTrue() in taskbarPresent_actionRegistered()
57 assertThat(callbackSemaphore.tryAcquire(TIMEOUT, SECONDS)).isTrue() in homeAndOverviewSame_actionRegistered()
64 assertThat(callbackSemaphore.tryAcquire(TIMEOUT, SECONDS)).isTrue() in toggleTaskbar_destroyedAfterActionRegistered_actionUnregistered()
77 assertThat(callbackSemaphore.tryAcquire(TIMEOUT, SECONDS)).isTrue() in toggleTaskbar_destroyedBeforeActionRegistered_pendingActionUnregistered()
84 assertThat(callbackSemaphore.tryAcquire(TIMEOUT, SECONDS)).isTrue() in changeHome_sameAsOverviewBeforeActionUnregistered_actionRegisteredAgain()
88 assertThat(callbackSemaphore.tryAcquire(TIMEOUT, SECONDS)).isTrue() in changeHome_sameAsOverviewBeforeActionUnregistered_actionRegisteredAgain()
/packages/modules/DeviceLock/tests/cts/src/com/android/cts/devicelock/
DDeviceLockManagerTest.java192 () -> lockDeviceFuture.get(TIMEOUT, TimeUnit.SECONDS));
205 () -> unlockDeviceFuture.get(TIMEOUT, TimeUnit.SECONDS));
218 () -> isDeviceLockedFuture.get(TIMEOUT, TimeUnit.SECONDS));
231 () -> deviceIdFuture.get(TIMEOUT, TimeUnit.SECONDS));
248 getLockDeviceFuture().get(TIMEOUT, TimeUnit.SECONDS);
250 boolean locked = getIsDeviceLockedFuture().get(TIMEOUT, TimeUnit.SECONDS);
253 getUnlockDeviceFuture().get(TIMEOUT, TimeUnit.SECONDS);
255 locked = getIsDeviceLockedFuture().get(TIMEOUT, TimeUnit.SECONDS);
275 () -> getDeviceIdFuture().get(TIMEOUT, TimeUnit.SECONDS));
292 Map<Integer, String> kioskAppsMap = getKioskAppsFuture().get(TIMEOUT, TimeUnit.SECONDS);
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectThreadScheduler.java61 TimeUnit.SECONDS,
71 TimeUnit.SECONDS,
81 TimeUnit.SECONDS,
91 TimeUnit.SECONDS,
100 TimeUnit.SECONDS, in resetThreadPools()
108 TimeUnit.SECONDS, in resetThreadPools()
116 TimeUnit.SECONDS, in resetThreadPools()
124 TimeUnit.SECONDS, in resetThreadPools()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarHvacManagerTest.java189 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
190 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
191 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
192 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
193 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
204 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
217 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
230 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testEvent()
243 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testUnregisterCallback()
244 assertTrue(mAvailable.tryAcquire(2L, TimeUnit.SECONDS)); in testUnregisterCallback()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/
DJavaScriptSandboxProviderTest.java116 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesOnlyOneInstance()
117 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesOnlyOneInstance()
137 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesNewInstanceAfterFirstIsDestroyed()
140 mJsSandboxProvider.destroyCurrentInstance().get(4, TimeUnit.SECONDS); in testJsSandboxProviderCreatesNewInstanceAfterFirstIsDestroyed()
142 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderCreatesNewInstanceAfterFirstIsDestroyed()
164 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderDestroysOnlyIfCurrentInstance()
166 mJsSandboxProvider.destroyIfCurrentInstance(sandbox1).get(4, TimeUnit.SECONDS); in testJsSandboxProviderDestroysOnlyIfCurrentInstance()
167 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderDestroysOnlyIfCurrentInstance()
168 mJsSandboxProvider.destroyIfCurrentInstance(sandbox1).get(4, TimeUnit.SECONDS); in testJsSandboxProviderDestroysOnlyIfCurrentInstance()
191 mJsSandboxProvider.getFutureInstance(mApplicationContext).get(5, TimeUnit.SECONDS); in testJsSandboxProviderDestroysOnlyIfCurrentInstanceOnlyOnce()
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/protectedaudience/
DFledgeCtsDebuggableJetpackTest.java239 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_overall_Success()
251 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testFledgeAuctionSelectionFlow_overall_Success()
296 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS)); in testAdSelection_etldViolation_failure()
338 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testReportImpression_etldViolation_failure()
355 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS)); in testReportImpression_etldViolation_failure()
387 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelection_skipAdsMalformedBiddingLogic_success()
401 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelection_skipAdsMalformedBiddingLogic_success()
444 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS)); in testAdSelection_malformedScoringLogic_failure()
476 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelection_skipAdsFailedGettingBiddingLogic_success()
490 .get(API_RESPONSE_TIMEOUT_SECONDS, TimeUnit.SECONDS); in testAdSelection_skipAdsFailedGettingBiddingLogic_success()
[all …]
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DThreadNetworkControllerWrapper.java27 import static java.util.concurrent.TimeUnit.SECONDS;
93 return future.get(CALLBACK_TIMEOUT.toSeconds(), SECONDS); in getEnabledState()
113 return future.get(CALLBACK_TIMEOUT.toSeconds(), SECONDS); in getDeviceRole()
128 future.get(SET_ENABLED_TIMEOUT.toSeconds(), SECONDS); in setEnabledAndWait() local
140 future.get(JOIN_TIMEOUT.toSeconds(), SECONDS); in joinAndWait() local
149 future.get(LEAVE_TIMEOUT.toSeconds(), SECONDS); in leaveAndWait() local
174 return future.get(timeout.toSeconds(), SECONDS); in waitForRoleAnyOf()
191 future.get(CALLBACK_TIMEOUT.toSeconds(), SECONDS); in setTestNetworkAsUpstreamAndWait() local
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchHistoryManagerTest.java88 mLatch.await(1, TimeUnit.SECONDS); in testAddHistory()
114 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory()
125 mLatch.await(1, TimeUnit.SECONDS); in testDeleteHistory()
146 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
150 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
154 mLatch.await(1, TimeUnit.SECONDS); in testGetHistoryList()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DSchedulingUtil.java21 import static java.util.concurrent.TimeUnit.SECONDS;
83 nowMs + SECONDS.toMillis(flags.getDefaultSchedulingPeriodSecs()); in getEarliestRuntimeForInitialSchedule()
136 long targetDelayMillis = SECONDS.toMillis(flags.getTransientErrorRetryDelaySecs()); in generateTransientErrorTaskRetry()
158 SECONDS.toMillis(flags.getMinSchedulingIntervalSecsForFederatedComputation()); in sanitizeMinimumLatencyMillis()
160 SECONDS.toMillis(flags.getMaxSchedulingIntervalSecsForFederatedComputation()); in sanitizeMinimumLatencyMillis()
164 upperBoundMillis = SECONDS.toMillis(flags.getMaxSchedulingPeriodSecs()); in sanitizeMinimumLatencyMillis()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/common/
DWebViewSupportUtil.java61 .get(2, TimeUnit.SECONDS); in isJSSandboxAvailable()
72 .get(2, TimeUnit.SECONDS); in isJSIsolateConsoleCallbackAvailable()
83 .get(2, TimeUnit.SECONDS); in isWasmSupportAvailable()
95 .get(2, TimeUnit.SECONDS); in isEvaluationWithoutTransactionLimitSupportAvailable()
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Client.java101 private static final int SECONDS = 1000; field in Dhcp6Client
102 private static final int SOL_TIMEOUT = 1 * SECONDS;
103 private static final int SOL_MAX_RT = 3600 * SECONDS;
104 private static final int REQ_TIMEOUT = 1 * SECONDS;
105 private static final int REQ_MAX_RT = 30 * SECONDS;
107 private static final int REN_TIMEOUT = 10 * SECONDS;
108 private static final int REN_MAX_RT = 600 * SECONDS;
109 private static final int REB_TIMEOUT = 10 * SECONDS;
110 private static final int REB_MAX_RT = 600 * SECONDS;
416 mRenewAlarm.schedule(now + renewTimeout * (long) SECONDS); in scheduleLeaseTimers()
[all …]
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectServiceLogsTests.java184 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testHealthConnectReadRecords()
211 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testHealthConnectReadRecordsError()
241 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testHealthConnectGetChangeLogTokenError()
276 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testHealthConnectGetChangeLogs()
299 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testHealthConnectGetChangeLogsError()
324 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testHealthConnectAggregatedData()
349 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in testHealthConnectAggregatedDataError()
383 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in getChangeLogToken()
406 assertThat(latch.await(TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in updateRecords()
/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbManagerTest.java172 assertThat(countDownLatch.await(2, TimeUnit.SECONDS)).isTrue(); in setUwbEnabledAndWaitForCompletion()
788 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in testOpenRangingSessionWithChipIdWithBadParams()
816 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in testOpenRangingSessionWithInvalidChipIdWithBadParams()
1044 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in verifyFiraRangingSession()
1058 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in verifyFiraRangingSession()
1063 assertThat(resultCountDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in verifyFiraRangingSession()
1085 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in verifyFiraRangingSession()
1096 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in verifyFiraRangingSession()
1286 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in testDlTdoaRangingSession()
1348 .await(1, TimeUnit.SECONDS)).isTrue(); in testAdvertisingRangingSession()
[all …]
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DTestAdSelectionManagerTest.java180 result.get(10, TimeUnit.SECONDS); in assertInvalidAdSelectionIdFailsImpressionReporting()
200 result.get(10, TimeUnit.SECONDS); in testAddOverrideFailsWithDebugModeDisabled()
227 result.get(10, TimeUnit.SECONDS); in testRemoveOverrideFailsWithDebugModeDisabled()
274 result.get(10, TimeUnit.SECONDS); in assertResetAllOverridesFailsWithDebugModeDisabled()
319 result.get(10, TimeUnit.SECONDS); in assertNoBuyersConfigFailsAdSelection()
348 result.get(10, TimeUnit.SECONDS); in testAddFromOutcomesOverrideFailsWithDebugModeDisabled()
368 result.get(10, TimeUnit.SECONDS); in testRemoveFromOutcomesOverrideFailsWithDebugModeDisabled()
384 result.get(10, TimeUnit.SECONDS); in testResetAllFromOutcomesOverridesFailsWithDebugModeDisabled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsEncodingE2ETest.java406 updateEventLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testSignalsEncoding_Success()
420 mPeriodicEncodingJobWorker.encodeProtectedSignals().get(5, TimeUnit.SECONDS); in testSignalsEncoding_Success()
518 updateEventLatch1.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
522 mPeriodicEncodingJobWorker.encodeProtectedSignals().get(5, TimeUnit.SECONDS); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
532 mPeriodicEncodingJobWorker.encodeProtectedSignals().get(5, TimeUnit.SECONDS); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
550 updateEventLatch2.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
554 mPeriodicEncodingJobWorker.encodeProtectedSignals().get(5, TimeUnit.SECONDS); in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
631 updateEventLatch.await(WAIT_TIME_SECONDS, TimeUnit.SECONDS); in testPeriodicEncodingUpdatesEncoders_Success()
672 jobWorkerWithLargeTimeWindow.encodeProtectedSignals().get(5, TimeUnit.SECONDS); in testPeriodicEncodingUpdatesEncoders_Success()
710 jobWorkerWithTinyTimeWindow.encodeProtectedSignals().get(5, TimeUnit.SECONDS); in testPeriodicEncodingUpdatesEncoders_Success()
[all …]
/packages/modules/AdServices/adservices/tests/cts/sandbox/fledge/providers/sdkFledge/src/com/android/tests/providers/sdkfledge/
DSdkFledge.java275 mCustomAudienceClient.joinCustomAudience(customAudience1).get(10, TimeUnit.SECONDS); in onLoadSdk()
276 mCustomAudienceClient.joinCustomAudience(customAudience2).get(10, TimeUnit.SECONDS); in onLoadSdk()
290 .get(10, TimeUnit.SECONDS); in onLoadSdk()
317 .get(10, TimeUnit.SECONDS); in onLoadSdk()
320 .get(10, TimeUnit.SECONDS); in onLoadSdk()
341 mAdSelectionClient.selectAds(AD_SELECTION_CONFIG).get(10, TimeUnit.SECONDS); in onLoadSdk()
367 mAdSelectionClient.reportImpression(reportImpressionRequest).get(10, TimeUnit.SECONDS); in onLoadSdk()
418 .get(10, TimeUnit.SECONDS); in onLoadSdk()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java64 private static final long LISTENER_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(1);
149 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoStop()
156 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoStop()
171 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoFail()
180 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveNoFail()
201 long endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveUseLessSession()
208 endTimeMs = startTimeMs + TimeUnit.SECONDS.toMillis(1); in testAddSchedule_consecutiveUseLessSession()

12345678910>>...17