Home
last modified time | relevance | path

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

/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DBaseTestCase.java43 Network activeNetwork = connectivityManager.getActiveNetwork(); in isInternetConnected() local
44 if (activeNetwork == null) { in isInternetConnected()
48 NetworkCapabilities caps = connectivityManager.getNetworkCapabilities(activeNetwork); in isInternetConnected()
/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/tests/JobScheduler/src/android/jobscheduler/cts/
DNetworkingHelper.java462 Network activeNetwork = mConnectivityManager.getActiveNetwork(); in checkActiveNetwork() local
464 if (activeNetwork != null && mExpectedCapabilities.satisfiedByNetworkCapabilities( in checkActiveNetwork()
465 mConnectivityManager.getNetworkCapabilities(activeNetwork))) { in checkActiveNetwork()
471 if (activeNetwork == null in checkActiveNetwork()
473 mConnectivityManager.getNetworkCapabilities(activeNetwork))) { in checkActiveNetwork()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSignalStrengthTest.java173 Network activeNetwork = cm.getActiveNetwork(); in assertDeviceIsOnCellDataOrNoData() local
174 if (activeNetwork == null) return; in assertDeviceIsOnCellDataOrNoData()
176 cm.getNetworkCapabilities(activeNetwork) in assertDeviceIsOnCellDataOrNoData()
DConnectivityManagerTestOnMockModem.java170 Network activeNetwork = sConnectivityManager.getActiveNetwork(); in beforeAllTests() local
172 if (activeNetwork == null) { in beforeAllTests()
176 nc = sConnectivityManager.getNetworkCapabilities(activeNetwork); in beforeAllTests()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java736 Network activeNetwork = mConnectivityManager.getActiveNetwork(); in isExpectedTransportForActiveNetwork() local
738 mConnectivityManager.getNetworkCapabilities(activeNetwork); in isExpectedTransportForActiveNetwork()
739 Log.i(TAG, "Network capabilities for " + activeNetwork + " " in isExpectedTransportForActiveNetwork()