Home
last modified time | relevance | path

Searched refs:mBlocker (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DCallbackUtils.java57 private CountDownLatch mBlocker = new CountDownLatch(1); field in CallbackUtils.AttachCb
65 mBlocker.countDown(); in onAttached()
71 mBlocker.countDown(); in onAttachFailed()
81 if (mBlocker.await(CALLBACK_TIMEOUT_SEC, TimeUnit.SECONDS)) { in waitForAttach()
95 private CountDownLatch mBlocker = new CountDownLatch(1); field in CallbackUtils.IdentityListenerSingleShot
105 mBlocker.countDown(); in onIdentityChanged()
114 if (mBlocker.await(CALLBACK_TIMEOUT_SEC, TimeUnit.SECONDS)) { in waitForMac()
127 private CountDownLatch mBlocker = new CountDownLatch(1); field in CallbackUtils.NetworkCb
134 mBlocker.countDown(); in onUnavailable()
142 mBlocker.countDown(); in onCapabilitiesChanged()
[all …]
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java207 private final CountDownLatch mBlocker = new CountDownLatch(1); field in TestBase.WifiRttBroadcastReceiver
212 mBlocker.countDown(); in onReceive()
217 return mBlocker.await(WAIT_FOR_RTT_CHANGE_SECS, TimeUnit.SECONDS); in waitForStateChange()
222 private final CountDownLatch mBlocker = new CountDownLatch(1); field in TestBase.WifiScansBroadcastReceiver
227 mBlocker.countDown(); in onReceive()
232 return mBlocker.await(WAIT_FOR_SCAN_RESULTS_SECS, TimeUnit.SECONDS); in waitForStateChange()
237 private final CountDownLatch mBlocker = new CountDownLatch(1); field in TestBase.ResultCallback
245 mBlocker.countDown(); in onRangingFailure()
252 mBlocker.countDown(); in onRangingResults()
260 return mBlocker.await(WAIT_FOR_RTT_CHANGE_SECS, TimeUnit.SECONDS); in waitForCallback()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DTestHelper.java350 private CountDownLatch mBlocker; field in TestHelper.TestLocalOnlyListener
354 mBlocker = new CountDownLatch(1); in TestLocalOnlyListener()
361 mBlocker.countDown(); in onConnectionFailed()
366 return mBlocker.await(timeout, TimeUnit.MILLISECONDS); in await()
372 private CountDownLatch mBlocker; field in TestHelper.TestNetworkCallback
379 mBlocker = new CountDownLatch(1); in TestNetworkCallback()
384 mBlocker = new CountDownLatch(1); in TestNetworkCallback()
388 return mBlocker.await(timeout, TimeUnit.MILLISECONDS); in await()
402 mBlocker.countDown(); in onCapabilitiesChanged()
409 mBlocker.countDown(); in onUnavailable()
[all …]
DWifiManagerTest.java5843 private final CountDownLatch mBlocker; field in WifiManagerTest.TestUserApprovalStatusListener
5846 mBlocker = countDownLatch; in TestUserApprovalStatusListener()
5850 mBlocker.countDown(); in onUserApprovalStatusChange()
/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java142 private CountDownLatch mBlocker = new CountDownLatch(1); field in SingleDeviceTest.WifiAwareStateBroadcastReceiver
150 mBlocker.countDown(); in onReceive()
151 mBlocker = new CountDownLatch(1); in onReceive()
163 blocker = mBlocker; in waitForStateChange()
171 private CountDownLatch mBlocker = new CountDownLatch(1); field in SingleDeviceTest.WifiAwareResourcesBroadcastReceiver
180 mBlocker.countDown(); in onReceive()
181 mBlocker = new CountDownLatch(1); in onReceive()
194 blocker = mBlocker; in waitForStateChange()
210 private CountDownLatch mBlocker = new CountDownLatch(1); field in SingleDeviceTest.AttachCallbackTest
221 mBlocker.countDown(); in onAttached()
[all …]