diff options
author | Li Zhe <jqc837@motorola.com> | 2009-08-14 19:22:16 +0800 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2009-08-21 13:41:05 -0700 |
commit | ebe66345e7099ca6fc95e8aa4d31a5b5cbbd6224 (patch) | |
tree | c35adde6bdba4ccb93a2aefd61a343c0306f3751 /telephony/java/android/telephony/ServiceState.java | |
parent | cc0a17cb08c6a6ee2f27c00b7f658e4734fdf0c9 (diff) | |
download | frameworks_base-ebe66345e7099ca6fc95e8aa4d31a5b5cbbd6224.zip frameworks_base-ebe66345e7099ca6fc95e8aa4d31a5b5cbbd6224.tar.gz frameworks_base-ebe66345e7099ca6fc95e8aa4d31a5b5cbbd6224.tar.bz2 |
Framework changes to support HSDPA/HSUPA/HSPA
HSDPA: High-Speed Downlink Packet Access
HSUPA: High-Speend Uplink Packet Access
HSPA: High-Speed Packet Access
Add support for HSDPA/HSUPA/HSPA:
1) extend TelephonyManager.NETWORK_TYPE for HSDPA/HSUPA/HSPA
2) extend ServiceState.RADIO_TECHNOLOGY for HSDPA/HSUPA/HSPA
3) set radioTechnology into ServiceState in GsmServiceStateTracker
4) change the implementation of TelephonyManager.getNetworkType to
solve the competition timing issue between the time of setting
system property and the time of receiving notification through
PhoneStateListener
4.1) add a getNetworkType interface in ITelephony.aidl
5) add icons resources for HSDPA/HSUPA/HSPA
6) make use of HSDPA/HSUPA/HSPA icons in StatusBarPolicy
Diffstat (limited to 'telephony/java/android/telephony/ServiceState.java')
-rw-r--r-- | telephony/java/android/telephony/ServiceState.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index 50c4d41..06b5c26 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -83,6 +83,12 @@ public class ServiceState implements Parcelable { public static final int RADIO_TECHNOLOGY_EVDO_0 = 7; /** @hide */ public static final int RADIO_TECHNOLOGY_EVDO_A = 8; + /** @hide */ + public static final int RADIO_TECHNOLOGY_HSDPA = 9; + /** @hide */ + public static final int RADIO_TECHNOLOGY_HSUPA = 10; + /** @hide */ + public static final int RADIO_TECHNOLOGY_HSPA = 11; /** * Available registration states for GSM, UMTS and CDMA. @@ -366,6 +372,15 @@ public class ServiceState implements Parcelable { case 8: radioTechnology = "EvDo rev. A"; break; + case 9: + radioTechnology = "HSDPA"; + break; + case 10: + radioTechnology = "HSUPA"; + break; + case 11: + radioTechnology = "HSPA"; + break; default: Log.w(LOG_TAG, "mRadioTechnology variable out of range."); break; |