Constructors Summary |
---|
public CellIdentityLte()
mMcc = Integer.MAX_VALUE;
mMnc = Integer.MAX_VALUE;
mCi = Integer.MAX_VALUE;
mPci = Integer.MAX_VALUE;
mTac = Integer.MAX_VALUE;
|
private CellIdentityLte(android.os.Parcel in)Construct from Parcel, type has already been processed
mMcc = in.readInt();
mMnc = in.readInt();
mCi = in.readInt();
mPci = in.readInt();
mTac = in.readInt();
if (DBG) log("CellIdentityLte(Parcel): " + toString());
|
public CellIdentityLte(int mcc, int mnc, int ci, int pci, int tac)
mMcc = mcc;
mMnc = mnc;
mCi = ci;
mPci = pci;
mTac = tac;
|
private CellIdentityLte(CellIdentityLte cid)
mMcc = cid.mMcc;
mMnc = cid.mMnc;
mCi = cid.mCi;
mPci = cid.mPci;
mTac = cid.mTac;
|
Methods Summary |
---|
android.telephony.CellIdentityLte | copy()
return new CellIdentityLte(this);
|
public int | describeContents()Implement the Parcelable interface
return 0;
|
public boolean | equals(java.lang.Object other)
if (super.equals(other)) {
try {
CellIdentityLte o = (CellIdentityLte)other;
return mMcc == o.mMcc &&
mMnc == o.mMnc &&
mCi == o.mCi &&
mPci == o.mPci &&
mTac == o.mTac;
} catch (ClassCastException e) {
return false;
}
} else {
return false;
}
|
public int | getCi()
return mCi;
|
public int | getMcc()
return mMcc;
|
public int | getMnc()
return mMnc;
|
public int | getPci()
return mPci;
|
public int | getTac()
return mTac;
|
public int | hashCode()
int primeNum = 31;
return (mMcc * primeNum) + (mMnc * primeNum) + (mCi * primeNum) + (mPci * primeNum) +
(mTac * primeNum);
|
private static void | log(java.lang.String s)log
Rlog.w(LOG_TAG, s);
|
public java.lang.String | toString()
StringBuilder sb = new StringBuilder("CellIdentityLte:{");
sb.append(" mMcc="); sb.append(mMcc);
sb.append(" mMnc="); sb.append(mMnc);
sb.append(" mCi="); sb.append(mCi);
sb.append(" mPci="); sb.append(mPci);
sb.append(" mTac="); sb.append(mTac);
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());
dest.writeInt(mMcc);
dest.writeInt(mMnc);
dest.writeInt(mCi);
dest.writeInt(mPci);
dest.writeInt(mTac);
|