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