/packages/services/Telephony/src/com/android/phone/ |
D | CellInfoUtil.java | 54 CellInfoLte cellInfo = new CellInfoLte(); in wrapCellInfoWithCellIdentity() local 55 cellInfo.setCellIdentity((CellIdentityLte) cellIdentity); in wrapCellInfoWithCellIdentity() 56 return cellInfo; in wrapCellInfoWithCellIdentity() 58 CellInfoCdma cellInfo = new CellInfoCdma(); in wrapCellInfoWithCellIdentity() local 59 cellInfo.setCellIdentity((CellIdentityCdma) cellIdentity); in wrapCellInfoWithCellIdentity() 60 return cellInfo; in wrapCellInfoWithCellIdentity() 62 CellInfoWcdma cellInfo = new CellInfoWcdma(); in wrapCellInfoWithCellIdentity() local 63 cellInfo.setCellIdentity((CellIdentityWcdma) cellIdentity); in wrapCellInfoWithCellIdentity() 64 return cellInfo; in wrapCellInfoWithCellIdentity() 66 CellInfoGsm cellInfo = new CellInfoGsm(); in wrapCellInfoWithCellIdentity() local [all …]
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSNetworkScanCtlr.java | 104 for (CellInfo cellInfo : results) { 105 logDebug("cell info: " + cellInfo); 184 for (CellInfo cellInfo : results) { in analyzeScanResults() 185 if (mMccMncs.contains(getMccMnc(cellInfo))) { in analyzeScanResults() 186 if (cellInfo instanceof CellInfoNr) { in analyzeScanResults() 187 CellInfoNr nrCellInfo = (CellInfoNr) cellInfo; in analyzeScanResults() 192 filteredResults.add(cellInfo); in analyzeScanResults() 195 if (mIs4gScanEnabled && cellInfo instanceof CellInfoLte) { in analyzeScanResults() 196 int rsrp = ((CellInfoLte) cellInfo).getCellSignalStrength().getRsrp(); in analyzeScanResults() 199 filteredResults.add(cellInfo); in analyzeScanResults() [all …]
|
D | ONSProfileSelector.java | 261 private int getSignalLevel(CellInfo cellInfo) { in getSignalLevel() argument 262 if (cellInfo != null) { in getSignalLevel() 263 return cellInfo.getCellSignalStrength().getLevel(); in getSignalLevel() 270 protected String getMcc(CellInfo cellInfo) { in getMcc() argument 272 if (cellInfo instanceof CellInfoLte) { in getMcc() 273 mcc = ((CellInfoLte) cellInfo).getCellIdentity().getMccString(); in getMcc() 275 else if (cellInfo instanceof CellInfoNr) { in getMcc() 276 mcc = ((CellInfoNr) cellInfo).getCellIdentity().getMccString(); in getMcc() 283 protected String getMnc(CellInfo cellInfo) { in getMnc() argument 285 if (cellInfo instanceof CellInfoLte) { in getMnc() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | NetworkOperatorPreference.kt | 54 private var cellInfo: CellInfo? = null variable 64 fun updateCell(cellInfo: CellInfo?, cellId: CellIdentity? = cellInfo?.cellIdentity) { in updateCell() 65 this.cellInfo = cellInfo in updateCell() 73 fun isSameCell(cellInfo: CellInfo): Boolean = cellInfo.cellIdentity == cellId in isSameCell() 92 val level = (cellInfo ?: return).cellSignalStrength.level in isSameCell() 143 private fun getAccessNetworkTypeFromCellInfo(): Int = when (cellInfo) { in getAccessNetworkTypeFromCellInfo()
|
D | NetworkSelectSettings.java | 334 .filter(cellInfo -> !aggregatedSatellitePlmn.contains( in filterOutSatellitePlmn() 335 CellInfoUtil.getOperatorNumeric(cellInfo.getCellIdentity()))) in filterOutSatellitePlmn() 386 protected NetworkOperatorPreference createNetworkOperatorPreference(CellInfo cellInfo) { in createNetworkOperatorPreference() argument 392 preference.updateCell(cellInfo); in createNetworkOperatorPreference() 411 final CellInfo cellInfo = mCellInfoList.get(index); in updateAllPreferenceCategory() local 419 pref.updateCell(cellInfo); in updateAllPreferenceCategory() 426 pref = createNetworkOperatorPreference(cellInfo); in updateAllPreferenceCategory()
|
D | CellInfoUtil.kt | 52 cellInfos.joinToString(System.lineSeparator()) { cellInfo -> cellInfo.readableString() } in <lambda>() method
|
/packages/apps/Settings/src/com/android/settings/network/telephony/scan/ |
D | NetworkScanRepository.kt | 63 constructor(cellInfo: CellInfo) : this( in launchNetworkScan() 64 title = cellInfo.cellIdentity.getNetworkTitle(), in launchNetworkScan() 65 className = cellInfo.javaClass.name, in launchNetworkScan() 66 isRegistered = cellInfo.isRegistered, in launchNetworkScan()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 841 for (CellInfo cellInfo : cellInfoList) { in resolutionMethodCellularLoc() 842 if (!cellInfo.isRegistered()) { in resolutionMethodCellularLoc() 846 if (cellInfo instanceof CellInfoGsm) { in resolutionMethodCellularLoc() 847 CellIdentityGsm gsmCellId = ((CellInfoGsm) cellInfo).getCellIdentity(); in resolutionMethodCellularLoc() 851 } else if (cellInfo instanceof CellInfoWcdma) { in resolutionMethodCellularLoc() 852 CellIdentityWcdma wcdmaCellId = ((CellInfoWcdma) cellInfo).getCellIdentity(); in resolutionMethodCellularLoc() 856 } else if (cellInfo instanceof CellInfoLte) { in resolutionMethodCellularLoc() 857 CellIdentityLte lteCellId = ((CellInfoLte) cellInfo).getCellIdentity(); in resolutionMethodCellularLoc() 893 } else if (cellInfo instanceof CellInfoNr) { in resolutionMethodCellularLoc() 894 CellIdentityNr nrCellId = (CellIdentityNr) cellInfo.getCellIdentity(); in resolutionMethodCellularLoc() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | NetworkSelectSettingsTest.java | 170 protected NetworkOperatorPreference createNetworkOperatorPreference(CellInfo cellInfo) { in createNetworkOperatorPreference() argument 171 NetworkOperatorPreference pref = super.createNetworkOperatorPreference(cellInfo); in createNetworkOperatorPreference() 172 if (cellInfo == mTestEnv.mCellInfo1) { in createNetworkOperatorPreference() 173 pref.updateCell(cellInfo, mTestEnv.mCellId1); in createNetworkOperatorPreference() 174 } else if (cellInfo == mTestEnv.mCellInfo2) { in createNetworkOperatorPreference() 175 pref.updateCell(cellInfo, mTestEnv.mCellId2); in createNetworkOperatorPreference()
|
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/ |
D | TelephonyRegistryTestApp.java | 70 public void onCellInfoChanged(List<CellInfo> cellInfo) { 71 notify("onCellInfoChanged", cellInfo);
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanDataService.java | 1153 for (CellInfo cellInfo : cellInfoList) { in isRegisteredCellInfoChanged() 1154 if (!cellInfo.isRegistered()) { in isRegisteredCellInfoChanged() 1158 if (mCellInfo == null || mCellInfo != cellInfo) { in isRegisteredCellInfoChanged() 1159 mCellInfo = cellInfo; in isRegisteredCellInfoChanged() 1221 for (CellInfo cellInfo : cellInfoList) { in getCurrentCellularRat() 1222 if (!cellInfo.isRegistered()) { in getCurrentCellularRat() 1225 if (cellInfo instanceof CellInfoGsm) { in getCurrentCellularRat() 1227 } else if (cellInfo instanceof CellInfoWcdma) { in getCurrentCellularRat() 1229 } else if (cellInfo instanceof CellInfoLte) { in getCurrentCellularRat() 1231 } else if (cellInfo instanceof CellInfoNr) { in getCurrentCellularRat()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | AccessNetworkEvaluatorTest.java | 1798 QnsTelephonyListener.QnsTelephonyInfo cellInfo = in testOnImsCallDisconnectCauseChanged() local 1800 cellInfo.setCellularAvailable(true); in testOnImsCallDisconnectCauseChanged() 1801 cellInfo.setCoverage(true); in testOnImsCallDisconnectCauseChanged() 1802 cellInfo.setDataNetworkType(TelephonyManager.NETWORK_TYPE_LTE); in testOnImsCallDisconnectCauseChanged() 1803 cellInfo.setVoiceNetworkType(TelephonyManager.NETWORK_TYPE_LTE); in testOnImsCallDisconnectCauseChanged() 1804 cellInfo.setDataRegState(ServiceState.STATE_IN_SERVICE); in testOnImsCallDisconnectCauseChanged() 1805 mAne.onQnsTelephonyInfoChanged(cellInfo); in testOnImsCallDisconnectCauseChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 1633 public void startDrag(CellInfo cellInfo, DragOptions options) { in startDrag() argument 1634 View child = cellInfo.cell; in startDrag() 1636 mDragInfo = cellInfo; in startDrag()
|