Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/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.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()
332 CellInfo cellInfo = CellInfoUtil.wrapCellInfoWithCellIdentity(cellIdentity); in forceUpdateConnectedPreferenceCategory() local
333 if (cellInfo != null) { in forceUpdateConnectedPreferenceCategory()
335 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.java53 CellInfoLte cellInfo = new CellInfoLte(); in wrapCellInfoWithCellIdentity() local
54 cellInfo.setCellIdentity((CellIdentityLte) cellIdentity); in wrapCellInfoWithCellIdentity()
55 return cellInfo; in wrapCellInfoWithCellIdentity()
57 CellInfoCdma cellInfo = new CellInfoCdma(); in wrapCellInfoWithCellIdentity() local
58 cellInfo.setCellIdentity((CellIdentityCdma) cellIdentity); in wrapCellInfoWithCellIdentity()
59 return cellInfo; in wrapCellInfoWithCellIdentity()
61 CellInfoWcdma cellInfo = new CellInfoWcdma(); in wrapCellInfoWithCellIdentity() local
62 cellInfo.setCellIdentity((CellIdentityWcdma) cellIdentity); in wrapCellInfoWithCellIdentity()
63 return cellInfo; in wrapCellInfoWithCellIdentity()
65 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.java53 CellInfoLte cellInfo = new CellInfoLte(); in wrapCellInfoWithCellIdentity() local
54 cellInfo.setCellIdentity((CellIdentityLte) cellIdentity); in wrapCellInfoWithCellIdentity()
55 return cellInfo; in wrapCellInfoWithCellIdentity()
57 CellInfoCdma cellInfo = new CellInfoCdma(); in wrapCellInfoWithCellIdentity() local
58 cellInfo.setCellIdentity((CellIdentityCdma) cellIdentity); in wrapCellInfoWithCellIdentity()
59 return cellInfo; in wrapCellInfoWithCellIdentity()
61 CellInfoWcdma cellInfo = new CellInfoWcdma(); in wrapCellInfoWithCellIdentity() local
62 cellInfo.setCellIdentity((CellIdentityWcdma) cellIdentity); in wrapCellInfoWithCellIdentity()
63 return cellInfo; in wrapCellInfoWithCellIdentity()
65 CellInfoGsm cellInfo = new CellInfoGsm(); in wrapCellInfoWithCellIdentity() local
[all …]
DNetworkSelectSetting.java201 CellInfo cellInfo = mSelectedNetworkOperatorPreference.getCellInfo(); in onPreferenceTreeClick() local
202 if (DBG) logd("User click a NetworkOperatorPreference: " + cellInfo.toString()); in onPreferenceTreeClick()
211 logd("Connect to the network: " + CellInfoUtil.getNetworkTitle(cellInfo)); in onPreferenceTreeClick()
220 if (!CellInfoUtil.getNetworkTitle(cellInfo).equals( in onPreferenceTreeClick()
226 OperatorInfo operatorInfo = CellInfoUtil.getOperatorInfoFromCellInfo(cellInfo); in onPreferenceTreeClick()
409 CellInfo cellInfo = CellInfoUtil.wrapCellInfoWithCellIdentity(cellIdentity); in forceConfigConnectedNetworkOperatorsPreferenceCategory() local
410 if (cellInfo != null) { in forceConfigConnectedNetworkOperatorsPreferenceCategory()
411 if (DBG) logd("Currently registered cell: " + cellInfo.toString()); in forceConfigConnectedNetworkOperatorsPreferenceCategory()
413 cellInfo, getContext(), mForbiddenPlmns, mShow4GForLTE); in forceConfigConnectedNetworkOperatorsPreferenceCategory()
445 for (CellInfo cellInfo: mCellInfoList) { in configConnectedNetworkOperatorsPreferenceCategory()
[all …]
DNetworkSelectListPreference.java142 results.removeIf(cellInfo -> cellInfo == null);
258 for (CellInfo cellInfo: mCellInfoList) { in networksListLoaded()
260 String networkTitle = getNetworkTitle(cellInfo); in networksListLoaded()
261 if (CellInfoUtil.isForbidden(cellInfo, mForbiddenPlmns)) { in networksListLoaded()
266 networkEntryValuesList.add(getOperatorNumeric(cellInfo)); in networksListLoaded()
359 private String getNetworkTitle(CellInfo cellInfo) { in getNetworkTitle() argument
360 OperatorInfo ni = getOperatorInfoFromCellInfo(cellInfo); in getNetworkTitle()
378 private String getOperatorNumeric(CellInfo cellInfo) { in getOperatorNumeric() argument
379 return getOperatorInfoFromCellInfo(cellInfo).getOperatorNumeric(); in getOperatorNumeric()
385 private OperatorInfo getOperatorInfoFromCellInfo(CellInfo cellInfo) { in getOperatorInfoFromCellInfo() argument
[all …]
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSNetworkScanCtlr.java83 for (CellInfo cellInfo : results) {
84 logDebug("cell info: " + cellInfo);
148 for (CellInfo cellInfo : results) { in analyzeScanResults()
149 if (mMccMncs.contains(getMccMnc(cellInfo))) { in analyzeScanResults()
150 if (cellInfo instanceof CellInfoLte) { in analyzeScanResults()
151 int rsrp = ((CellInfoLte) cellInfo).getCellSignalStrength().getRsrp(); in analyzeScanResults()
154 filteredResults.add(cellInfo); in analyzeScanResults()
224 private String getMccMnc(CellInfo cellInfo) { in getMccMnc() argument
225 if (cellInfo instanceof CellInfoLte) { in getMccMnc()
226 return ((CellInfoLte) cellInfo).getCellIdentity().getMccString() in getMccMnc()
[all …]
DONSProfileSelector.java220 private int getSignalLevel(CellInfo cellInfo) { in getSignalLevel() argument
221 if (cellInfo != null) { in getSignalLevel()
222 return cellInfo.getCellSignalStrength().getLevel(); in getSignalLevel()
228 private String getMcc(CellInfo cellInfo) { in getMcc() argument
230 if (cellInfo instanceof CellInfoLte) { in getMcc()
231 mcc = ((CellInfoLte) cellInfo).getCellIdentity().getMccString(); in getMcc()
237 private String getMnc(CellInfo cellInfo) { in getMnc() argument
239 if (cellInfo instanceof CellInfoLte) { in getMnc()
240 mnc = ((CellInfoLte) cellInfo).getCellIdentity().getMncString(); in getMnc()
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/
DTelephonyRegistryTestApp.java71 public void onCellInfoChanged(List<CellInfo> cellInfo) {
72 notify("onCellInfoChanged", cellInfo);
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java1432 public void startDrag(CellLayout.CellInfo cellInfo, DragOptions options) { in startDrag() argument
1433 View child = cellInfo.cell; in startDrag()
1435 mDragInfo = cellInfo; in startDrag()