Home
last modified time | relevance | path

Searched refs:activeInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java132 NetworkInfo activeInfo = connMgr.getActiveNetworkInfo(); in updateConnectedFlags() local
133 if (activeInfo != null && activeInfo.isConnected()) { in updateConnectedFlags()
134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in updateConnectedFlags()
135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java4119 for (SubscriptionInfo activeInfo : mCacheActiveSubInfoList) { in shouldDisableSubGroup()
4120 if (!activeInfo.isOpportunistic() && groupUuid.equals(activeInfo.getGroupUuid())) { in shouldDisableSubGroup()