summaryrefslogtreecommitdiffstats
path: root/telephony/java/android/telephony/cdma
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-06-11 16:36:39 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-06-11 16:36:39 -0700
commitf75e3e01f6e574a411fa936e070a7a9f2f606da7 (patch)
tree14088d8471638d483245b90a92a5beec10751733 /telephony/java/android/telephony/cdma
parent21e13d9c7de1c2853eed5d35a74955e1865abfa4 (diff)
parentc07055c4a6e92a6c82e193c5b87b35d97418a73b (diff)
downloadframeworks_base-f75e3e01f6e574a411fa936e070a7a9f2f606da7.zip
frameworks_base-f75e3e01f6e574a411fa936e070a7a9f2f606da7.tar.gz
frameworks_base-f75e3e01f6e574a411fa936e070a7a9f2f606da7.tar.bz2
am c07055c4: am bc69f97c: Merge "Adds documentation to CdmaCellLocation get lat/long methods"
* commit 'c07055c4a6e92a6c82e193c5b87b35d97418a73b': Adds documentation to CdmaCellLocation get lat/long methods
Diffstat (limited to 'telephony/java/android/telephony/cdma')
-rw-r--r--telephony/java/android/telephony/cdma/CdmaCellLocation.java16
1 files changed, 14 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/cdma/CdmaCellLocation.java b/telephony/java/android/telephony/cdma/CdmaCellLocation.java
index 84db830..b1f400b 100644
--- a/telephony/java/android/telephony/cdma/CdmaCellLocation.java
+++ b/telephony/java/android/telephony/cdma/CdmaCellLocation.java
@@ -81,14 +81,26 @@ public class CdmaCellLocation extends CellLocation {
}
/**
- * @return cdma base station latitude, Integer.MAX_VALUE if unknown
+ * Latitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0.
+ * (http://www.3gpp2.org/public_html/specs/C.S0005-A_v6.0.pdf)
+ * It is represented in units of 0.25 seconds and ranges from -1296000
+ * to 1296000, both values inclusive (corresponding to a range of -90
+ * to +90 degrees). Integer.MAX_VALUE is considered invalid value.
+ *
+ * @return cdma base station latitude in units of 0.25 seconds, Integer.MAX_VALUE if unknown
*/
public int getBaseStationLatitude() {
return this.mBaseStationLatitude;
}
/**
- * @return cdma base station longitude, Integer.MAX_VALUE if unknown
+ * Longitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0.
+ * (http://www.3gpp2.org/public_html/specs/C.S0005-A_v6.0.pdf)
+ * It is represented in units of 0.25 seconds and ranges from -2592000
+ * to 2592000, both values inclusive (corresponding to a range of -180
+ * to +180 degrees). Integer.MAX_VALUE is considered invalid value.
+ *
+ * @return cdma base station longitude in units of 0.25 seconds, Integer.MAX_VALUE if unknown
*/
public int getBaseStationLongitude() {
return this.mBaseStationLongitude;