Lines Matching refs:ConnectivityManager
24 import android.net.ConnectivityManager;
33 * Encapsulates functionality of ConnectivityManager for use in the Email application. In
60 private final android.net.ConnectivityManager mConnectivityManager;
73 (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
76 mContext.registerReceiver(this, new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION));
94 * @param networkType as defined by ConnectivityManager
102 * @param networkType as defined by ConnectivityManager
119 if (intent.getAction().equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
123 (NetworkInfo)extras.get(ConnectivityManager.EXTRA_NETWORK_INFO);
156 ConnectivityManager cm =
157 (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
161 static public int getActiveNetworkType(ConnectivityManager cm) {
170 throw new IllegalStateException("ConnectivityManager not registered");