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.java248 @Nullable CellIdentity cellIdentity, @Nullable String rplmn) { in NetworkRegistrationInfo() argument
258 mCellIdentity = cellIdentity; in NetworkRegistrationInfo()
272 @Nullable CellIdentity cellIdentity, @Nullable String rplmn, in NetworkRegistrationInfo() argument
276 emergencyOnly, availableServices, cellIdentity, rplmn); in NetworkRegistrationInfo()
290 @Nullable CellIdentity cellIdentity, @Nullable String rplmn, in NetworkRegistrationInfo() argument
296 emergencyOnly, availableServices, cellIdentity, rplmn); in NetworkRegistrationInfo()
883 public @NonNull Builder setCellIdentity(@Nullable CellIdentity cellIdentity) { in setCellIdentity() argument
884 mCellIdentity = cellIdentity; in setCellIdentity()
DTelephonyManager.java2327 CellIdentity cellIdentity = telephony.getCellLocation(mContext.getOpPackageName(), in getCellLocation() local
2329 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.java242 CellIdentity cellIdentity = CellIdentity.create(voiceRegState.cellIdentity); in createRegistrationStateFromVoiceRegState() local
243 final String rplmn = getPlmnFromCellIdentity(cellIdentity); in createRegistrationStateFromVoiceRegState()
247 cellIdentity, rplmn, cssSupported, roamingIndicator, systemIsInPrl, in createRegistrationStateFromVoiceRegState()
265 CellIdentity cellIdentity = CellIdentity.create(voiceRegState.cellIdentity); in createRegistrationStateFromVoiceRegState() local
266 final String rplmn = getPlmnFromCellIdentity(cellIdentity); in createRegistrationStateFromVoiceRegState()
270 cellIdentity, rplmn, cssSupported, roamingIndicator, systemIsInPrl, in createRegistrationStateFromVoiceRegState()
287 CellIdentity cellIdentity; in createRegistrationStateFromDataRegState() local
310 cellIdentity = CellIdentity.create(dataRegState.cellIdentity); in createRegistrationStateFromDataRegState()
319 cellIdentity = CellIdentity.create(dataRegState.cellIdentity); in createRegistrationStateFromDataRegState()
329 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.java139 public void notifyCellLocation(Phone sender, CellIdentity cellIdentity) { in notifyCellLocation() argument
141 mTelephonyRegistryMgr.notifyCellLocation(subId, cellIdentity); in notifyCellLocation()
246 public void notifyRegistrationFailed(Phone sender, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
249 cellIdentity, chosenPlmn, domain, causeCode, additionalCauseCode); in notifyRegistrationFailed() local
DServiceStateTracker.java1108 private int getLteEarfcn(CellIdentity cellIdentity) { in getLteEarfcn() argument
1110 if (cellIdentity != null) { in getLteEarfcn()
1111 switch (cellIdentity.getType()) { in getLteEarfcn()
1113 lteEarfcn = ((CellIdentityLte) cellIdentity).getEarfcn(); in getLteEarfcn()
1298 CellIdentity cellIdentity = ((NetworkRegistrationInfo) ar.result) in handleMessage() local
1300 updateOperatorNameForCellIdentity(cellIdentity); in handleMessage()
1301 mCellIdentity = cellIdentity; in handleMessage()
2156 CellIdentity cellIdentity = networkRegState.getCellIdentity(); in handlePollStateResultMessage() local
2157 if (cellIdentity != null && cellIdentity.getType() == CellInfoType.CDMA) { in handlePollStateResultMessage()
2158 systemId = ((CellIdentityCdma) cellIdentity).getSystemId(); in handlePollStateResultMessage()
[all …]
DRadioIndication.java1008 android.hardware.radio.V1_5.CellIdentity cellIdentity, String chosenPlmn, in registrationFailed() argument
1013 if (cellIdentity == null in registrationFailed()
1027 CellIdentity ci = CellIdentity.create(cellIdentity); in registrationFailed()
1045 android.hardware.radio.V1_5.CellIdentity cellIdentity, in barringInfoChanged() argument
1049 if (cellIdentity == null || barringInfos == null) { in barringInfoChanged()
1058 CellIdentity ci = CellIdentity.create(cellIdentity); in barringInfoChanged()
1059 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.java856 public void notifyLocationChanged(CellIdentity cellIdentity) { in notifyLocationChanged() argument
857 mNotifier.notifyCellLocation(this, cellIdentity); in notifyLocationChanged()
2913 mNotifier.notifyRegistrationFailed(this, rfe.cellIdentity, rfe.chosenPlmn, in handleMessage()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java1097 public void onRegistrationFailed(@NonNull CellIdentity cellIdentity, @NonNull String chosenPlmn, in onRegistrationFailed() argument
1168 public void onCellLocationChanged(CellIdentity cellIdentity) { in onCellLocationChanged() argument
1172 cellIdentity == null ? CellLocation.getEmpty() : cellIdentity.asCellLocation(); in onCellLocationChanged()
1398 public void onRegistrationFailed(@NonNull CellIdentity cellIdentity, in onRegistrationFailed() argument
1406 cellIdentity, chosenPlmn, domain, causeCode, additionalCauseCode))); in onRegistrationFailed()
DTelephonyRegistryManager.java758 @NonNull CellIdentity cellIdentity, @NonNull String chosenPlmn, in notifyRegistrationFailed() argument
761 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()
2008 CellIdentityGsm cellIdentity = in testRatRatchet() local
2012 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.aidl103 void notifyRegistrationFailed(int slotIndex, int subId, in CellIdentity cellIdentity, in notifyRegistrationFailed() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2264 public void notifyRegistrationFailed(int phoneId, int subId, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
2273 final CellIdentity noLocationCi = cellIdentity.sanitizeLocationInfo(); in notifyRegistrationFailed()
2284 ? cellIdentity : noLocationCi, in notifyRegistrationFailed()