Loading api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -145878,6 +145878,17 @@ visibility="public" > </field> <field name="NETWORK_TYPE_EVDO_B" type="int" transient="false" volatile="false" value="12" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="NETWORK_TYPE_GPRS" type="int" transient="false" core/java/android/net/MobileDataStateTracker.java +3 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,9 @@ public class MobileDataStateTracker extends NetworkStateTracker { case TelephonyManager.NETWORK_TYPE_EVDO_A: networkTypeStr = "evdo"; break; case TelephonyManager.NETWORK_TYPE_EVDO_B: networkTypeStr = "evdo"; break; } return "net.tcp.buffersize." + networkTypeStr; } Loading services/java/com/android/server/status/StatusBarPolicy.java +4 −2 Original line number Diff line number Diff line Loading @@ -954,7 +954,9 @@ public class StatusBarPolicy { && ((mServiceState.getRadioTechnology() == ServiceState.RADIO_TECHNOLOGY_EVDO_0) || (mServiceState.getRadioTechnology() == ServiceState.RADIO_TECHNOLOGY_EVDO_A))); == ServiceState.RADIO_TECHNOLOGY_EVDO_A) || (mServiceState.getRadioTechnology() == ServiceState.RADIO_TECHNOLOGY_EVDO_B))); } private boolean hasService() { Loading Loading @@ -1070,7 +1072,6 @@ public class StatusBarPolicy { } private final void updateDataNetType(int net) { switch (net) { case TelephonyManager.NETWORK_TYPE_EDGE: mDataIconList = sDataNetType_e; Loading @@ -1096,6 +1097,7 @@ public class StatusBarPolicy { break; case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through case TelephonyManager.NETWORK_TYPE_EVDO_A: case TelephonyManager.NETWORK_TYPE_EVDO_B: mDataIconList = sDataNetType_3g; break; default: Loading telephony/java/android/telephony/ServiceState.java +5 −1 Original line number Diff line number Diff line Loading @@ -89,6 +89,8 @@ public class ServiceState implements Parcelable { public static final int RADIO_TECHNOLOGY_HSUPA = 10; /** @hide */ public static final int RADIO_TECHNOLOGY_HSPA = 11; /** @hide */ public static final int RADIO_TECHNOLOGY_EVDO_B = 12; /** * Available registration states for GSM, UMTS and CDMA. Loading Loading @@ -379,7 +381,6 @@ public class ServiceState implements Parcelable { @Override public String toString() { String radioTechnology = new String("Error in radioTechnology"); switch(this.mRadioTechnology) { case 0: radioTechnology = "Unknown"; Loading Loading @@ -417,6 +418,9 @@ public class ServiceState implements Parcelable { case 11: radioTechnology = "HSPA"; break; case 12: radioTechnology = "EvDo rev. B"; break; default: Log.w(LOG_TAG, "mRadioTechnology variable out of range."); break; Loading telephony/java/android/telephony/TelephonyManager.java +6 −0 Original line number Diff line number Diff line Loading @@ -391,6 +391,9 @@ public class TelephonyManager { public static final int NETWORK_TYPE_HSPA = 10; /** Current network is iDen */ public static final int NETWORK_TYPE_IDEN = 11; /** Current network is EVDO revision B*/ public static final int NETWORK_TYPE_EVDO_B = 12; /** * Returns a constant indicating the radio technology (network type) Loading @@ -407,6 +410,7 @@ public class TelephonyManager { * @see #NETWORK_TYPE_CDMA * @see #NETWORK_TYPE_EVDO_0 * @see #NETWORK_TYPE_EVDO_A * @see #NETWORK_TYPE_EVDO_B * @see #NETWORK_TYPE_1xRTT */ public int getNetworkType() { Loading Loading @@ -454,6 +458,8 @@ public class TelephonyManager { return "CDMA - EvDo rev. 0"; case NETWORK_TYPE_EVDO_A: return "CDMA - EvDo rev. A"; case NETWORK_TYPE_EVDO_B: return "CDMA - EvDo rev. B"; case NETWORK_TYPE_1xRTT: return "CDMA - 1xRTT"; default: Loading Loading
api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -145878,6 +145878,17 @@ visibility="public" > </field> <field name="NETWORK_TYPE_EVDO_B" type="int" transient="false" volatile="false" value="12" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="NETWORK_TYPE_GPRS" type="int" transient="false"
core/java/android/net/MobileDataStateTracker.java +3 −0 Original line number Diff line number Diff line Loading @@ -310,6 +310,9 @@ public class MobileDataStateTracker extends NetworkStateTracker { case TelephonyManager.NETWORK_TYPE_EVDO_A: networkTypeStr = "evdo"; break; case TelephonyManager.NETWORK_TYPE_EVDO_B: networkTypeStr = "evdo"; break; } return "net.tcp.buffersize." + networkTypeStr; } Loading
services/java/com/android/server/status/StatusBarPolicy.java +4 −2 Original line number Diff line number Diff line Loading @@ -954,7 +954,9 @@ public class StatusBarPolicy { && ((mServiceState.getRadioTechnology() == ServiceState.RADIO_TECHNOLOGY_EVDO_0) || (mServiceState.getRadioTechnology() == ServiceState.RADIO_TECHNOLOGY_EVDO_A))); == ServiceState.RADIO_TECHNOLOGY_EVDO_A) || (mServiceState.getRadioTechnology() == ServiceState.RADIO_TECHNOLOGY_EVDO_B))); } private boolean hasService() { Loading Loading @@ -1070,7 +1072,6 @@ public class StatusBarPolicy { } private final void updateDataNetType(int net) { switch (net) { case TelephonyManager.NETWORK_TYPE_EDGE: mDataIconList = sDataNetType_e; Loading @@ -1096,6 +1097,7 @@ public class StatusBarPolicy { break; case TelephonyManager.NETWORK_TYPE_EVDO_0: //fall through case TelephonyManager.NETWORK_TYPE_EVDO_A: case TelephonyManager.NETWORK_TYPE_EVDO_B: mDataIconList = sDataNetType_3g; break; default: Loading
telephony/java/android/telephony/ServiceState.java +5 −1 Original line number Diff line number Diff line Loading @@ -89,6 +89,8 @@ public class ServiceState implements Parcelable { public static final int RADIO_TECHNOLOGY_HSUPA = 10; /** @hide */ public static final int RADIO_TECHNOLOGY_HSPA = 11; /** @hide */ public static final int RADIO_TECHNOLOGY_EVDO_B = 12; /** * Available registration states for GSM, UMTS and CDMA. Loading Loading @@ -379,7 +381,6 @@ public class ServiceState implements Parcelable { @Override public String toString() { String radioTechnology = new String("Error in radioTechnology"); switch(this.mRadioTechnology) { case 0: radioTechnology = "Unknown"; Loading Loading @@ -417,6 +418,9 @@ public class ServiceState implements Parcelable { case 11: radioTechnology = "HSPA"; break; case 12: radioTechnology = "EvDo rev. B"; break; default: Log.w(LOG_TAG, "mRadioTechnology variable out of range."); break; Loading
telephony/java/android/telephony/TelephonyManager.java +6 −0 Original line number Diff line number Diff line Loading @@ -391,6 +391,9 @@ public class TelephonyManager { public static final int NETWORK_TYPE_HSPA = 10; /** Current network is iDen */ public static final int NETWORK_TYPE_IDEN = 11; /** Current network is EVDO revision B*/ public static final int NETWORK_TYPE_EVDO_B = 12; /** * Returns a constant indicating the radio technology (network type) Loading @@ -407,6 +410,7 @@ public class TelephonyManager { * @see #NETWORK_TYPE_CDMA * @see #NETWORK_TYPE_EVDO_0 * @see #NETWORK_TYPE_EVDO_A * @see #NETWORK_TYPE_EVDO_B * @see #NETWORK_TYPE_1xRTT */ public int getNetworkType() { Loading Loading @@ -454,6 +458,8 @@ public class TelephonyManager { return "CDMA - EvDo rev. 0"; case NETWORK_TYPE_EVDO_A: return "CDMA - EvDo rev. A"; case NETWORK_TYPE_EVDO_B: return "CDMA - EvDo rev. B"; case NETWORK_TYPE_1xRTT: return "CDMA - 1xRTT"; default: Loading