Methods Summary |
---|
protected static android.telephony.CellInfoLte | createFromParcelBody(android.os.Parcel in)
return new CellInfoLte(in);
|
public int | describeContents()Implement the Parcelable interface
return 0;
|
public boolean | equals(java.lang.Object other)
if (!super.equals(other)) {
return false;
}
try {
CellInfoLte o = (CellInfoLte) other;
return mCellIdentityLte.equals(o.mCellIdentityLte)
&& mCellSignalStrengthLte.equals(o.mCellSignalStrengthLte);
} catch (ClassCastException e) {
return false;
}
|
public CellIdentityLte | getCellIdentity()
if (DBG) log("getCellIdentity: " + mCellIdentityLte);
return mCellIdentityLte;
|
public CellSignalStrengthLte | getCellSignalStrength()
if (DBG) log("getCellSignalStrength: " + mCellSignalStrengthLte);
return mCellSignalStrengthLte;
|
public int | hashCode()
return super.hashCode() + mCellIdentityLte.hashCode() + mCellSignalStrengthLte.hashCode();
|
private static void | log(java.lang.String s)log
Rlog.w(LOG_TAG, s);
|
public void | setCellIdentity(CellIdentityLte cid)
if (DBG) log("setCellIdentity: " + cid);
mCellIdentityLte = cid;
|
public void | setCellSignalStrength(CellSignalStrengthLte css)
if (DBG) log("setCellSignalStrength: " + css);
mCellSignalStrengthLte = css;
|
public java.lang.String | toString()
StringBuffer sb = new StringBuffer();
sb.append("CellInfoLte:{");
sb.append(super.toString());
sb.append(" ").append(mCellIdentityLte);
sb.append(" ").append(mCellSignalStrengthLte);
sb.append("}");
return sb.toString();
|
public void | writeToParcel(android.os.Parcel dest, int flags)Implement the Parcelable interface
if (DBG) log("writeToParcel(Parcel, int): " + toString());
super.writeToParcel(dest, flags, TYPE_LTE);
mCellIdentityLte.writeToParcel(dest, flags);
mCellSignalStrengthLte.writeToParcel(dest, flags);
|