diff options
author | NewbyJE <NewbyJE@comcast.net> | 2012-10-14 11:05:47 -0700 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-12-10 09:16:39 +0000 |
commit | 6c356cc418765aa0402a940392ae5f06e188e972 (patch) | |
tree | 3e5643a7f4cad2c4afdfe67f667373348814ee24 /telephony | |
parent | 0d666500bbaff32dfea52917ee2414051ada9b7c (diff) | |
download | frameworks_base-6c356cc418765aa0402a940392ae5f06e188e972.zip frameworks_base-6c356cc418765aa0402a940392ae5f06e188e972.tar.gz frameworks_base-6c356cc418765aa0402a940392ae5f06e188e972.tar.bz2 |
core and telephony: Additional HSPAP support
Change-Id: I5e921d2308d873678d6ef67a91cff50d383a176b
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/NeighboringCellInfo.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/NeighboringCellInfo.java b/telephony/java/android/telephony/NeighboringCellInfo.java index 0f9a3b9..51e1e95 100644 --- a/telephony/java/android/telephony/NeighboringCellInfo.java +++ b/telephony/java/android/telephony/NeighboringCellInfo.java @@ -25,8 +25,7 @@ import static android.telephony.TelephonyManager.NETWORK_TYPE_UMTS; import static android.telephony.TelephonyManager.NETWORK_TYPE_HSDPA; import static android.telephony.TelephonyManager.NETWORK_TYPE_HSUPA; import static android.telephony.TelephonyManager.NETWORK_TYPE_HSPA; - - +import static android.telephony.TelephonyManager.NETWORK_TYPE_HSPAP; /** * Represents the neighboring cell information, including @@ -108,7 +107,8 @@ public class NeighboringCellInfo implements Parcelable * {@link TelephonyManager#NETWORK_TYPE_UMTS TelephonyManager.NETWORK_TYPE_UMTS}, * {@link TelephonyManager#NETWORK_TYPE_HSDPA TelephonyManager.NETWORK_TYPE_HSDPA}, * {@link TelephonyManager#NETWORK_TYPE_HSUPA TelephonyManager.NETWORK_TYPE_HSUPA}, - * and {@link TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA}. + * {@link TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA}, + * and {@link TelephonyManager#NETWORK_TYPE_HSPAP TelephonyManager.NETWORK_TYPE_HSPAP}. */ public NeighboringCellInfo(int rssi, String location, int radioType) { // set default value @@ -143,6 +143,7 @@ public class NeighboringCellInfo implements Parcelable case NETWORK_TYPE_HSDPA: case NETWORK_TYPE_HSUPA: case NETWORK_TYPE_HSPA: + case NETWORK_TYPE_HSPAP: mNetworkType = radioType; mPsc = Integer.valueOf(location, 16); break; @@ -218,7 +219,8 @@ public class NeighboringCellInfo implements Parcelable * Return {@link TelephonyManager#NETWORK_TYPE_UMTS TelephonyManager.NETWORK_TYPE_UMTS}, * {@link TelephonyManager#NETWORK_TYPE_HSDPA TelephonyManager.NETWORK_TYPE_HSDPA}, * {@link TelephonyManager#NETWORK_TYPE_HSUPA TelephonyManager.NETWORK_TYPE_HSUPA}, - * or {@link TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA} + * {@link TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA}, + * or {@link TelephonyManager#NETWORK_TYPE_HSPAP TelephonyManager.NETWORK_TYPE_HSPAP} * means that Neighboring Cell information is stored for UMTS network, in * which {@link NeighboringCellInfo#getPsc NeighboringCellInfo.getPsc} * should be called to access location. |