Searched refs:getNetworkType (Results 1 – 8 of 8) sorted by relevance
144 public int getNetworkType() { in getNetworkType() method in NetworkMonitorAutoDetect.NetworkState426 + " because it has type " + networkState.getNetworkType() + " and subtype " in networkToInfo()831 return getConnectionType(networkState.isConnected(), networkState.getNetworkType(), in getConnectionType()836 if (networkState.getNetworkType() != ConnectivityManager.TYPE_VPN) { in getUnderlyingConnectionTypeForVpn()
278 networkType = context == null ? C.NETWORK_TYPE_UNKNOWN : Util.getNetworkType(context); in DefaultBandwidthMeter()376 : (context == null ? C.NETWORK_TYPE_UNKNOWN : Util.getNetworkType(context)); in onConnectivityAction()
283 DisplayInfoString.getNetworkType()); in DisplayInfoChangedEvent()
762 mTelephonyManager.getNetworkType(subId)); in telephonyGetNetworkTypeForSubscription()
326 protected int getNetworkType() { in getNetworkType() method in ShadowTelephonyManager
131 assertEquals(TelephonyManager.NETWORK_TYPE_CDMA, telephonyManager.getNetworkType()); in shouldGiveNetworkType()
1909 public static int getNetworkType(Context context) { in getNetworkType() method in Util
797 String networkType = TelephonyUtils.getNetworkTypeString(data.getNetworkType()); in buildNeighboringCellInfo()