HomeSort by relevance Sort by last modified time
    Searched refs:connectivityManager (Results 1 - 4 of 4) sorted by null

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ConnectivityManagerTest.java 4 import android.net.ConnectivityManager;
21 private ConnectivityManager connectivityManager;
27 connectivityManager = (ConnectivityManager) Robolectric.application.getSystemService(Context.CONNECTIVITY_SERVICE);
28 shadowConnectivityManager = shadowOf(connectivityManager);
29 shadowOfActiveNetworkInfo = shadowOf(connectivityManager.getActiveNetworkInfo());
34 assertNotNull(connectivityManager);
35 assertNotNull(connectivityManager.getActiveNetworkInfo());
42 assertTrue(connectivityManager.getActiveNetworkInfo().isConnectedOrConnecting())
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
RefreshStatusMonitor.java 9 import android.net.ConnectivityManager;
86 final ConnectivityManager connectivityManager =
87 ((ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE));
88 final NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();
  /frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
PhotoViewFragment.java 26 import android.net.ConnectivityManager;
274 new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION));
275 ConnectivityManager connectivityManager = (ConnectivityManager)
277 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo();
598 ConnectivityManager connectivityManager = (ConnectivityManager)
600 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo()
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
AttachmentUtils.java 22 import android.net.ConnectivityManager;
274 ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(
276 NetworkInfo info = connectivityManager.getActiveNetworkInfo();
280 if (info.getType() != ConnectivityManager.TYPE_MOBILE) {

Completed in 438 milliseconds