Home
last modified time | relevance | path

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

/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java40 NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo(); in hasDataConnection() local
41 return activeNetwork != null && activeNetwork.isConnectedOrConnecting(); in hasDataConnection()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java138 final Network activeNetwork = getConnectivityManager().getActiveNetwork(); in canChangeActiveNetworkMeteredness() local
140 = getConnectivityManager().getNetworkCapabilities(activeNetwork); in canChangeActiveNetworkMeteredness()
/cts/tests/tests/net/src/android/net/cts/
DCaptivePortalTest.kt171 assertNotEquals(network, cm.activeNetwork, wifiDefaultMessage) in testCaptivePortalIsNotDefaultNetwork()
180 assertNotEquals(network, cm.activeNetwork, wifiDefaultMessage) in testCaptivePortalIsNotDefaultNetwork()
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java764 Network activeNetwork = null; in testTetheringUpstream() local
767 activeNetwork = networkCallback.waitForAvailable(); in testTetheringUpstream()
773 activeNetwork); in testTetheringUpstream()
774 final NetworkCapabilities activeNetCap = mCm.getNetworkCapabilities(activeNetwork); in testTetheringUpstream()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java761 Network activeNetwork = mConnectivityManager.getActiveNetwork(); in isExpectedTransportForActiveNetwork() local
763 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isExpectedTransportForActiveNetwork()
764 Log.i(TAG, "Network capabilities for " + activeNetwork.netId + " " in isExpectedTransportForActiveNetwork()