Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/network/telephony/
DCellInfoUtil.java55 CellInfoLte cellInfo = new CellInfoLte(); in wrapCellInfoWithCellIdentity() local
56 cellInfo.setCellIdentity((CellIdentityLte) cellIdentity); in wrapCellInfoWithCellIdentity()
57 return cellInfo; in wrapCellInfoWithCellIdentity()
59 CellInfoCdma cellInfo = new CellInfoCdma(); in wrapCellInfoWithCellIdentity() local
60 cellInfo.setCellIdentity((CellIdentityCdma) cellIdentity); in wrapCellInfoWithCellIdentity()
61 return cellInfo; in wrapCellInfoWithCellIdentity()
63 CellInfoWcdma cellInfo = new CellInfoWcdma(); in wrapCellInfoWithCellIdentity() local
64 cellInfo.setCellIdentity((CellIdentityWcdma) cellIdentity); in wrapCellInfoWithCellIdentity()
65 return cellInfo; in wrapCellInfoWithCellIdentity()
67 CellInfoGsm cellInfo = new CellInfoGsm(); in wrapCellInfoWithCellIdentity() local
[all …]
DNetworkSelectSettings.java173 CellInfo cellInfo = mSelectedPreference.getCellInfo(); in onPreferenceTreeClick() local
183 if (!CellInfoUtil.getNetworkTitle(cellInfo).equals( in onPreferenceTreeClick()
193 final OperatorInfo operatorInfo = CellInfoUtil.getOperatorInfoFromCellInfo(cellInfo); in onPreferenceTreeClick()
331 CellInfo cellInfo = CellInfoUtil.wrapCellInfoWithCellIdentity(cellIdentity); in forceUpdateConnectedPreferenceCategory() local
332 if (cellInfo != null) { in forceUpdateConnectedPreferenceCategory()
334 cellInfo, getPrefContext(), mForbiddenPlmns, mShow4GForLTE); in forceUpdateConnectedPreferenceCategory()
359 for (CellInfo cellInfo : mCellInfoList) { in updateConnectedPreferenceCategory()
360 if (cellInfo.isRegistered()) { in updateConnectedPreferenceCategory()
361 connectedNetworkOperator = cellInfo; in updateConnectedPreferenceCategory()
371 private void addConnectedNetworkOperatorPreference(CellInfo cellInfo) { in addConnectedNetworkOperatorPreference() argument
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DCellInfoUtil.java54 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 …]
DNetworkSelectSettings.java171 CellInfo cellInfo = mSelectedPreference.getCellInfo(); in onPreferenceTreeClick() local
181 if (!CellInfoUtil.getNetworkTitle(cellInfo).equals( in onPreferenceTreeClick()
191 final OperatorInfo operatorInfo = CellInfoUtil.getOperatorInfoFromCellInfo(cellInfo); in onPreferenceTreeClick()
328 CellInfo cellInfo = CellInfoUtil.wrapCellInfoWithCellIdentity(cellIdentity); in forceUpdateConnectedPreferenceCategory() local
329 if (cellInfo != null) { in forceUpdateConnectedPreferenceCategory()
331 cellInfo, getPrefContext(), mForbiddenPlmns, mShow4GForLTE); in forceUpdateConnectedPreferenceCategory()
355 for (CellInfo cellInfo : mCellInfoList) { in updateConnectedPreferenceCategory()
356 if (cellInfo.isRegistered()) { in updateConnectedPreferenceCategory()
357 connectedNetworkOperator = cellInfo; in updateConnectedPreferenceCategory()
367 private void addConnectedNetworkOperatorPreference(CellInfo cellInfo) { in addConnectedNetworkOperatorPreference() argument
[all …]
/packages/services/Telephony/src/com/android/phone/
DCellInfoUtil.java54 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/
DONSNetworkScanCtlr.java82 for (CellInfo cellInfo : results) {
83 logDebug("cell info: " + cellInfo);
147 for (CellInfo cellInfo : results) { in analyzeScanResults()
148 if (mMccMncs.contains(getMccMnc(cellInfo))) { in analyzeScanResults()
149 if (cellInfo instanceof CellInfoLte) { in analyzeScanResults()
150 int rsrp = ((CellInfoLte) cellInfo).getCellSignalStrength().getRsrp(); in analyzeScanResults()
153 filteredResults.add(cellInfo); in analyzeScanResults()
223 private String getMccMnc(CellInfo cellInfo) { in getMccMnc() argument
224 if (cellInfo instanceof CellInfoLte) { in getMccMnc()
225 return ((CellInfoLte) cellInfo).getCellIdentity().getMccString() in getMccMnc()
[all …]
DONSProfileSelector.java255 private int getSignalLevel(CellInfo cellInfo) { in getSignalLevel() argument
256 if (cellInfo != null) { in getSignalLevel()
257 return cellInfo.getCellSignalStrength().getLevel(); in getSignalLevel()
263 private String getMcc(CellInfo cellInfo) { in getMcc() argument
265 if (cellInfo instanceof CellInfoLte) { in getMcc()
266 mcc = ((CellInfoLte) cellInfo).getCellIdentity().getMccString(); in getMcc()
272 private String getMnc(CellInfo cellInfo) { in getMnc() argument
274 if (cellInfo instanceof CellInfoLte) { in getMnc()
275 mnc = ((CellInfoLte) cellInfo).getCellIdentity().getMncString(); in getMnc()
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/
DTelephonyRegistryTestApp.java70 public void onCellInfoChanged(List<CellInfo> cellInfo) {
71 notify("onCellInfoChanged", cellInfo);
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1441 public void startDrag(CellLayout.CellInfo cellInfo, DragOptions options) { in startDrag() argument
1442 View child = cellInfo.cell; in startDrag()
1444 mDragInfo = cellInfo; in startDrag()