/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSNetworkScanCtlrTest.java | 25 import android.telephony.CellInfo; 44 private List<CellInfo> mResults; 74 List<CellInfo> expectedResults = new ArrayList<CellInfo>(); in testStartFastNetworkScan() 78 expectedResults.add((CellInfo)cellInfoLte); in testStartFastNetworkScan() 89 public void onNetworkAvailability(List<CellInfo> results) { in testStartFastNetworkScan() 118 List<CellInfo> expectedResults = new ArrayList<CellInfo>(); in testStartFastNetworkScanFail() 122 expectedResults.add((CellInfo)cellInfoLte); in testStartFastNetworkScanFail() 140 public void onNetworkAvailability(List<CellInfo> results) { in testStartFastNetworkScanFail() 171 List<CellInfo> expectedResults = new ArrayList<CellInfo>(); in testStartFastNetworkScanWithMultipleNetworks() 175 expectedResults.add((CellInfo)cellInfoLte); in testStartFastNetworkScanWithMultipleNetworks() [all …]
|
D | ONSProfileSelectorTest.java | 26 import android.telephony.CellInfo; 111 List<CellInfo> results2 = new ArrayList<CellInfo>(); in testStartProfileSelectionWithNoOpportunisticSub() 115 results2.add((CellInfo)cellInfoLte); in testStartProfileSelectionWithNoOpportunisticSub() 172 List<CellInfo> results2 = new ArrayList<CellInfo>(); in testStartProfileSelectionSuccess() 176 results2.add((CellInfo)cellInfoLte); in testStartProfileSelectionSuccess()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | NetworkOperatorPreference.java | 22 import android.telephony.CellInfo; 43 private CellInfo mCellInfo; 50 CellInfo cellinfo, Context context, List<String> forbiddenPlmns, boolean show4GForLTE) { in NetworkOperatorPreference() 60 public CellInfo getCellInfo() { in getCellInfo() 91 private int getIconIdForCell(CellInfo ci) { in getIconIdForCell() 94 case CellInfo.TYPE_GSM: in getIconIdForCell() 96 case CellInfo.TYPE_WCDMA: // fall through in getIconIdForCell() 97 case CellInfo.TYPE_TDSCDMA: in getIconIdForCell() 99 case CellInfo.TYPE_LTE: in getIconIdForCell() 102 case CellInfo.TYPE_CDMA: in getIconIdForCell()
|
D | NetworkSelectSettings.java | 29 import android.telephony.CellInfo; 82 List<CellInfo> mCellInfoList; 173 CellInfo cellInfo = mSelectedPreference.getCellInfo(); in onPreferenceTreeClick() 234 List<CellInfo> results = aggregateCellInfoList((List<CellInfo>) msg.obj); 265 public void onResults(List<CellInfo> results) { 332 CellInfo cellInfo = CellInfoUtil.wrapCellInfoWithCellIdentity(cellIdentity); in forceUpdateConnectedPreferenceCategory() 358 CellInfo connectedNetworkOperator = null; in updateConnectedPreferenceCategory() 359 for (CellInfo cellInfo : mCellInfoList) { in updateConnectedPreferenceCategory() 371 private void addConnectedNetworkOperatorPreference(CellInfo cellInfo) { in addConnectedNetworkOperatorPreference() 399 private List<CellInfo> aggregateCellInfoList(List<CellInfo> cellInfoList) { in aggregateCellInfoList() [all …]
|
D | NetworkScanHelper.java | 21 import android.telephony.CellInfo; 62 void onResults(List<CellInfo> results); in onResults() 150 private ListenableFuture<List<CellInfo>> mNetworkScanFuture; 170 Futures.addCallback(mNetworkScanFuture, new FutureCallback<List<CellInfo>>() { in startNetworkScan() 172 public void onSuccess(List<CellInfo> result) { in startNetworkScan() 210 private void onResults(List<CellInfo> cellInfos) { in onResults() 240 public void onResults(List<CellInfo> results) { in onResults() 258 private final SettableFuture<List<CellInfo>> mCallback; 262 TelephonyManager telephonyManager, SettableFuture<List<CellInfo>> callback) { in NetworkScanSyncTask() 271 final List<CellInfo> cellInfos = result.getOperators() in run()
|
D | CellInfoUtil.java | 24 import android.telephony.CellInfo; 52 public static CellInfo wrapCellInfoWithCellIdentity(CellIdentity cellIdentity) { in wrapCellInfoWithCellIdentity() 82 public static String getNetworkTitle(CellInfo cellInfo) { in getNetworkTitle() 98 public static OperatorInfo getOperatorInfoFromCellInfo(CellInfo cellInfo) { in getOperatorInfoFromCellInfo() 137 public static CellInfo convertOperatorInfoToCellInfo(OperatorInfo operatorInfo) { in convertOperatorInfoToCellInfo() 161 public static boolean isForbidden(CellInfo cellInfo, List<String> forbiddenPlmns) { in isForbidden() 167 public static String cellInfoListToString(List<CellInfo> cellInfos) { in cellInfoListToString() 174 public static String cellInfoToString(CellInfo cellInfo) { in cellInfoToString()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NetworkOperatorPreference.java | 25 import android.telephony.CellInfo; 43 private CellInfo mCellInfo; 53 CellInfo cellinfo, Context context, List<String> forbiddenPlmns, boolean show4GForLTE) { in NetworkOperatorPreference() 61 public CellInfo getCellInfo() { in getCellInfo() 90 private int getIconIdForCell(CellInfo ci) { in getIconIdForCell() 93 case CellInfo.TYPE_GSM: return R.drawable.signal_strength_g; in getIconIdForCell() 94 case CellInfo.TYPE_WCDMA: // fall through in getIconIdForCell() 95 case CellInfo.TYPE_TDSCDMA: return R.drawable.signal_strength_3g; in getIconIdForCell() 96 case CellInfo.TYPE_LTE: in getIconIdForCell() 99 case CellInfo.TYPE_CDMA: return R.drawable.signal_strength_1x; in getIconIdForCell()
|
D | NetworkScanHelper.java | 21 import android.telephony.CellInfo; 63 void onResults(List<CellInfo> results); in onResults() 151 private ListenableFuture<List<CellInfo>> mNetworkScanFuture; 171 Futures.addCallback(mNetworkScanFuture, new FutureCallback<List<CellInfo>>() { in startNetworkScan() 173 public void onSuccess(List<CellInfo> result) { in startNetworkScan() 212 private void onResults(List<CellInfo> cellInfos) { in onResults() 242 public void onResults(List<CellInfo> results) { in onResults() 259 private final SettableFuture<List<CellInfo>> mCallback; 263 TelephonyManager telephonyManager, SettableFuture<List<CellInfo>> callback) { in NetworkScanSyncTask() 273 List<CellInfo> cellInfos = result.getOperators() in run()
|
D | NetworkSelectSetting.java | 33 import android.telephony.CellInfo; 81 private List<CellInfo> mCellInfoList; 201 CellInfo cellInfo = mSelectedNetworkOperatorPreference.getCellInfo(); in onPreferenceTreeClick() 288 List<CellInfo> results = aggregateCellInfoList((List<CellInfo>) msg.obj); 327 public void onResults(List<CellInfo> results) { 409 CellInfo cellInfo = CellInfoUtil.wrapCellInfoWithCellIdentity(cellIdentity); in forceConfigConnectedNetworkOperatorsPreferenceCategory() 444 CellInfo connectedNetworkOperator = null; in configConnectedNetworkOperatorsPreferenceCategory() 445 for (CellInfo cellInfo: mCellInfoList) { in configConnectedNetworkOperatorsPreferenceCategory() 488 private void addConnectedNetworkOperatorPreference(CellInfo cellInfo) { in addConnectedNetworkOperatorPreference() 529 private List<CellInfo> aggregateCellInfoList(List<CellInfo> cellInfoList) { in aggregateCellInfoList() [all …]
|
D | NetworkSelectListPreference.java | 29 import android.telephony.CellInfo; 79 private List<CellInfo> mCellInfoList; 80 private CellInfo mCellInfo; 141 List<CellInfo> results = (List<CellInfo>) msg.obj; 163 public void onResults(List<CellInfo> results) { 258 for (CellInfo cellInfo: mCellInfoList) { in networksListLoaded() 359 private String getNetworkTitle(CellInfo cellInfo) { in getNetworkTitle() 378 private String getOperatorNumeric(CellInfo cellInfo) { in getOperatorNumeric() 385 private OperatorInfo getOperatorInfoFromCellInfo(CellInfo cellInfo) { in getOperatorInfoFromCellInfo() 464 List<CellInfo> mCellInfoList;
|
D | CellInfoUtil.java | 24 import android.telephony.CellInfo; 51 public static CellInfo wrapCellInfoWithCellIdentity(CellIdentity cellIdentity) { in wrapCellInfoWithCellIdentity() 81 public static String getNetworkTitle(CellInfo cellInfo) { in getNetworkTitle() 97 public static OperatorInfo getOperatorInfoFromCellInfo(CellInfo cellInfo) { in getOperatorInfoFromCellInfo() 136 public static CellInfo convertOperatorInfoToCellInfo(OperatorInfo operatorInfo) { in convertOperatorInfoToCellInfo() 160 public static boolean isForbidden(CellInfo cellInfo, List<String> forbiddenPlmns) { in isForbidden()
|
D | NetworkQueryService.java | 30 import android.telephony.CellInfo; 144 public void onResults(List<CellInfo> results) { in onResults() 352 cb.onResults((List<CellInfo>) msg.obj); in broadcastQueryResults() 378 private List<CellInfo> getCellInfoList(List<OperatorInfo> operatorInfoList) { in getCellInfoList() 379 List<CellInfo> cellInfoList = new ArrayList<>(); in getCellInfoList()
|
D | INetworkQueryServiceCallback.aidl | 19 import android.telephony.CellInfo; 33 void onResults(in List<CellInfo> results); in onResults()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | NetworkOperatorPreference.java | 24 import android.telephony.CellInfo; 49 private CellInfo mCellInfo; 59 CellInfo cellinfo, Context context, List<String> forbiddenPlmns, boolean show4GForLTE) { in NetworkOperatorPreference() 67 public CellInfo getCellInfo() { in getCellInfo() 98 private int getIconIdForCell(CellInfo ci) { in getIconIdForCell() 101 case CellInfo.TYPE_GSM: in getIconIdForCell() 103 case CellInfo.TYPE_WCDMA: // fall through in getIconIdForCell() 104 case CellInfo.TYPE_TDSCDMA: in getIconIdForCell() 106 case CellInfo.TYPE_LTE: in getIconIdForCell() 109 case CellInfo.TYPE_CDMA: in getIconIdForCell()
|
D | NetworkSelectSettings.java | 29 import android.telephony.CellInfo; 80 List<CellInfo> mCellInfoList; 171 CellInfo cellInfo = mSelectedPreference.getCellInfo(); in onPreferenceTreeClick() 232 List<CellInfo> results = aggregateCellInfoList((List<CellInfo>) msg.obj); 261 public void onResults(List<CellInfo> results) { 328 CellInfo cellInfo = CellInfoUtil.wrapCellInfoWithCellIdentity(cellIdentity); in forceUpdateConnectedPreferenceCategory() 354 CellInfo connectedNetworkOperator = null; in updateConnectedPreferenceCategory() 355 for (CellInfo cellInfo : mCellInfoList) { in updateConnectedPreferenceCategory() 367 private void addConnectedNetworkOperatorPreference(CellInfo cellInfo) { in addConnectedNetworkOperatorPreference() 395 private List<CellInfo> aggregateCellInfoList(List<CellInfo> cellInfoList) { in aggregateCellInfoList() [all …]
|
D | NetworkScanHelper.java | 21 import android.telephony.CellInfo; 63 void onResults(List<CellInfo> results); in onResults() 151 private ListenableFuture<List<CellInfo>> mNetworkScanFuture; 171 Futures.addCallback(mNetworkScanFuture, new FutureCallback<List<CellInfo>>() { in startNetworkScan() 173 public void onSuccess(List<CellInfo> result) { in startNetworkScan() 212 private void onResults(List<CellInfo> cellInfos) { in onResults() 242 public void onResults(List<CellInfo> results) { in onResults() 259 private final SettableFuture<List<CellInfo>> mCallback; 263 TelephonyManager telephonyManager, SettableFuture<List<CellInfo>> callback) { in NetworkScanSyncTask() 273 List<CellInfo> cellInfos = result.getOperators() in run()
|
D | CellInfoUtil.java | 24 import android.telephony.CellInfo; 51 public static CellInfo wrapCellInfoWithCellIdentity(CellIdentity cellIdentity) { in wrapCellInfoWithCellIdentity() 81 public static String getNetworkTitle(CellInfo cellInfo) { in getNetworkTitle() 97 public static OperatorInfo getOperatorInfoFromCellInfo(CellInfo cellInfo) { in getOperatorInfoFromCellInfo() 136 public static CellInfo convertOperatorInfoToCellInfo(OperatorInfo operatorInfo) { in convertOperatorInfoToCellInfo() 160 public static boolean isForbidden(CellInfo cellInfo, List<String> forbiddenPlmns) { in isForbidden()
|
/packages/services/AlternativeNetworkAccess/src/com/android/ons/ |
D | ONSNetworkScanCtlr.java | 27 import android.telephony.CellInfo; 81 public void onResults(List<CellInfo> results) { 83 for (CellInfo cellInfo : results) { 114 void onNetworkAvailability(List<CellInfo> results); in onNetworkAvailability() 141 public void analyzeScanResults(List<CellInfo> results) { in analyzeScanResults() 146 List<CellInfo> filteredResults = new ArrayList<CellInfo>(); in analyzeScanResults() 148 for (CellInfo cellInfo : results) { in analyzeScanResults() 201 analyzeScanResults((List<CellInfo>) msg.obj); in init() 224 private String getMccMnc(CellInfo cellInfo) { in getMccMnc()
|
D | ONSProfileSelector.java | 34 import android.telephony.CellInfo; 114 public void onNetworkAvailability(List<CellInfo> results) { 220 private int getSignalLevel(CellInfo cellInfo) { in getSignalLevel() 228 private String getMcc(CellInfo cellInfo) { in getMcc() 237 private String getMnc(CellInfo cellInfo) { in getMnc() 516 private int retrieveBestSubscription(List<CellInfo> results) { in retrieveBestSubscription() 518 Collections.sort(results, new Comparator<CellInfo>() { in retrieveBestSubscription() 520 public int compare(CellInfo cellInfo1, CellInfo cellInfo2) { in retrieveBestSubscription() 526 for (CellInfo result : results) { in retrieveBestSubscription()
|
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/ |
D | TelephonyRegistryTestApp.java | 24 import android.telephony.CellInfo; 71 public void onCellInfoChanged(List<CellInfo> cellInfo) { 124 List<CellInfo> cellInfos = telephonyManager.getAllCellInfo(); in onCreate() 129 cellInfoText = cellInfos.stream().map(CellInfo::toString) in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | NetworkSelectSettingsTest.java | 26 import android.telephony.CellInfo; 52 private CellInfo mCellInfo1; 54 private CellInfo mCellInfo2;
|
D | NetworkOperatorPreferenceTest.java | 28 import android.telephony.CellInfo; 47 private CellInfo mCellInfo;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 49 import android.telephony.CellInfo; 235 private List<CellInfo> mCellInfoResult = null; 295 public void onCellInfoChanged(List<CellInfo> arrayCi) { 748 private final String getConnectionStatusString(CellInfo ci) { in getConnectionStatusString() 757 case CellInfo.CONNECTION_PRIMARY_SERVING: connStatStr = "P"; break; in getConnectionStatusString() 758 case CellInfo.CONNECTION_SECONDARY_SERVING: connStatStr = "S"; break; in getConnectionStatusString() 759 case CellInfo.CONNECTION_NONE: connStatStr = "N"; break; in getConnectionStatusString() 760 case CellInfo.CONNECTION_UNKNOWN: /* Field is unsupported */ break; in getConnectionStatusString() 835 private final String buildCellInfoString(List<CellInfo> arrayCi) { in buildCellInfoString() 843 for (CellInfo ci : arrayCi) { in buildCellInfoString() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | RadioInfo.java | 50 import android.telephony.CellInfo; 247 private List<CellInfo> mCellInfoResult = null; 310 public void onCellInfoChanged(List<CellInfo> arrayCi) { in onCellInfoChanged() 841 private final String getConnectionStatusString(CellInfo ci) { in getConnectionStatusString() 850 case CellInfo.CONNECTION_PRIMARY_SERVING: connStatStr = "P"; break; in getConnectionStatusString() 851 case CellInfo.CONNECTION_SECONDARY_SERVING: connStatStr = "S"; break; in getConnectionStatusString() 852 case CellInfo.CONNECTION_NONE: connStatStr = "N"; break; in getConnectionStatusString() 853 case CellInfo.CONNECTION_UNKNOWN: /* Field is unsupported */ break; in getConnectionStatusString() 928 private final String buildCellInfoString(List<CellInfo> arrayCi) { in buildCellInfoString() 936 for (CellInfo ci : arrayCi) { in buildCellInfoString() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemLongClickListener.java | 72 CellLayout.CellInfo longClickCellInfo = new CellLayout.CellInfo(v, info); in beginDrag()
|