Searched refs:connectivityManager (Results 1 – 6 of 6) 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()
41 ConnectivityManager connectivityManager = getSystemService(ConnectivityManager.class); in onStartJob() local43 canRetrieveSsidFromTransportInfo(TAG, connectivityManager) ? 1 : 0, null); in onStartJob()
101 ConnectivityManager connectivityManager = in run() local103 Network[] networks = connectivityManager.getAllNetworks(); in run()
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()
377 private static boolean isNetworkCellularAndHasInternet(ConnectivityManager connectivityManager, in isNetworkCellularAndHasInternet() argument379 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet()