Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 409024e9 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 25554 into eclair

* changes:
  telephony: Add CdmaCellLocation class to the public API.
parents 0d51d635 1b90def3
Loading
Loading
Loading
Loading
+147 −0
Original line number Diff line number Diff line
@@ -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"
+3 −3
Original line number Diff line number Diff line
@@ -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;