/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | SessionAbandonBehaviorTest.java | 96 AbandonSessionCallBack(CountDownLatch countDownLatch, int[] sessionIds) { in AbandonSessionCallBack() argument 97 mCountDownLatch = countDownLatch; in AbandonSessionCallBack() 104 AbandonSessionCallBack(CountDownLatch countDownLatch, int sessionId) { in AbandonSessionCallBack() argument 105 this(countDownLatch, new int[]{sessionId}); in AbandonSessionCallBack() 268 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_stagedSession_shouldReceiveAbandonCallBack() local 270 new AbandonSessionCallBack(countDownLatch, sessionId)); in abandon_stagedSession_shouldReceiveAbandonCallBack() 275 countDownLatch.await(CALLBACK_TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in abandon_stagedSession_shouldReceiveAbandonCallBack() 282 final CountDownLatch countDownLatch = new CountDownLatch(1); in abandon_nonStagedSession_shouldReceiveAbandonCallBack() local 284 new AbandonSessionCallBack(countDownLatch, sessionId)); in abandon_nonStagedSession_shouldReceiveAbandonCallBack() 289 countDownLatch.await(CALLBACK_TIMEOUT_SECONDS, TimeUnit.SECONDS)).isTrue(); in abandon_nonStagedSession_shouldReceiveAbandonCallBack() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestImsService.java | 127 countDownLatch(LATCH_FEATURES_READY); in readyForFeatureCreation() 134 countDownLatch(LATCH_ENABLE_IMS); in enableIms() 142 countDownLatch(LATCH_DISABLE_IMS); in disableIms() 150 countDownLatch(LATCH_CREATE_RCS); in createRcsFeature() 155 countDownLatch(LATCH_RCS_READY); in createRcsFeature() 161 countDownLatch(LATCH_REMOVE_RCS); in createRcsFeature() 168 countDownLatch(LATCH_RCS_CAP_SET); in createRcsFeature() 173 countDownLatch(LATCH_UCE_LISTENER_SET); in createRcsFeature() 180 countDownLatch(LATCH_UCE_REQUEST_PUBLISH); in createRcsFeature() 199 countDownLatch(LATCH_CREATE_MMTEL); in createMmTelFeature() [all …]
|
D | TestSipTransport.java | 68 countDownLatch(LATCH_CREATE_DELEGATE); in createSipDelegate() 77 countDownLatch(LATCH_DESTROY_DELEGATE); in destroySipDelegate() 121 private void countDownLatch(int latchIndex) { in countDownLatch() method in TestSipTransport
|
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/ |
D | EuiccManagerTest.java | 118 CountDownLatch countDownLatch = new CountDownLatch(1); in testDownloadSubscription() local 119 mCallbackReceiver = new CallbackReceiver(countDownLatch); in testDownloadSubscription() 132 countDownLatch.await(CALLBACK_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testDownloadSubscription() 164 CountDownLatch countDownLatch = new CountDownLatch(1); in testDeleteSubscription() local 165 mCallbackReceiver = new CallbackReceiver(countDownLatch); in testDeleteSubscription() 175 countDownLatch.await(CALLBACK_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testDeleteSubscription() 193 CountDownLatch countDownLatch = new CountDownLatch(1); in testSwitchToSubscription() local 194 mCallbackReceiver = new CallbackReceiver(countDownLatch); in testSwitchToSubscription() 205 countDownLatch.await(CALLBACK_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testSwitchToSubscription() 223 CountDownLatch countDownLatch = new CountDownLatch(1); in testEraseSubscriptions() local [all …]
|
/cts/tests/tests/wifi/CtsWifiLocationTestApp/src/android/net/wifi/cts/app/ |
D | RetrieveTransportInfoAndReturnStatusActivity.java | 49 TestNetworkCallback(CountDownLatch countDownLatch) { in TestNetworkCallback() argument 51 mCountDownLatch = countDownLatch; in TestNetworkCallback() 71 CountDownLatch countDownLatch = new CountDownLatch(1); in canRetrieveSsidFromTransportInfo() local 72 TestNetworkCallback testNetworkCallback = new TestNetworkCallback(countDownLatch); in canRetrieveSsidFromTransportInfo() 81 if (!countDownLatch.await( in canRetrieveSsidFromTransportInfo()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | TestHelper.java | 107 TestScanResultsCallback(CountDownLatch countDownLatch) { in TestScanResultsCallback() argument 108 mCountDownLatch = countDownLatch; in TestScanResultsCallback() 133 CountDownLatch countDownLatch = new CountDownLatch(1); in findMatchingSavedNetworksWithBssid() local 137 new TestScanResultsCallback(countDownLatch); in findMatchingSavedNetworksWithBssid() 143 countDownLatch.await(DURATION_MILLIS, TimeUnit.MILLISECONDS); in findMatchingSavedNetworksWithBssid() 235 TestNetworkCallback(@NonNull CountDownLatch countDownLatch) { in TestNetworkCallback() argument 236 mCountDownLatch = countDownLatch; in TestNetworkCallback() 239 TestNetworkCallback(@NonNull CountDownLatch countDownLatch, int flags) { in TestNetworkCallback() argument 241 mCountDownLatch = countDownLatch; in TestNetworkCallback() 264 @NonNull CountDownLatch countDownLatch) { in createTestNetworkCallback() [all …]
|
D | ConnectedNetworkScorerTest.java | 175 TestUsabilityStatsListener(CountDownLatch countDownLatch) { in TestUsabilityStatsListener() argument 176 mCountDownLatch = countDownLatch; in TestUsabilityStatsListener() 199 CountDownLatch countDownLatch = new CountDownLatch(1); in testWifiUsabilityStatsEntry() local 202 new TestUsabilityStatsListener(countDownLatch); in testWifiUsabilityStatsEntry() 209 assertThat(countDownLatch.await(TIMEOUT, TimeUnit.MILLISECONDS)).isTrue(); in testWifiUsabilityStatsEntry() 405 TestConnectedNetworkScorer(CountDownLatch countDownLatch) { in TestConnectedNetworkScorer() argument 406 mCountDownLatch = countDownLatch; in TestConnectedNetworkScorer() 424 public void resetCountDownLatch(CountDownLatch countDownLatch) { in resetCountDownLatch() argument 426 mCountDownLatch = countDownLatch; in resetCountDownLatch() 433 TestConnectedNetworkScorerWithSessionId(CountDownLatch countDownLatch) { in TestConnectedNetworkScorerWithSessionId() argument [all …]
|
D | WifiManagerTest.java | 4550 CountDownLatch countDownLatch = new CountDownLatch(1); in testAddRemoveSuggestionUserApprovalStatusListener() local 4552 countDownLatch); in testAddRemoveSuggestionUserApprovalStatusListener() 4555 assertTrue(countDownLatch.await(TEST_WAIT_DURATION_MS, TimeUnit.MILLISECONDS)); in testAddRemoveSuggestionUserApprovalStatusListener() 4565 public TestUserApprovalStatusListener(CountDownLatch countDownLatch) { in TestUserApprovalStatusListener() argument 4566 mBlocker = countDownLatch; in TestUserApprovalStatusListener()
|
/cts/tests/tests/packagewatchdog/src/android/packagewatchdog/cts/ |
D | ExplicitHealthCheckServiceTest.java | 52 CountDownLatch countDownLatch = new CountDownLatch(1); in testNotifyHealthCheckPassed() local 55 countDownLatch.countDown(); in testNotifyHealthCheckPassed() 59 countDownLatch.await(); in testNotifyHealthCheckPassed()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockSyncAdapter.java | 103 countDownLatch(); in startSync() 115 countDownLatch(); in cancelSync() 128 countDownLatch(); in initialize() 131 private void countDownLatch() { in countDownLatch() method in MockSyncAdapter
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PhoneAccountTest.java | 112 final CountDownLatch countDownLatch = new CountDownLatch(1); in internalTestOutgoingCall() local 116 countDownLatch)); in internalTestOutgoingCall() 126 boolean calllogProviderChanged = countDownLatch.await(1, TimeUnit.MINUTES); in internalTestOutgoingCall() 193 final CountDownLatch countDownLatch = new CountDownLatch(1); in internalTestIncomingCall() local 197 countDownLatch)); in internalTestIncomingCall() 208 boolean calllogProviderChanged = countDownLatch.await(1, TimeUnit.MINUTES); in internalTestIncomingCall() 339 public CalllogContentObserver(Handler handler, final CountDownLatch countDownLatch) { in CalllogContentObserver() argument 341 mCountDownLatch = countDownLatch; in CalllogContentObserver()
|
/cts/tests/uwb/src/android/uwb/cts/ |
D | UwbManagerTest.java | 135 RangingSessionCallback(@NonNull CountDownLatch countDownLatch) { in RangingSessionCallback() argument 136 mCountDownLatch = countDownLatch; in RangingSessionCallback() 171 CountDownLatch countDownLatch = new CountDownLatch(1); in testOpenRangingSessionWithBadParams() local 172 RangingSessionCallback rangingSessionCallback = new RangingSessionCallback(countDownLatch); in testOpenRangingSessionWithBadParams() 182 assertThat(countDownLatch.await(1, TimeUnit.SECONDS)).isTrue(); in testOpenRangingSessionWithBadParams()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/ |
D | TestUtils.java | 62 final CountDownLatch countDownLatch = new CountDownLatch(1); in startScanAndWaitForResults() local 71 countDownLatch.countDown(); in startScanAndWaitForResults() 88 if (!countDownLatch.await(SCAN_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in startScanAndWaitForResults()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | ASurfaceControlTestActivity.java | 132 final CountDownLatch countDownLatch = new CountDownLatch(1); in verifyTest() local 137 countDownLatch.countDown(); in verifyTest() 141 countDownLatch.await(WAIT_TIMEOUT_S, TimeUnit.SECONDS); in verifyTest()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | CollectionAppWidgetProvider.java | 61 public static void configure(CountDownLatch countDownLatch, in configure() argument 64 sCountDownLatch = countDownLatch; in configure()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/ |
D | NetworkSuggestionTestCase.java | 150 ConnectionStatusListener(CountDownLatch countDownLatch) { in ConnectionStatusListener() argument 151 mCountDownLatch = countDownLatch; in ConnectionStatusListener() 167 UserApprovalStatusListener(CountDownLatch countDownLatch) { in UserApprovalStatusListener() argument 168 mCountDownLatch = countDownLatch; in UserApprovalStatusListener()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsFixedCollectionAdapterTest.java | 863 CountDownLatch countDownLatch; in awaitIntent() local 868 countDownLatch = new CountDownLatch(1); in awaitIntent() 869 mCountDownLatch = countDownLatch; in awaitIntent() 874 countDownLatch.await(20, TimeUnit.SECONDS); in awaitIntent()
|
D | LinearLayoutTest.java | 626 final CountDownLatch countDownLatch, final int left, final int top, in verifyBounds() argument 636 countDownLatch.countDown(); in verifyBounds()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoCodecTestBase.java | 1046 final CountDownLatch countDownLatch = new CountDownLatch(1); in runCallable() local 1055 countDownLatch.countDown(); in runCallable() 1061 countDownLatch.await(); in runCallable()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3004 final CountDownLatch countDownLatch, final int left, final int top, in checkBounds() argument 3014 countDownLatch.countDown(); in checkBounds()
|