37c2839f70293d72b504cb0b84ad81d9419ad8bc |
|
26-Nov-2015 |
Amit Mahajan <amitmahajan@google.com> |
Promoting a function from Gsm/Cdma CellLocation classes to parent class Bug: 25793157 Change-Id: Iee247ceb45df90aeba26c0b68471ef857284b245
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
3fe79dfdf4ca63535ec9e586ebed553a862061ea |
|
12-Jun-2012 |
Wink Saville <wink@google.com> |
Merge "Adds utility method to convert 0.25 secs to decimal degrees"
|
67662767d98c42c34519767956aebe9d90f31c3a |
|
13-Jan-2012 |
Sean Barbeau <sjbarbeau@gmail.com> |
Adds utility method to convert 0.25 secs to decimal degrees This patch adds a utility method that converts latitude and longitude in quarter seconds units to decimal degrees units. The Telephony API returns CDMA base station latitude and longitude in quarter seconds due to a 3GPP telecom standard, while the Android Location API, and the vast majority of application-level code, uses decimal degrees. For example, to measure the distance from the user's current location to the base station using the Location API Location.distanceBetween() method (http://goo.gl/YjO8O), the base station lat and long would need to be converted to decimal degrees first. Since most application developers will likely never use lat/long information in quarter seconds units, and instead will need this information in decimal degrees, this utility method will frequently be used by anyone querying base station location data from CdmaCellLocation. Sample values to test conversion: 0.25 seconds: lat = 399491, long = -1189145 is equivalent to decimal degrees: lat = 27.742430555555554, long = -82.57951388888888 Change-Id: If03e741f5035a37519f50d4fb2fb3e3eef2505da Signed-off-by: Sean Barbeau <sjbarbeau@gmail.com>
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
9a18320ef4c9019807423ea05d350a005e136bcc |
|
13-Jan-2012 |
Sean Barbeau <sjbarbeau@gmail.com> |
Adds documentation to CdmaCellLocation get lat/long methods Adds better documentation to the getBaseStationLatitude() and getBaseStationLongitude() methods to indicate the units for latitude and longitude in CdmaCellLocation. Unlike the Android Location API methods, latitude and longitude in CdmaCellLocation are not in decimal degrees but instead in 0.25 seconds due to a more obscure 3GPP standard underlying the Telephony API. The current Javadocs on the Android developer page (http://goo.gl/hvWo6) do not indicate the units for latitude and longitude in CdmaCellLocation, making it very difficult for developers to interpret the output of these methods, especially since 0.25 seconds is not a commonly used unit for latitude and longitude in application-level code. This patch adds clear documentation to these methods so developers can clearly understand the units for latitude and longitude without having to dig through the Android platform source code. Change-Id: I259bfe3b68e3999804877821680fb99a22937651 Signed-off-by: Sean Barbeau <sjbarbeau@gmail.com>
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
41a46718b3deec95661e149b3acea2a9e54016be |
|
10-Mar-2010 |
John Wang <johnwang@google.com> |
Make getCellLocation return null if not available. For bug 2422284. Check the cell location and return null if the location is not available. Change-Id: Ie9a331b906a8253c9a9596365af8705dc03823ce
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
9384b145e625b3bb6ff8b829ddb1466e16a78f49 |
|
11-Feb-2010 |
Mark Vandevoorde <mtv@google.com> |
Map base station lat-lng of "0","0" to undefined. Also introduce a public constant for the invalid lat/lng value. Change-Id: Ifaa1e563bfa94c06dfbba51157b9160055442682
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
d393184ac595ab5490c77305a27fd049badf9a5d |
|
12-Oct-2009 |
Naveen Kalla <nkalla@quicinc.com> |
telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing When Android Telephony receives response to GET_REGISTRATION_STATE message from RIL it may contain few fields set to NULL. Due to a parsing exception encountered while parsing that field, the remaining fields will not be parsed even if they are valid data. Ignore all fields that are NULL while letting it parse non-NULL data. For Latitude and Longitude, the values should not be hexadecimal. They shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A specification. Invalid value is changed from -1 to Integer.MAX_VALUE. Bug: 2201613 Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
1b90def3c683afaea528a0ee705b14df6ce2e2c7 |
|
17-Sep-2009 |
Mike Lockwood <lockwood@android.com> |
telephony: Add CdmaCellLocation class to the public API. Its twin sister GsmCellLocation is public, so this really should be in the SDK too. Change-Id: If6f5899047546a7398f1e4191c67acf15555c21b Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
a4d2fb5ef6bb5dfb6e26ac6a139de389984db5d3 |
|
07-Jul-2009 |
Mike Lockwood <lockwood@android.com> |
CDMA: Add Network ID and System ID to CdmaCellLocation. Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|
04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc |
|
02-Apr-2009 |
Wink Saville <> |
AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger. Automated import of CL 144245
/frameworks/base/telephony/java/android/telephony/cdma/CdmaCellLocation.java
|