@@ -20208,12 +20208,110 @@ package android.speech.tts {
2020820208
2020920209package android.telephony {
2021020210
20211+ public abstract class CellIdentity implements android.os.Parcelable {
20212+ method public int describeContents();
20213+ method public abstract int hashCode();
20214+ method public void writeToParcel(android.os.Parcel, int);
20215+ field public static final android.os.Parcelable.Creator CREATOR;
20216+ }
20217+
20218+ public final class CellIdentityCdma extends android.telephony.CellIdentity implements android.os.Parcelable {
20219+ method public int getBasestationId();
20220+ method public int getLatitude();
20221+ method public int getLongitude();
20222+ method public int getNetworkId();
20223+ method public int getSystemId();
20224+ method public int hashCode();
20225+ field public static final android.os.Parcelable.Creator CREATOR;
20226+ }
20227+
20228+ public final class CellIdentityGsm extends android.telephony.CellIdentity implements android.os.Parcelable {
20229+ method public int getCid();
20230+ method public int getLac();
20231+ method public int getMcc();
20232+ method public int getMnc();
20233+ method public int getPsc();
20234+ method public int hashCode();
20235+ field public static final android.os.Parcelable.Creator CREATOR;
20236+ }
20237+
20238+ public final class CellIdentityLte extends android.telephony.CellIdentity implements android.os.Parcelable {
20239+ method public int getCi();
20240+ method public int getMcc();
20241+ method public int getMnc();
20242+ method public int getPci();
20243+ method public int getTac();
20244+ method public int hashCode();
20245+ field public static final android.os.Parcelable.Creator CREATOR;
20246+ }
20247+
20248+ public class CellInfo implements android.os.Parcelable {
20249+ method public int describeContents();
20250+ method public long getTimeStamp();
20251+ method public boolean isRegistered();
20252+ method public void writeToParcel(android.os.Parcel, int);
20253+ field public static final android.os.Parcelable.Creator CREATOR;
20254+ }
20255+
20256+ public final class CellInfoCdma extends android.telephony.CellInfo implements android.os.Parcelable {
20257+ method public android.telephony.CellIdentityCdma getCellIdentity();
20258+ method public android.telephony.CellSignalStrengthCdma getCellSignalStrength();
20259+ field public static final android.os.Parcelable.Creator CREATOR;
20260+ }
20261+
20262+ public final class CellInfoGsm extends android.telephony.CellInfo implements android.os.Parcelable {
20263+ method public android.telephony.CellIdentityGsm getCellIdentity();
20264+ method public android.telephony.CellSignalStrengthGsm getCellSignalStrength();
20265+ field public static final android.os.Parcelable.Creator CREATOR;
20266+ }
20267+
20268+ public final class CellInfoLte extends android.telephony.CellInfo implements android.os.Parcelable {
20269+ method public android.telephony.CellIdentityLte getCellIdentity();
20270+ method public android.telephony.CellSignalStrengthLte getCellSignalStrength();
20271+ field public static final android.os.Parcelable.Creator CREATOR;
20272+ }
20273+
2021120274 public abstract class CellLocation {
2021220275 ctor public CellLocation();
2021320276 method public static android.telephony.CellLocation getEmpty();
2021420277 method public static void requestLocationUpdate();
2021520278 }
2021620279
20280+ public abstract class CellSignalStrength implements android.os.Parcelable {
20281+ method public int describeContents();
20282+ method public abstract boolean equals(java.lang.Object);
20283+ method public abstract int hashCode();
20284+ method public abstract void writeToParcel(android.os.Parcel, int);
20285+ field public static final android.os.Parcelable.Creator CREATOR;
20286+ }
20287+
20288+ public class CellSignalStrengthCdma extends android.telephony.CellSignalStrength implements android.os.Parcelable {
20289+ method public boolean equals(java.lang.Object);
20290+ method public int getCdmaDbm();
20291+ method public int getCdmaEcio();
20292+ method public int getEvdoDbm();
20293+ method public int getEvdoEcio();
20294+ method public int getEvdoSnr();
20295+ method public int hashCode();
20296+ method public void writeToParcel(android.os.Parcel, int);
20297+ field public static final android.os.Parcelable.Creator CREATOR;
20298+ }
20299+
20300+ public class CellSignalStrengthGsm extends android.telephony.CellSignalStrength implements android.os.Parcelable {
20301+ method public boolean equals(java.lang.Object);
20302+ method public int hashCode();
20303+ method public void writeToParcel(android.os.Parcel, int);
20304+ field public static final android.os.Parcelable.Creator CREATOR;
20305+ }
20306+
20307+ public class CellSignalStrengthLte extends android.telephony.CellSignalStrength implements android.os.Parcelable {
20308+ method public boolean equals(java.lang.Object);
20309+ method public int getTimingAdvance();
20310+ method public int hashCode();
20311+ method public void writeToParcel(android.os.Parcel, int);
20312+ field public static final android.os.Parcelable.Creator CREATOR;
20313+ }
20314+
2021720315 public class NeighboringCellInfo implements android.os.Parcelable {
2021820316 ctor public deprecated NeighboringCellInfo();
2021920317 ctor public deprecated NeighboringCellInfo(int, int);
@@ -20286,6 +20384,7 @@ package android.telephony {
2028620384 ctor public PhoneStateListener();
2028720385 method public void onCallForwardingIndicatorChanged(boolean);
2028820386 method public void onCallStateChanged(int, java.lang.String);
20387+ method public void onCellInfoChanged(java.util.List<android.telephony.CellInfo>);
2028920388 method public void onCellLocationChanged(android.telephony.CellLocation);
2029020389 method public void onDataActivity(int);
2029120390 method public void onDataConnectionStateChanged(int);
@@ -20296,6 +20395,7 @@ package android.telephony {
2029620395 method public void onSignalStrengthsChanged(android.telephony.SignalStrength);
2029720396 field public static final int LISTEN_CALL_FORWARDING_INDICATOR = 8; // 0x8
2029820397 field public static final int LISTEN_CALL_STATE = 32; // 0x20
20398+ field public static final int LISTEN_CELL_INFO = 1024; // 0x400
2029920399 field public static final int LISTEN_CELL_LOCATION = 16; // 0x10
2030020400 field public static final int LISTEN_DATA_ACTIVITY = 128; // 0x80
2030120401 field public static final int LISTEN_DATA_CONNECTION_STATE = 64; // 0x40
@@ -20421,6 +20521,7 @@ package android.telephony {
2042120521 }
2042220522
2042320523 public class TelephonyManager {
20524+ method public java.util.List<android.telephony.CellInfo> getAllCellInfo();
2042420525 method public int getCallState();
2042520526 method public android.telephony.CellLocation getCellLocation();
2042620527 method public int getDataActivity();
0 commit comments