Home
last modified time | relevance | path

Searched refs:DEFAULT_TIMEOUT_MS (Results 1 – 10 of 10) sorted by relevance

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkStatsProviderBinder.kt24 private const val DEFAULT_TIMEOUT_MS = 200L constant
48 assertEquals(CallbackType.OnRequestStatsUpdate(token), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnRequestStatsUpdate()
52 assertEquals(CallbackType.OnSetLimit(iface, quotaBytes), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnSetLimit()
56 assertEquals(CallbackType.OnSetAlert(quotaBytes), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnSetAlert()
60 fun assertNoCallback(timeout: Long = DEFAULT_TIMEOUT_MS) { in assertNoCallback()
DTestableNetworkStatsProviderCbBinder.kt26 private const val DEFAULT_TIMEOUT_MS = 3000L constant
59 val event = history.poll(DEFAULT_TIMEOUT_MS) in expectNotifyStatsUpdated()
64 val event = history.poll(DEFAULT_TIMEOUT_MS)!! in expectNotifyStatsUpdated()
74 assertEquals(CallbackType.NotifyLimitReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyLimitReached()
77 assertEquals(CallbackType.NotifyAlertReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyLimitReached()
DTestableNetworkStatsProvider.kt25 private const val DEFAULT_TIMEOUT_MS = 200L constant
28 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT_MS
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DSettingsHelper.java35 private static int DEFAULT_TIMEOUT_MS = 5000; field in SettingsHelper
66 DEFAULT_TIMEOUT_MS); in syncSet()
92 DEFAULT_TIMEOUT_MS); in syncDelete()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnection.java43 public static final int DEFAULT_TIMEOUT_MS = 5000; // 5 seconds field in HttpsServiceConnection
48 mConnection.setConnectTimeout(DEFAULT_TIMEOUT_MS); in HttpsServiceConnection()
49 mConnection.setReadTimeout(DEFAULT_TIMEOUT_MS); in HttpsServiceConnection()
/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt40 private const val DEFAULT_TIMEOUT_MS = 5000L in <lambda>() constant
87 ) = seenEvents.poll(DEFAULT_TIMEOUT_MS) { it is T && predicate(it) } in <lambda>()
167 ) = seenEvents.poll(DEFAULT_TIMEOUT_MS) { it is T && predicate(it) } in <lambda>()
DCaptivePortalTest.java41 private static final int DEFAULT_TIMEOUT_MS = 5000; field in CaptivePortalTest
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffFilterTestCase.java49 private static final long DEFAULT_TIMEOUT_MS = 1000; field in MffFilterTestCase
124 process(DEFAULT_TIMEOUT_MS); in process()
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/
DTetheringManager.java61 private static final int DEFAULT_TIMEOUT_MS = 60_000; field in TetheringManager
405 if (!mWaiting.block(DEFAULT_TIMEOUT_MS)) { in waitForResult()
463 mWaitForCallback.block(DEFAULT_TIMEOUT_MS); in waitForStarted()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java309 httpsURLConnection.setConnectTimeout(HttpsServiceConnection.DEFAULT_TIMEOUT_MS); in performTlsConnection()
310 httpsURLConnection.setReadTimeout(HttpsServiceConnection.DEFAULT_TIMEOUT_MS); in performTlsConnection()