Home
last modified time | relevance | path

Searched refs:ensureWifiConnected (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DConnectUtil.kt63 fun ensureWifiConnected(): Network = ensureWifiConnected(requireValidated = false) in ensureWifiConnected() method in com.android.testutils.ConnectUtil
64 fun ensureWifiValidated(): Network = ensureWifiConnected(requireValidated = true) in ensureWifiConnected()
85 private fun ensureWifiConnected(requireValidated: Boolean): Network { in ensureWifiConnected() method in com.android.testutils.ConnectUtil
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DBatteryStatsManagerTest.java139 mCtsNetUtils.ensureWifiConnected(); in testReportNetworkInterfaceForTransports()
191 final Network wifiNetwork = mCtsNetUtils.ensureWifiConnected(); in verifyGetWifiBatteryStats()
207 mCtsNetUtils.ensureWifiConnected(); in verifyGetWifiBatteryStats()
DConnectivityManagerTest.java873 Network wifiNetwork = mCtsNetUtils.ensureWifiConnected(); in testOpenConnection()
1127 mCtsNetUtils.ensureWifiConnected(); in testRegisterNetworkCallback()
1196 mCtsNetUtils.ensureWifiConnected(); in testRegisterNetworkCallback_withPendingIntent()
1277 final Network wifiNetwork = mCtsNetUtils.ensureWifiConnected(); in runIdenticalPendingIntentsRequestTest()
1302 mCtsNetUtils.ensureWifiConnected(); in runIdenticalPendingIntentsRequestTest()
1499 mCtsNetUtils.ensureWifiConnected(); in setWifiMeteredStatusAndWait()
1556 mCtsNetUtils.ensureWifiConnected(); in testGetMultipathPreference()
1772 final Network network = mCtsNetUtils.ensureWifiConnected(); in testKeepaliveWifiUnsupported()
1792 final Network network = mCtsNetUtils.ensureWifiConnected(); in testCreateTcpKeepalive()
2002 final Network network = mCtsNetUtils.ensureWifiConnected();
[all …]
DNetworkStackDependenciesTest.kt45 CtsNetUtils(context).ensureWifiConnected() in testGetFrequency()
DCaptivePortalTest.kt150 utils.ensureWifiConnected() in testCaptivePortalIsNotDefaultNetwork()
230 utils.ensureWifiConnected() in makeUrl()
DMultinetworkApiTest.java290 testableNetworks.add(mCtsNetUtils.ensureWifiConnected()); in getTestableNetworks()
DDnsResolverTest.java193 mCtsNetUtils.ensureWifiConnected(); in getTestableNetworks()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java197 ensureWifiConnected(); in reconnectWifiIfSupported()
249 public Network ensureWifiConnected() { in ensureWifiConnected() method in CtsNetUtils
270 final Network network = new ConnectUtil(mContext).ensureWifiConnected(); in connectToWifi()
/packages/modules/Connectivity/tests/cts/multidevices/snippet/
DConnectivityMultiDevicesSnippet.kt87 val network = ctsNetUtils.ensureWifiConnected() in ensureWifiIsDefault()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java859 sCtsNetUtils.ensureWifiConnected(); in maybeRetryTestedUpstreamChanged()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java942 mCtsNetUtils.ensureWifiConnected(); in testChangeUnderlyingNetworks()