Home
last modified time | relevance | path

Searched refs:cellIdentity (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCellIdentity.java366 public static CellIdentity create(android.hardware.radio.V1_0.CellIdentity cellIdentity) { in create() argument
367 if (cellIdentity == null) return null; in create()
368 switch(cellIdentity.cellInfoType) { in create()
370 if (cellIdentity.cellIdentityGsm.size() == 1) { in create()
371 return new CellIdentityGsm(cellIdentity.cellIdentityGsm.get(0)); in create()
376 if (cellIdentity.cellIdentityWcdma.size() == 1) { in create()
377 return new CellIdentityWcdma(cellIdentity.cellIdentityWcdma.get(0)); in create()
382 if (cellIdentity.cellIdentityTdscdma.size() == 1) { in create()
383 return new CellIdentityTdscdma(cellIdentity.cellIdentityTdscdma.get(0)); in create()
388 if (cellIdentity.cellIdentityLte.size() == 1) { in create()
[all …]
DNetworkRegistrationInfo.java251 @Nullable CellIdentity cellIdentity, @Nullable String rplmn) { in NetworkRegistrationInfo() argument
261 mCellIdentity = cellIdentity; in NetworkRegistrationInfo()
275 @Nullable CellIdentity cellIdentity, @Nullable String rplmn, in NetworkRegistrationInfo() argument
279 emergencyOnly, availableServices, cellIdentity, rplmn); in NetworkRegistrationInfo()
293 @Nullable CellIdentity cellIdentity, @Nullable String rplmn, in NetworkRegistrationInfo() argument
298 emergencyOnly, availableServices, cellIdentity, rplmn); in NetworkRegistrationInfo()
910 public @NonNull Builder setCellIdentity(@Nullable CellIdentity cellIdentity) { in setCellIdentity() argument
911 mCellIdentity = cellIdentity; in setCellIdentity()
DTelephonyManager.java2171 CellIdentity cellIdentity = telephony.getCellLocation(mContext.getOpPackageName(), in getCellLocation() local
2173 CellLocation cl = cellIdentity.asCellLocation(); in getCellLocation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRegistrationFailedEvent.java28 public final CellIdentity cellIdentity; field in RegistrationFailedEvent
43 public RegistrationFailedEvent(@NonNull CellIdentity cellIdentity, in RegistrationFailedEvent() argument
45 this.cellIdentity = cellIdentity; in RegistrationFailedEvent()
56 .append(cellIdentity) in toString()
DCellularNetworkService.java239 CellIdentity cellIdentity = CellIdentity.create(voiceRegState.cellIdentity); in createRegistrationStateFromVoiceRegState() local
240 final String rplmn = getPlmnFromCellIdentity(cellIdentity); in createRegistrationStateFromVoiceRegState()
244 cellIdentity, rplmn, cssSupported, roamingIndicator, systemIsInPrl, in createRegistrationStateFromVoiceRegState()
259 CellIdentity cellIdentity = CellIdentity.create(voiceRegState.cellIdentity); in createRegistrationStateFromVoiceRegState() local
260 final String rplmn = getPlmnFromCellIdentity(cellIdentity); in createRegistrationStateFromVoiceRegState()
264 cellIdentity, rplmn, cssSupported, roamingIndicator, systemIsInPrl, in createRegistrationStateFromVoiceRegState()
280 CellIdentity cellIdentity; in createRegistrationStateFromDataRegState() local
303 cellIdentity = CellIdentity.create(dataRegState.cellIdentity); in createRegistrationStateFromDataRegState()
312 cellIdentity = CellIdentity.create(dataRegState.cellIdentity); in createRegistrationStateFromDataRegState()
322 cellIdentity = CellIdentity.create(dataRegState.base.cellIdentity); in createRegistrationStateFromDataRegState()
[all …]
DCellularNetworkValidator.java172 CellIdentity cellIdentity = regInfo.getCellIdentity();
174 if (cellIdentity.getType() != CellInfo.TYPE_LTE
175 || cellIdentity.getMccString() == null || cellIdentity.getMncString() == null
176 || ((CellIdentityLte) cellIdentity).getTac() == CellInfo.UNAVAILABLE) {
180 return cellIdentity.getMccString() + cellIdentity.getMncString() + "_"
181 + ((CellIdentityLte) cellIdentity).getTac() + "_" + subId;
DPhoneNotifier.java50 void notifyCellLocation(Phone sender, CellIdentity cellIdentity); in notifyCellLocation() argument
111 void notifyRegistrationFailed(Phone sender, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
DDefaultPhoneNotifier.java146 public void notifyCellLocation(Phone sender, CellIdentity cellIdentity) { in notifyCellLocation() argument
148 mTelephonyRegistryMgr.notifyCellLocation(subId, cellIdentity); in notifyCellLocation()
264 public void notifyRegistrationFailed(Phone sender, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
267 cellIdentity, chosenPlmn, domain, causeCode, additionalCauseCode); in notifyRegistrationFailed() local
DServiceStateTracker.java1121 private int getLteEarfcn(CellIdentity cellIdentity) { in getLteEarfcn() argument
1123 if (cellIdentity != null) { in getLteEarfcn()
1124 switch (cellIdentity.getType()) { in getLteEarfcn()
1126 lteEarfcn = ((CellIdentityLte) cellIdentity).getEarfcn(); in getLteEarfcn()
1309 CellIdentity cellIdentity = ((NetworkRegistrationInfo) ar.result) in handleMessage() local
1311 updateOperatorNameForCellIdentity(cellIdentity); in handleMessage()
1312 mCellIdentity = cellIdentity; in handleMessage()
2167 CellIdentity cellIdentity = networkRegState.getCellIdentity(); in handlePollStateResultMessage() local
2168 if (cellIdentity != null && cellIdentity.getType() == CellInfoType.CDMA) { in handlePollStateResultMessage()
2169 systemId = ((CellIdentityCdma) cellIdentity).getSystemId(); in handlePollStateResultMessage()
[all …]
DRadioIndication.java1009 android.hardware.radio.V1_5.CellIdentity cellIdentity, String chosenPlmn, in registrationFailed() argument
1014 if (cellIdentity == null in registrationFailed()
1028 CellIdentity ci = CellIdentity.create(cellIdentity); in registrationFailed()
1046 android.hardware.radio.V1_5.CellIdentity cellIdentity, in barringInfoChanged() argument
1050 if (cellIdentity == null || barringInfos == null) { in barringInfoChanged()
1059 CellIdentity ci = CellIdentity.create(cellIdentity); in barringInfoChanged()
1060 BarringInfo cbi = BarringInfo.create(cellIdentity, barringInfos); in barringInfoChanged()
DRadioResponse.java2657 android.hardware.radio.V1_5.CellIdentity cellIdentity, in getBarringInfoResponse() argument
2662 BarringInfo bi = BarringInfo.create(cellIdentity, barringInfos); in getBarringInfoResponse()
DGsmCdmaPhone.java844 public void notifyLocationChanged(CellIdentity cellIdentity) { in notifyLocationChanged() argument
845 mNotifier.notifyCellLocation(this, cellIdentity); in notifyLocationChanged()
2939 mNotifier.notifyRegistrationFailed(this, rfe.cellIdentity, rfe.chosenPlmn, in handleMessage()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java1080 public void onRegistrationFailed(@NonNull CellIdentity cellIdentity, @NonNull String chosenPlmn, in onRegistrationFailed() argument
1151 public void onCellLocationChanged(CellIdentity cellIdentity) { in onCellLocationChanged() argument
1155 cellIdentity == null ? CellLocation.getEmpty() : cellIdentity.asCellLocation(); in onCellLocationChanged()
1381 public void onRegistrationFailed(@NonNull CellIdentity cellIdentity, in onRegistrationFailed() argument
1389 cellIdentity, chosenPlmn, domain, causeCode, additionalCauseCode))); in onRegistrationFailed()
DTelephonyRegistryManager.java666 @NonNull CellIdentity cellIdentity, @NonNull String chosenPlmn, in notifyRegistrationFailed() argument
669 sRegistry.notifyRegistrationFailed(slotIndex, subId, cellIdentity, in notifyRegistrationFailed()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTrackerTest.java936 CellIdentityCdma cellIdentity = null; in testHasLocationChanged() local
939 boolean hasLocationChanged = (cellIdentity == null ? newCellIdentity != null in testHasLocationChanged()
940 : !cellIdentity.isSameCell(newCellIdentity)); in testHasLocationChanged()
943 cellIdentity = new CellIdentityCdma(1, 2, 3, 4, 5, "test", "tst"); in testHasLocationChanged()
944 hasLocationChanged = (cellIdentity == null ? newCellIdentity != null in testHasLocationChanged()
945 : !cellIdentity.isSameCell(newCellIdentity)); in testHasLocationChanged()
949 hasLocationChanged = (cellIdentity == null ? newCellIdentity != null in testHasLocationChanged()
950 : !cellIdentity.isSameCell(newCellIdentity)); in testHasLocationChanged()
1992 CellIdentityGsm cellIdentity = in testRatRatchet() local
1996 changeRegState(1, cellIdentity, 16, 1); in testRatRatchet()
[all …]
DRILTest.java1862 CellIdentityLte cellIdentity = new CellIdentityLte(halCellIdentity); in testCellIdentityLte_1_5_CsgInfo() local
1865 cellIdentity.getClosedSubscriberGroupInfo().getCsgIndicator()); in testCellIdentityLte_1_5_CsgInfo()
1867 cellIdentity.getClosedSubscriberGroupInfo().getHomeNodebName()); in testCellIdentityLte_1_5_CsgInfo()
1869 cellIdentity.getClosedSubscriberGroupInfo().getCsgIdentity()); in testCellIdentityLte_1_5_CsgInfo()
1878 CellIdentityLte cellIdentity = new CellIdentityLte(halCellIdentity); in testCellIdentityLte_1_5_MultiPlmn() local
1883 assertEquals(cellIdentity.getAdditionalPlmns(), additionalPlmns); in testCellIdentityLte_1_5_MultiPlmn()
1908 CellIdentityWcdma cellIdentity = new CellIdentityWcdma(halCellIdentity); in testCellIdentityWcdma_1_5_CsgInfo() local
1911 cellIdentity.getClosedSubscriberGroupInfo().getCsgIndicator()); in testCellIdentityWcdma_1_5_CsgInfo()
1913 cellIdentity.getClosedSubscriberGroupInfo().getHomeNodebName()); in testCellIdentityWcdma_1_5_CsgInfo()
1915 cellIdentity.getClosedSubscriberGroupInfo().getCsgIdentity()); in testCellIdentityWcdma_1_5_CsgInfo()
[all …]
/frameworks/base/core/java/com/android/internal/telephony/
DIPhoneStateListener.aidl68 void onRegistrationFailed(in CellIdentity cellIdentity, in onRegistrationFailed() argument
DITelephonyRegistry.aidl104 void notifyRegistrationFailed(int slotIndex, int subId, in CellIdentity cellIdentity, in notifyRegistrationFailed() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2258 public void notifyRegistrationFailed(int phoneId, int subId, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
2267 final CellIdentity noLocationCi = cellIdentity.sanitizeLocationInfo(); in notifyRegistrationFailed()
2278 ? cellIdentity : noLocationCi, in notifyRegistrationFailed()