Home
last modified time | relevance | path

Searched refs:mCellIdentity (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCellInfoNr.java32 private CellIdentityNr mCellIdentity; field in CellInfoNr
38 mCellIdentity = new CellIdentityNr(); in CellInfoNr()
44 mCellIdentity = CellIdentityNr.CREATOR.createFromParcel(in); in CellInfoNr()
50 mCellIdentity = sanitizeLocationInfo ? other.mCellIdentity.sanitizeLocationInfo() in CellInfoNr()
51 : other.mCellIdentity; in CellInfoNr()
59 mCellIdentity = cellIdentityNr; in CellInfoNr()
70 return mCellIdentity; in getCellIdentity()
75 mCellIdentity = cid; in setCellIdentity()
96 return Objects.hash(super.hashCode(), mCellIdentity, mCellSignalStrength); in hashCode()
106 return super.equals(o) && mCellIdentity.equals(o.mCellIdentity) in equals()
[all …]
DBarringInfo.java265 private CellIdentity mCellIdentity;
285 mCellIdentity = barringCellId; in BarringInfo()
308 if (mCellIdentity == null) return this; in createLocationInfoSanitizedCopy()
310 return new BarringInfo(mCellIdentity.sanitizeLocationInfo(), mBarringServiceInfos); in createLocationInfoSanitizedCopy()
315mCellIdentity = p.readParcelable(CellIdentity.class.getClassLoader(), android.telephony.CellIdenti… in BarringInfo()
321 dest.writeParcelable(mCellIdentity, flags); in writeToParcel()
345 int hash = mCellIdentity != null ? mCellIdentity.hashCode() : 7; in hashCode()
375 return "BarringInfo {mCellIdentity=" + mCellIdentity in toString()
DNetworkRegistrationInfo.java261 private CellIdentity mCellIdentity; field in NetworkRegistrationInfo
321 mCellIdentity = cellIdentity; in NetworkRegistrationInfo()
382mCellIdentity = source.readParcelable(CellIdentity.class.getClassLoader(), android.telephony.CellI… in NetworkRegistrationInfo()
411 if (nri.mCellIdentity != null) { in NetworkRegistrationInfo()
413 nri.mCellIdentity.writeToParcel(p, 0); in NetworkRegistrationInfo()
417 mCellIdentity = CellIdentity.CREATOR.createFromParcel(p); in NetworkRegistrationInfo()
676 return mCellIdentity; in getCellIdentity()
839 .append(" cellIdentity=").append(mCellIdentity) in toString()
855 mAvailableServices, mCellIdentity, mVoiceSpecificInfo, mDataSpecificInfo, mNrState, in hashCode()
878 && Objects.equals(mCellIdentity, other.mCellIdentity) in equals()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DLinkBandwidthEstimatorTest.java81 private CellIdentityLte mCellIdentity; field in LinkBandwidthEstimatorTest
106 mCellIdentity = new CellIdentityLte(310, 260, 1234, 123456, 366); in setUp()
115 when(mPhone.getCurrentCellIdentity()).thenReturn(mCellIdentity); in setUp()
153 mCellIdentity = null; in tearDown()
536 mCellIdentity = new CellIdentityLte(310, 260, 1235, 123457, 367); in testUseCurrentTacStatsWithEnoughData()
537 when(mPhone.getCurrentCellIdentity()).thenReturn(mCellIdentity); in testUseCurrentTacStatsWithEnoughData()
570 mCellIdentity = new CellIdentityLte(310, 260, 1234, 123456, 367); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
571 when(mPhone.getCurrentCellIdentity()).thenReturn(mCellIdentity); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac()
615 mCellIdentity = new CellIdentityLte(320, 265, 1234, 123456, 366); in testSwitchCarrierFallbackToColdStartValue()
616 when(mPhone.getCurrentCellIdentity()).thenReturn(mCellIdentity); in testSwitchCarrierFallbackToColdStartValue()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTrackerTest.java622 doReturn("05").when(mCellIdentity).getMncString(); in testUsingEmergencyNumberDatabaseWithRouting()
657 doReturn("47").when(mCellIdentity).getMncString(); in testUsingEmergencyNumberDatabaseWithRouting()
678 doReturn("04").when(mCellIdentity).getMncString(); in testUsingEmergencyNumberDatabaseWithRouting()
752 doReturn(mCellIdentity).when(mPhone).getCurrentCellIdentity(); in testUsingEmergencyNumberDatabaseWithRoutingInOOS()
753 doReturn("04").when(mCellIdentity).getMncString(); in testUsingEmergencyNumberDatabaseWithRoutingInOOS()
764 doReturn("05").when(mCellIdentity).getMncString(); in testUsingEmergencyNumberDatabaseWithRoutingInOOS()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java350 private CellIdentity[] mCellIdentity; field in TelephonyRegistry
592 subId, mCellIdentity[phoneId], true /* hasUserSwitched */);
706 mCellIdentity = copyOf(mCellIdentity, mNumPhones); in onMultiSimConfigChanged()
757 mCellIdentity[i] = null; in onMultiSimConfigChanged()
828 mCellIdentity = new CellIdentity[numPhones]; in TelephonyRegistry()
875 mCellIdentity[i] = null; in TelephonyRegistry()
1224 if (DBG_LOC) log("listen: mCellIdentity = " + mCellIdentity[r.phoneId]); in listen()
1228 r.callback.onCellLocationChanged(mCellIdentity[r.phoneId]); in listen()
2327 && (hasUserSwitched || !Objects.equals(cellIdentity, mCellIdentity[phoneId]))) { in notifyCellLocationForSubscriber()
2328 mCellIdentity[phoneId] = cellIdentity; in notifyCellLocationForSubscriber()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DServiceStateTracker.java465 private CellIdentity mCellIdentity; field in ServiceStateTracker
808 mCellIdentity = null; in updatePhoneType()
1361 mCellIdentity = cellIdentity; in handleMessage()
1471 mSS.getOperatorNumeric(), getCidFromCellIdentity(mCellIdentity)); in handleMessage()
3534 boolean hasLocationChanged = mCellIdentity == null in pollStateDone()
3535 ? primaryCellIdentity != null : !mCellIdentity.isSameCell(primaryCellIdentity); in pollStateDone()
3656 mCellIdentity = primaryCellIdentity; in pollStateDone()
3658 mLastKnownCellIdentity = mCellIdentity; in pollStateDone()
3667 int areaCode = getAreaCodeFromCellIdentity(mCellIdentity); in pollStateDone()
4385 if (mCellIdentity != null) return mCellIdentity; in getCellIdentity()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java283 protected CellIdentity mCellIdentity; field in TelephonyTest
570 mCellIdentity = Mockito.mock(CellIdentity.class); in setUp()
740 doReturn(mCellIdentity).when(mPhone).getCurrentCellIdentity(); in setUp()
741 doReturn(mCellLocation).when(mCellIdentity).asCellLocation(); in setUp()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt54006 Landroid/telephony/NetworkRegistrationState;->mCellIdentity:Landroid/telephony/CellIdentity;