Home
last modified time | relevance | path

Searched refs:connectivityManager (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/wifi/CtsWifiLocationTestApp/src/android/net/wifi/cts/app/
DRetrieveTransportInfoAndReturnStatusActivity.java70 String logTag, ConnectivityManager connectivityManager) { in canRetrieveSsidFromTransportInfo() argument
75 connectivityManager.registerNetworkCallback( in canRetrieveSsidFromTransportInfo()
107 connectivityManager.unregisterNetworkCallback(testNetworkCallback); in canRetrieveSsidFromTransportInfo()
115 ConnectivityManager connectivityManager = getSystemService(ConnectivityManager.class); in onCreate() local
117 STATUS_EXTRA, canRetrieveSsidFromTransportInfo(TAG, connectivityManager))); in onCreate()
DRetrieveTransportInfoAndReturnStatusService.java43 ConnectivityManager connectivityManager = getSystemService(ConnectivityManager.class); in onStartJob() local
45 canRetrieveSsidFromTransportInfo(TAG, connectivityManager) ? 1 : 0, null); in onStartJob()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DBaseTestCase.java40 ConnectivityManager connectivityManager = (ConnectivityManager) context in isInternetConnected() local
43 Network activeNetwork = connectivityManager.getActiveNetwork(); in isInternetConnected()
48 NetworkCapabilities caps = connectivityManager.getNetworkCapabilities(activeNetwork); in isInternetConnected()
/cts/tests/tests/webkit/src/android/webkit/cts/
DPacProcessorTest.java116 ConnectivityManager connectivityManager = in run() local
118 Network[] networks = connectivityManager.getAllNetworks(); in run()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DTransformerAndroidTestRunner.java468 ConnectivityManager connectivityManager = in hasNetworkConnection() local
470 if (connectivityManager == null) { in hasNetworkConnection()
476 connectivityManager.getNetworkCapabilities(connectivityManager.getActiveNetwork()); in hasNetworkConnection()
484 NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); in hasNetworkConnection()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java38 ConnectivityManager connectivityManager = getContext().getSystemService( in hasDataConnection() local
40 NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo(); in hasDataConnection()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java176 ConnectivityManager connectivityManager = in isNetworkVpn() local
178 Network network = connectivityManager.getActiveNetwork(); in isNetworkVpn()
179 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java382 private static boolean isNetworkCellularAndHasInternet(ConnectivityManager connectivityManager, in isNetworkCellularAndHasInternet() argument
384 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestOnMockService.java2543 ConnectivityManager connectivityManager = in testSatelliteModeRadiosWithAirplaneMode() local
2570 connectivityManager.setAirplaneMode(true); in testSatelliteModeRadiosWithAirplaneMode()
2581 connectivityManager.setAirplaneMode(false); in testSatelliteModeRadiosWithAirplaneMode()
2587 connectivityManager.setAirplaneMode(originalAirplaneMode); in testSatelliteModeRadiosWithAirplaneMode()