Home
last modified time | relevance | path

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

12

/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.java302 CellIdentity cellIdentity = in createRegistrationStateFromVoiceRegState() local
303 RILUtils.convertHalCellIdentity(voiceRegState.cellIdentity); in createRegistrationStateFromVoiceRegState()
304 final String rplmn = getPlmnFromCellIdentity(cellIdentity); in createRegistrationStateFromVoiceRegState()
308 cellIdentity, rplmn, cssSupported, roamingIndicator, systemIsInPrl, in createRegistrationStateFromVoiceRegState()
351 CellIdentity cellIdentity = in createRegistrationStateFromDataRegState() local
352 RILUtils.convertHalCellIdentity(dataRegState.base.cellIdentity); in createRegistrationStateFromDataRegState()
357 String rplmn = getPlmnFromCellIdentity(cellIdentity); in createRegistrationStateFromDataRegState()
361 reasonForDenial, emergencyOnly, availableServices, cellIdentity, rplmn, in createRegistrationStateFromDataRegState()
379 final CellIdentity cellIdentity = in getNetworkRegistrationInfo() local
380 RILUtils.convertHalCellIdentity(regResult.cellIdentity); in getNetworkRegistrationInfo()
[all …]
DNetworkIndication.java81 android.hardware.radio.network.CellIdentity cellIdentity, in barringInfoChanged() argument
85 if (cellIdentity == null || barringInfos == null) { in barringInfoChanged()
92 BarringInfo cbi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in barringInfoChanged()
321 android.hardware.radio.network.CellIdentity cellIdentity, String chosenPlmn, in registrationFailed() argument
324 CellIdentity ci = RILUtils.convertHalCellIdentity(cellIdentity); in registrationFailed()
DPhoneNotifier.java69 void notifyCellLocation(Phone sender, CellIdentity cellIdentity); in notifyCellLocation() argument
128 void notifyRegistrationFailed(Phone sender, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
DDefaultPhoneNotifier.java154 public void notifyCellLocation(Phone sender, CellIdentity cellIdentity) { in notifyCellLocation() argument
156 mTelephonyRegistryMgr.notifyCellLocation(subId, cellIdentity); in notifyCellLocation()
265 public void notifyRegistrationFailed(Phone sender, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
268 cellIdentity, chosenPlmn, domain, causeCode, additionalCauseCode); in notifyRegistrationFailed() local
DServiceStateTracker.java1358 CellIdentity cellIdentity = ((NetworkRegistrationInfo) ar.result) in handleMessage() local
1360 updateOperatorNameForCellIdentity(cellIdentity); in handleMessage()
1361 mCellIdentity = cellIdentity; in handleMessage()
2259 CellIdentity cellIdentity = networkRegState.getCellIdentity(); in handlePollStateResultMessage() local
2260 if (cellIdentity != null && cellIdentity.getType() == CellInfoType.CDMA) { in handlePollStateResultMessage()
2261 systemId = ((CellIdentityCdma) cellIdentity).getSystemId(); in handlePollStateResultMessage()
2262 networkId = ((CellIdentityCdma) cellIdentity).getNetworkId(); in handlePollStateResultMessage()
2512 private void setPhyCellInfoFromCellIdentity(ServiceState ss, CellIdentity cellIdentity) { in setPhyCellInfoFromCellIdentity() argument
2513 if (cellIdentity == null) { in setPhyCellInfoFromCellIdentity()
2520 ss.setChannelNumber(cellIdentity.getChannelNumber()); in setPhyCellInfoFromCellIdentity()
[all …]
DSignalStrengthController.java1067 @Nullable CellIdentity cellIdentity) { in updateServiceStateArfcnRsrpBoost() argument
1068 if (cellIdentity == null) return; in updateServiceStateArfcnRsrpBoost()
1074 switch (cellIdentity.getType()) { in updateServiceStateArfcnRsrpBoost()
1076 arfcn = ((CellIdentityLte) cellIdentity).getEarfcn(); in updateServiceStateArfcnRsrpBoost()
1084 arfcn = ((CellIdentityNr) cellIdentity).getNrarfcn(); in updateServiceStateArfcnRsrpBoost()
DNetworkResponse.java100 android.hardware.radio.network.CellIdentity cellIdentity, in getBarringInfoResponse() argument
105 BarringInfo bi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in getBarringInfoResponse()
DRadioIndication.java1094 android.hardware.radio.V1_5.CellIdentity cellIdentity, String chosenPlmn, in registrationFailed() argument
1098 CellIdentity ci = RILUtils.convertHalCellIdentity(cellIdentity); in registrationFailed()
1126 android.hardware.radio.V1_5.CellIdentity cellIdentity, in barringInfoChanged() argument
1130 if (cellIdentity == null || barringInfos == null) { in barringInfoChanged()
1139 BarringInfo cbi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in barringInfoChanged()
DRadioResponse.java2702 android.hardware.radio.V1_5.CellIdentity cellIdentity, in getBarringInfoResponse() argument
2707 BarringInfo bi = new BarringInfo(RILUtils.convertHalCellIdentity(cellIdentity), in getBarringInfoResponse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DCellularNetworkValidator.java165 CellIdentity cellIdentity = regInfo.getCellIdentity();
167 if (cellIdentity.getType() != CellInfo.TYPE_LTE
168 || cellIdentity.getMccString() == null || cellIdentity.getMncString() == null
169 || ((CellIdentityLte) cellIdentity).getTac() == CellInfo.UNAVAILABLE) {
173 return cellIdentity.getMccString() + cellIdentity.getMncString() + "_"
174 + ((CellIdentityLte) cellIdentity).getTac() + "_" + subId;
DLinkBandwidthEstimator.java1048 final CellIdentity cellIdentity = mPhone.getCurrentCellIdentity(); in updateDataRatCellIdentityBandwidth() local
1056 mTac = getTac(cellIdentity); in updateDataRatCellIdentityBandwidth()
1061 } else if (!TextUtils.isEmpty(cellIdentity.getPlmn())) { in updateDataRatCellIdentityBandwidth()
1062 plmn = cellIdentity.getPlmn(); in updateDataRatCellIdentityBandwidth()
1091 private int getTac(@NonNull CellIdentity cellIdentity) { in getTac() argument
1092 if (cellIdentity instanceof CellIdentityLte) { in getTac()
1093 return ((CellIdentityLte) cellIdentity).getTac(); in getTac()
1095 if (cellIdentity instanceof CellIdentityNr) { in getTac()
1096 return ((CellIdentityNr) cellIdentity).getTac(); in getTac()
1098 if (cellIdentity instanceof CellIdentityWcdma) { in getTac()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkServiceTest.java228 regResult.cellIdentity = new android.hardware.radio.V1_5.CellIdentity(); in testGetNetworkRegistrationInfoV1_5()
229 regResult.cellIdentity.lte(new android.hardware.radio.V1_5.CellIdentityLte()); in testGetNetworkRegistrationInfoV1_5()
258 RILUtils.convertHalCellIdentity(regResult.cellIdentity), "", false, 0, 0, 0); in testGetNetworkRegistrationInfoV1_5()
278 RILUtils.convertHalCellIdentity(regResult.cellIdentity), in testGetNetworkRegistrationInfoV1_5()
326 regResult.cellIdentity = new android.hardware.radio.V1_5.CellIdentity(); in testGetNetworkRegistrationInfoV1_6WithLte()
327 regResult.cellIdentity.lte(new android.hardware.radio.V1_5.CellIdentityLte()); in testGetNetworkRegistrationInfoV1_6WithLte()
356 RILUtils.convertHalCellIdentity(regResult.cellIdentity), "", false, 0, 0, 0); in testGetNetworkRegistrationInfoV1_6WithLte()
376 RILUtils.convertHalCellIdentity(regResult.cellIdentity), in testGetNetworkRegistrationInfoV1_6WithLte()
421 regResult.cellIdentity = new android.hardware.radio.V1_5.CellIdentity(); in testGetNetworkRegistrationInfoV1_6WithNr()
422 regResult.cellIdentity.nr(new android.hardware.radio.V1_5.CellIdentityNr()); in testGetNetworkRegistrationInfoV1_6WithNr()
[all …]
DRILTest.java1569 android.hardware.radio.V1_2.CellIdentityLte cellIdentity = in getCellIdentityLte_1_2() local
1571 cellIdentity.base = cellIdentity0; in getCellIdentityLte_1_2()
1572 cellIdentity.operatorNames = getCellIdentityOperatorNames(); in getCellIdentityLte_1_2()
1573 cellIdentity.bandwidth = BANDWIDTH; in getCellIdentityLte_1_2()
1575 return cellIdentity; in getCellIdentityLte_1_2()
1651 android.hardware.radio.V1_5.CellIdentityLte cellIdentity = in getCellIdentityLte_1_5() local
1653 cellIdentity.base = getCellIdentityLte_1_2(); in getCellIdentityLte_1_5()
1654 cellIdentity.additionalPlmns = new ArrayList<>(Arrays.asList(ADDITIONAL_PLMNS)); in getCellIdentityLte_1_5()
1655 cellIdentity.optionalCsgInfo = getOptionalCsgInfo(); in getCellIdentityLte_1_5()
1656 cellIdentity.bands = BANDS; in getCellIdentityLte_1_5()
[all …]
DServiceStateTrackerTest.java988 CellIdentityCdma cellIdentity = null; in testHasLocationChanged() local
991 boolean hasLocationChanged = (cellIdentity == null ? newCellIdentity != null in testHasLocationChanged()
992 : !cellIdentity.isSameCell(newCellIdentity)); in testHasLocationChanged()
995 cellIdentity = new CellIdentityCdma(1, 2, 3, 4, 5, "test", "tst"); in testHasLocationChanged()
996 hasLocationChanged = (cellIdentity == null ? newCellIdentity != null in testHasLocationChanged()
997 : !cellIdentity.isSameCell(newCellIdentity)); in testHasLocationChanged()
1001 hasLocationChanged = (cellIdentity == null ? newCellIdentity != null in testHasLocationChanged()
1002 : !cellIdentity.isSameCell(newCellIdentity)); in testHasLocationChanged()
2208 CellIdentityGsm cellIdentity = in testCSEmergencyRegistrationState() local
2214 0, 16, 0, false, null, cellIdentity, getPlmnFromCellIdentity(cellIdentity), in testCSEmergencyRegistrationState()
[all …]
DTelephonyRegistryTest.java272 public void onRegistrationFailed(@android.annotation.NonNull CellIdentity cellIdentity, in onRegistrationFailed() argument
277 mCellIdentityForRegiFail = cellIdentity; in onRegistrationFailed()
1073 CellIdentity cellIdentity = in checkRegistrationFailedEventWithLocationPermission() local
1083 0, subId, cellIdentity, "88888", 1, 333, 22); in checkRegistrationFailedEventWithLocationPermission()
1087 assertEquals(cellIdentity, mCellIdentityForRegiFail); in checkRegistrationFailedEventWithLocationPermission()
1089 assertEquals(cellIdentity.sanitizeLocationInfo(), mCellIdentityForRegiFail); in checkRegistrationFailedEventWithLocationPermission()
1101 0, subId, cellIdentity, "88888", 1, 555, 22); in checkRegistrationFailedEventWithLocationPermission()
1104 assertEquals(cellIdentity.sanitizeLocationInfo(), mCellIdentityForRegiFail); in checkRegistrationFailedEventWithLocationPermission()
1354 CellIdentity cellIdentity = new CellIdentityGsm(-1, -1, -1, -1, null, null, null, null, in testNotifyCellLocationForSubscriberByUserSwitched() local
1356 mTelephonyRegistry.notifyCellLocationForSubscriber(subId, cellIdentity); in testNotifyCellLocationForSubscriberByUserSwitched()
[all …]
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java307 @Nullable CellIdentity cellIdentity, @Nullable String rplmn, in NetworkRegistrationInfo() argument
321 mCellIdentity = cellIdentity; in NetworkRegistrationInfo()
340 @Nullable CellIdentity cellIdentity, @Nullable String rplmn, in NetworkRegistrationInfo() argument
344 emergencyOnly, availableServices, cellIdentity, rplmn, in NetworkRegistrationInfo()
357 @Nullable CellIdentity cellIdentity, @Nullable String rplmn, in NetworkRegistrationInfo() argument
362 emergencyOnly, availableServices, cellIdentity, rplmn, null, in NetworkRegistrationInfo()
1153 public @NonNull Builder setCellIdentity(@Nullable CellIdentity cellIdentity) { in setCellIdentity() argument
1154 mCellIdentity = cellIdentity; in setCellIdentity()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java1285 public void onRegistrationFailed(@NonNull CellIdentity cellIdentity, @NonNull String chosenPlmn, in onRegistrationFailed() argument
1361 public void onCellLocationChanged(CellIdentity cellIdentity) { in onCellLocationChanged() argument
1365 cellIdentity == null ? CellLocation.getEmpty() : cellIdentity.asCellLocation(); in onCellLocationChanged()
1633 public void onRegistrationFailed(@NonNull CellIdentity cellIdentity, in onRegistrationFailed() argument
1640 cellIdentity, chosenPlmn, domain, causeCode, additionalCauseCode))); in onRegistrationFailed()
DTelephonyCallback.java1360 void onRegistrationFailed(@NonNull CellIdentity cellIdentity, @NonNull String chosenPlmn, in onRegistrationFailed() argument
1766 public void onCellLocationChanged(CellIdentity cellIdentity) { in onCellLocationChanged() argument
1770 cellIdentity == null ? CellLocation.getEmpty() : cellIdentity.asCellLocation(); in onCellLocationChanged()
2011 public void onRegistrationFailed(@NonNull CellIdentity cellIdentity, in onRegistrationFailed() argument
2019 cellIdentity, chosenPlmn, domain, causeCode, additionalCauseCode))); in onRegistrationFailed()
DTelephonyRegistryManager.java957 @NonNull CellIdentity cellIdentity, @NonNull String chosenPlmn, in notifyRegistrationFailed() argument
960 sRegistry.notifyRegistrationFailed(slotIndex, subId, cellIdentity, in notifyRegistrationFailed()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DNtnCapabilityResolverTest.java155 CellIdentity cellIdentity = new CellIdentityGsm(0, 0, 0, in createNetworkRegistrationInfo() local
159 cellIdentity, registeredPlmn, false, 0, 0, 0); in createNetworkRegistrationInfo()
/frameworks/base/core/java/com/android/internal/telephony/
DIPhoneStateListener.aidl73 void onRegistrationFailed(in CellIdentity cellIdentity, in onRegistrationFailed() argument
DITelephonyRegistry.aidl98 void notifyRegistrationFailed(int slotIndex, int subId, in CellIdentity cellIdentity, in notifyRegistrationFailed() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2313 public void notifyCellLocationForSubscriber(int subId, CellIdentity cellIdentity) { in notifyCellLocationForSubscriber() argument
2314 notifyCellLocationForSubscriber(subId, cellIdentity, false /* hasUserSwitched */); in notifyCellLocationForSubscriber()
2317 private void notifyCellLocationForSubscriber(int subId, CellIdentity cellIdentity, in notifyCellLocationForSubscriber() argument
2320 + Rlog.pii(DBG || VDBG || DBG_LOC, cellIdentity)); in notifyCellLocationForSubscriber()
2327 && (hasUserSwitched || !Objects.equals(cellIdentity, mCellIdentity[phoneId]))) { in notifyCellLocationForSubscriber()
2328 mCellIdentity[phoneId] = cellIdentity; in notifyCellLocationForSubscriber()
2337 log("notifyCellLocation: cellIdentity=" + cellIdentity in notifyCellLocationForSubscriber()
2340 r.callback.onCellLocationChanged(cellIdentity); in notifyCellLocationForSubscriber()
2846 public void notifyRegistrationFailed(int phoneId, int subId, @NonNull CellIdentity cellIdentity, in notifyRegistrationFailed() argument
2855 final CellIdentity noLocationCi = cellIdentity.sanitizeLocationInfo(); in notifyRegistrationFailed()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyNumberTracker.java841 CellIdentity cellIdentity = mPhone.getCurrentCellIdentity(); in adjustRoutingForEmergencyNumbers() local
842 if (cellIdentity != null) { in adjustRoutingForEmergencyNumbers()
843 String networkMnc = cellIdentity.getMncString(); in adjustRoutingForEmergencyNumbers()

12