Searched refs:NETWORK_TIMEOUT_MS (Results 1 – 4 of 4) sorted by relevance
106 setPendingIntentAllowlistDuration(NETWORK_TIMEOUT_MS); in testBackgroundNetworkAccess_enabledButWhitelistedOnNotificationAction()130 SystemClock.sleep(NETWORK_TIMEOUT_MS); in testNotification()
143 static final int NETWORK_TIMEOUT_MS = 15 * SECOND_IN_MS; field in AbstractRestrictBackgroundNetworkTestCase163 private static final int ORDERED_BROADCAST_TIMEOUT_MS = NETWORK_TIMEOUT_MS * 4;472 timeoutMs = Math.min(timeoutMs*2, NETWORK_TIMEOUT_MS); in assertNetworkAccess()
82 private static final int NETWORK_TIMEOUT_MS = (int) TimeUnit.SECONDS.toMillis(10); field in Common218 conn.setReadTimeout(NETWORK_TIMEOUT_MS); in checkNetworkStatus()219 conn.setConnectTimeout(NETWORK_TIMEOUT_MS / 2); in checkNetworkStatus()
86 private static final int NETWORK_TIMEOUT_MS = 5000; field in VpnTestHelper135 if (!vpnLatch.await(NETWORK_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in waitForVpn()