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