Home
last modified time | relevance | path

Searched refs:CALLBACK_TIMEOUT_MS (Results 1 – 7 of 7) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DBrailleDisplayControllerTest.java96 private static final long CALLBACK_TIMEOUT_MS = 5000; field in BrailleDisplayControllerTest
254 }, CALLBACK_TIMEOUT_MS, "Expected all HIDRAW devices removed"); in cleanup()
321 }, CALLBACK_TIMEOUT_MS, "Expected HIDRAW device to be created"); in createTestHidrawNode()
386 TestUtils.waitUntil("Expected connection success", (int) CALLBACK_TIMEOUT_MS / 1000, in expectConnectionSuccess()
410 TestUtils.waitUntil("Expected connection failed", (int) CALLBACK_TIMEOUT_MS / 1000, in expectConnectionFailed()
420 (int) (CALLBACK_TIMEOUT_MS / 1000), in expectFileContents()
744 }, CALLBACK_TIMEOUT_MS, "Expected " + sHidrawNode0 + " to be removed"); in connect_allowsReconnectionAfterDisconnect()
768 TestUtils.waitUntil("Expected disconnection", (int) CALLBACK_TIMEOUT_MS / 1000, in disconnect_disconnectsExistingConnection()
801 TestUtils.waitUntil("Expected disconnection", (int) CALLBACK_TIMEOUT_MS / 1000, in deviceIsRemoved_callsOnBrailleDisplayDisconnected()
833 CALLBACK_TIMEOUT_MS, in onInput()
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantConnectionManagerTest.java70 private static final long CALLBACK_TIMEOUT_MS = WAIT_BEFORE_RESPOND_TO_REQUEST_MS + 2_000; field in CarOccupantConnectionManagerTest
200 PollingCheck.waitFor(CALLBACK_TIMEOUT_MS, in testConnectAndSendPayload()
211 PollingCheck.waitFor(CALLBACK_TIMEOUT_MS, in testConnectAndSendPayload()
307 PollingCheck.waitFor(CALLBACK_TIMEOUT_MS, () -> mOccupantConnectionManager != null); in onPayloadReceived()
/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTestBase.java43 static final int CALLBACK_TIMEOUT_MS = 1000; field in DeviceStateManagerTestBase
124 success = mActiveLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in run()
DDeviceStateManagerTests.java525 verify(callback, timeout(CALLBACK_TIMEOUT_MS)).onDeviceStateChanged( in testRegisterCallbackSuppliesInitialValue()
529 verify(callback, timeout(CALLBACK_TIMEOUT_MS)) in testRegisterCallbackSuppliesInitialValue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/testcase/
DNetworkSuggestionTestCase.java67 private static final int CALLBACK_TIMEOUT_MS = 40_000; field in NetworkSuggestionTestCase
256 mNetworkCallback = new CallbackUtils.NetworkCallback(CALLBACK_TIMEOUT_MS); in executeTest()
277 if (!userApprovalCountDownLatch.await(CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in executeTest()
355 CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in executeTest()
371 CALLBACK_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in executeTest()
DNetworkRequestTestCase.java58 private static final int CALLBACK_TIMEOUT_MS = 40_000; field in NetworkRequestTestCase
186 mNetworkCallback = new CallbackUtils.NetworkCallback(CALLBACK_TIMEOUT_MS); in executeTest()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigurationCallbacksTest.java304 private static final long CALLBACK_TIMEOUT_MS = 2000L; field in ConfigurationCallbacksTest.WindowConfigTracker
507 && curTime - CALLBACK_TIMEOUT_MS >= mLastCallbackSystemTime) { in waitForLastCallbackTimeout()
511 SystemClock.sleep(CALLBACK_TIMEOUT_MS); in waitForLastCallbackTimeout()
519 SystemClock.elapsedRealtime() - CALLBACK_TIMEOUT_MS >= mLastCallbackSystemTime); in assertCallbackTriggered()