diff options
| -rw-r--r-- | api/current.xml | 147 | ||||
| -rw-r--r-- | telephony/java/android/telephony/cdma/CdmaCellLocation.java | 6 |
2 files changed, 150 insertions, 3 deletions
diff --git a/api/current.xml b/api/current.xml index b348555987df..46565f2079af 100644 --- a/api/current.xml +++ b/api/current.xml @@ -121613,6 +121613,153 @@ </field> </class> </package> +<package name="android.telephony.cdma" +> +<class name="CdmaCellLocation" + extends="android.telephony.CellLocation" + abstract="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<constructor name="CdmaCellLocation" + type="android.telephony.cdma.CdmaCellLocation" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</constructor> +<constructor name="CdmaCellLocation" + type="android.telephony.cdma.CdmaCellLocation" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="bundleWithValues" type="android.os.Bundle"> +</parameter> +</constructor> +<method name="fillInNotifierBundle" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="bundleToFill" type="android.os.Bundle"> +</parameter> +</method> +<method name="getBaseStationId" + return="int" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="getBaseStationLatitude" + return="int" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="getBaseStationLongitude" + return="int" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="getNetworkId" + return="int" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="getSystemId" + return="int" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +<method name="setCellLocationData" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="baseStationId" type="int"> +</parameter> +<parameter name="baseStationLatitude" type="int"> +</parameter> +<parameter name="baseStationLongitude" type="int"> +</parameter> +</method> +<method name="setCellLocationData" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="baseStationId" type="int"> +</parameter> +<parameter name="baseStationLatitude" type="int"> +</parameter> +<parameter name="baseStationLongitude" type="int"> +</parameter> +<parameter name="systemId" type="int"> +</parameter> +<parameter name="networkId" type="int"> +</parameter> +</method> +<method name="setStateInvalid" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> +</class> +</package> <package name="android.telephony.gsm" > <class name="GsmCellLocation" diff --git a/telephony/java/android/telephony/cdma/CdmaCellLocation.java b/telephony/java/android/telephony/cdma/CdmaCellLocation.java index b8778f8fee0f..676fba75df1c 100644 --- a/telephony/java/android/telephony/cdma/CdmaCellLocation.java +++ b/telephony/java/android/telephony/cdma/CdmaCellLocation.java @@ -20,8 +20,7 @@ import android.os.Bundle; import android.telephony.CellLocation; /** - * Represents the cell location on a GSM phone. - * @hide + * Represents the cell location on a CDMA phone. */ public class CdmaCellLocation extends CellLocation { private int mBaseStationId = -1; @@ -31,7 +30,8 @@ public class CdmaCellLocation extends CellLocation { private int mNetworkId = -1; /** - * Empty constructor. Initializes the LAC and CID to -1. + * Empty constructor. + * Initializes the BID, SID, NID and base station latitude and longitude to -1. */ public CdmaCellLocation() { this.mBaseStationId = -1; |