Searched refs:connectivityManager (Results 1 – 9 of 9) sorted by relevance
70 String logTag, ConnectivityManager connectivityManager) { in canRetrieveSsidFromTransportInfo() argument75 connectivityManager.registerNetworkCallback( in canRetrieveSsidFromTransportInfo()107 connectivityManager.unregisterNetworkCallback(testNetworkCallback); in canRetrieveSsidFromTransportInfo()115 ConnectivityManager connectivityManager = getSystemService(ConnectivityManager.class); in onCreate() local117 STATUS_EXTRA, canRetrieveSsidFromTransportInfo(TAG, connectivityManager))); in onCreate()
43 ConnectivityManager connectivityManager = getSystemService(ConnectivityManager.class); in onStartJob() local45 canRetrieveSsidFromTransportInfo(TAG, connectivityManager) ? 1 : 0, null); in onStartJob()
40 ConnectivityManager connectivityManager = (ConnectivityManager) context in isInternetConnected() local43 Network activeNetwork = connectivityManager.getActiveNetwork(); in isInternetConnected()48 NetworkCapabilities caps = connectivityManager.getNetworkCapabilities(activeNetwork); in isInternetConnected()
116 ConnectivityManager connectivityManager = in run() local118 Network[] networks = connectivityManager.getAllNetworks(); in run()
468 ConnectivityManager connectivityManager = in hasNetworkConnection() local470 if (connectivityManager == null) { in hasNetworkConnection()476 connectivityManager.getNetworkCapabilities(connectivityManager.getActiveNetwork()); in hasNetworkConnection()484 NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); in hasNetworkConnection()
38 ConnectivityManager connectivityManager = getContext().getSystemService( in hasDataConnection() local40 NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo(); in hasDataConnection()
176 ConnectivityManager connectivityManager = in isNetworkVpn() local178 Network network = connectivityManager.getActiveNetwork(); in isNetworkVpn()179 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
382 private static boolean isNetworkCellularAndHasInternet(ConnectivityManager connectivityManager, in isNetworkCellularAndHasInternet() argument384 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet()
2543 ConnectivityManager connectivityManager = in testSatelliteModeRadiosWithAirplaneMode() local2570 connectivityManager.setAirplaneMode(true); in testSatelliteModeRadiosWithAirplaneMode()2581 connectivityManager.setAirplaneMode(false); in testSatelliteModeRadiosWithAirplaneMode()2587 connectivityManager.setAirplaneMode(originalAirplaneMode); in testSatelliteModeRadiosWithAirplaneMode()