@@ -20203,12 +20203,110 @@ package android.speech.tts {
2020320203
2020420204package android.telephony {
2020520205
20206+ public abstract class CellIdentity implements android.os.Parcelable {
20207+ method public int describeContents();
20208+ method public abstract int hashCode();
20209+ method public void writeToParcel(android.os.Parcel, int);
20210+ field public static final android.os.Parcelable.Creator CREATOR;
20211+ }
20212+
20213+ public final class CellIdentityCdma extends android.telephony.CellIdentity implements android.os.Parcelable {
20214+ method public int getBasestationId();
20215+ method public int getLatitude();
20216+ method public int getLongitude();
20217+ method public int getNetworkId();
20218+ method public int getSystemId();
20219+ method public int hashCode();
20220+ field public static final android.os.Parcelable.Creator CREATOR;
20221+ }
20222+
20223+ public final class CellIdentityGsm extends android.telephony.CellIdentity implements android.os.Parcelable {
20224+ method public int getCid();
20225+ method public int getLac();
20226+ method public int getMcc();
20227+ method public int getMnc();
20228+ method public int getPsc();
20229+ method public int hashCode();
20230+ field public static final android.os.Parcelable.Creator CREATOR;
20231+ }
20232+
20233+ public final class CellIdentityLte extends android.telephony.CellIdentity implements android.os.Parcelable {
20234+ method public int getCi();
20235+ method public int getMcc();
20236+ method public int getMnc();
20237+ method public int getPci();
20238+ method public int getTac();
20239+ method public int hashCode();
20240+ field public static final android.os.Parcelable.Creator CREATOR;
20241+ }
20242+
20243+ public class CellInfo implements android.os.Parcelable {
20244+ method public int describeContents();
20245+ method public long getTimeStamp();
20246+ method public boolean isRegistered();
20247+ method public void writeToParcel(android.os.Parcel, int);
20248+ field public static final android.os.Parcelable.Creator CREATOR;
20249+ }
20250+
20251+ public final class CellInfoCdma extends android.telephony.CellInfo implements android.os.Parcelable {
20252+ method public android.telephony.CellIdentityCdma getCellIdentity();
20253+ method public android.telephony.CellSignalStrengthCdma getCellSignalStrength();
20254+ field public static final android.os.Parcelable.Creator CREATOR;
20255+ }
20256+
20257+ public final class CellInfoGsm extends android.telephony.CellInfo implements android.os.Parcelable {
20258+ method public android.telephony.CellIdentityGsm getCellIdentity();
20259+ method public android.telephony.CellSignalStrengthGsm getCellSignalStrength();
20260+ field public static final android.os.Parcelable.Creator CREATOR;
20261+ }
20262+
20263+ public final class CellInfoLte extends android.telephony.CellInfo implements android.os.Parcelable {
20264+ method public android.telephony.CellIdentityLte getCellIdentity();
20265+ method public android.telephony.CellSignalStrengthLte getCellSignalStrength();
20266+ field public static final android.os.Parcelable.Creator CREATOR;
20267+ }
20268+
2020620269 public abstract class CellLocation {
2020720270 ctor public CellLocation();
2020820271 method public static android.telephony.CellLocation getEmpty();
2020920272 method public static void requestLocationUpdate();
2021020273 }
2021120274
20275+ public abstract class CellSignalStrength implements android.os.Parcelable {
20276+ method public int describeContents();
20277+ method public abstract boolean equals(java.lang.Object);
20278+ method public abstract int hashCode();
20279+ method public abstract void writeToParcel(android.os.Parcel, int);
20280+ field public static final android.os.Parcelable.Creator CREATOR;
20281+ }
20282+
20283+ public class CellSignalStrengthCdma extends android.telephony.CellSignalStrength implements android.os.Parcelable {
20284+ method public boolean equals(java.lang.Object);
20285+ method public int getCdmaDbm();
20286+ method public int getCdmaEcio();
20287+ method public int getEvdoDbm();
20288+ method public int getEvdoEcio();
20289+ method public int getEvdoSnr();
20290+ method public int hashCode();
20291+ method public void writeToParcel(android.os.Parcel, int);
20292+ field public static final android.os.Parcelable.Creator CREATOR;
20293+ }
20294+
20295+ public class CellSignalStrengthGsm extends android.telephony.CellSignalStrength implements android.os.Parcelable {
20296+ method public boolean equals(java.lang.Object);
20297+ method public int hashCode();
20298+ method public void writeToParcel(android.os.Parcel, int);
20299+ field public static final android.os.Parcelable.Creator CREATOR;
20300+ }
20301+
20302+ public class CellSignalStrengthLte extends android.telephony.CellSignalStrength implements android.os.Parcelable {
20303+ method public boolean equals(java.lang.Object);
20304+ method public int getTimingAdvance();
20305+ method public int hashCode();
20306+ method public void writeToParcel(android.os.Parcel, int);
20307+ field public static final android.os.Parcelable.Creator CREATOR;
20308+ }
20309+
2021220310 public class NeighboringCellInfo implements android.os.Parcelable {
2021320311 ctor public deprecated NeighboringCellInfo();
2021420312 ctor public deprecated NeighboringCellInfo(int, int);
@@ -20281,6 +20379,7 @@ package android.telephony {
2028120379 ctor public PhoneStateListener();
2028220380 method public void onCallForwardingIndicatorChanged(boolean);
2028320381 method public void onCallStateChanged(int, java.lang.String);
20382+ method public void onCellInfoChanged(java.util.List<android.telephony.CellInfo>);
2028420383 method public void onCellLocationChanged(android.telephony.CellLocation);
2028520384 method public void onDataActivity(int);
2028620385 method public void onDataConnectionStateChanged(int);
@@ -20291,6 +20390,7 @@ package android.telephony {
2029120390 method public void onSignalStrengthsChanged(android.telephony.SignalStrength);
2029220391 field public static final int LISTEN_CALL_FORWARDING_INDICATOR = 8; // 0x8
2029320392 field public static final int LISTEN_CALL_STATE = 32; // 0x20
20393+ field public static final int LISTEN_CELL_INFO = 1024; // 0x400
2029420394 field public static final int LISTEN_CELL_LOCATION = 16; // 0x10
2029520395 field public static final int LISTEN_DATA_ACTIVITY = 128; // 0x80
2029620396 field public static final int LISTEN_DATA_CONNECTION_STATE = 64; // 0x40
@@ -20416,6 +20516,7 @@ package android.telephony {
2041620516 }
2041720517
2041820518 public class TelephonyManager {
20519+ method public java.util.List<android.telephony.CellInfo> getAllCellInfo();
2041920520 method public int getCallState();
2042020521 method public android.telephony.CellLocation getCellLocation();
2042120522 method public int getDataActivity();
0 commit comments