/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; 125 List<CellInfo> results2 = new ArrayList<CellInfo>(); in testStartProfileSelectionWithNoOpportunisticSub() 129 results2.add((CellInfo) cellInfoLte); in testStartProfileSelectionWithNoOpportunisticSub() 187 List<CellInfo> results2 = new ArrayList<CellInfo>(); in testStartProfileSelectionSuccess() 191 results2.add((CellInfo) cellInfoLte); in testStartProfileSelectionSuccess() 262 List<CellInfo> results2 = new ArrayList<CellInfo>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() 266 results2.add((CellInfo) cellInfoLte); in testStartProfileSelectionWithDifferentPrioritySubInfo() 270 results2.add((CellInfo) cellInfoLte_2); in testStartProfileSelectionWithDifferentPrioritySubInfo() 535 List<CellInfo> results2 = new ArrayList<CellInfo>(); in testStartProfileSelectionSuccessWithSameArgumentsAgain() 539 results2.add((CellInfo) cellInfoLte); in testStartProfileSelectionSuccessWithSameArgumentsAgain()
|
/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) { 331 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; 63 void onResults(List<CellInfo> results); in onResults() 156 private ListenableFuture<List<CellInfo>> mNetworkScanFuture; 176 Futures.addCallback(mNetworkScanFuture, new FutureCallback<List<CellInfo>>() { in startNetworkScan() 178 public void onSuccess(List<CellInfo> result) { in startNetworkScan() 216 private void onResults(List<CellInfo> cellInfos) { in onResults() 246 public void onResults(List<CellInfo> results) { in onResults() 264 private final SettableFuture<List<CellInfo>> mCallback; 268 TelephonyManager telephonyManager, SettableFuture<List<CellInfo>> callback) { in NetworkScanSyncTask() 277 final List<CellInfo> cellInfos = result.getOperators() in run()
|
D | CellInfoUtil.java | 24 import android.telephony.CellInfo; 53 public static CellInfo wrapCellInfoWithCellIdentity(CellIdentity cellIdentity) { in wrapCellInfoWithCellIdentity() 83 public static String getNetworkTitle(CellInfo cellInfo) { in getNetworkTitle() 99 public static OperatorInfo getOperatorInfoFromCellInfo(CellInfo cellInfo) { in getOperatorInfoFromCellInfo() 138 public static CellInfo convertOperatorInfoToCellInfo(OperatorInfo operatorInfo) { in convertOperatorInfoToCellInfo() 162 public static boolean isForbidden(CellInfo cellInfo, List<String> forbiddenPlmns) { in isForbidden() 168 public static String cellInfoListToString(List<CellInfo> cellInfos) { in cellInfoListToString() 175 public static String cellInfoToString(CellInfo cellInfo) { in cellInfoToString()
|
/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; 64 void onResults(List<CellInfo> results); in onResults() 152 private ListenableFuture<List<CellInfo>> mNetworkScanFuture; 172 Futures.addCallback(mNetworkScanFuture, new FutureCallback<List<CellInfo>>() { in startNetworkScan() 174 public void onSuccess(List<CellInfo> result) { in startNetworkScan() 213 private void onResults(List<CellInfo> cellInfos) { in onResults() 243 public void onResults(List<CellInfo> results) { in onResults() 260 private final SettableFuture<List<CellInfo>> mCallback; 264 TelephonyManager telephonyManager, SettableFuture<List<CellInfo>> callback) { in NetworkScanSyncTask() 274 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() 162 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; 80 public void onResults(List<CellInfo> results) { 82 for (CellInfo cellInfo : results) { 113 void onNetworkAvailability(List<CellInfo> results); in onNetworkAvailability() 140 public void analyzeScanResults(List<CellInfo> results) { in analyzeScanResults() 145 List<CellInfo> filteredResults = new ArrayList<CellInfo>(); in analyzeScanResults() 147 for (CellInfo cellInfo : results) { in analyzeScanResults() 200 analyzeScanResults((List<CellInfo>) msg.obj); in init() 223 private String getMccMnc(CellInfo cellInfo) { in getMccMnc()
|
D | ONSProfileSelector.java | 33 import android.telephony.CellInfo; 120 public void onNetworkAvailability(List<CellInfo> results) { 255 private int getSignalLevel(CellInfo cellInfo) { in getSignalLevel() 263 private String getMcc(CellInfo cellInfo) { in getMcc() 272 private String getMnc(CellInfo cellInfo) { in getMnc() 590 protected int retrieveBestSubscription(List<CellInfo> results) { in retrieveBestSubscription() 592 Collections.sort(results, new Comparator<CellInfo>() { in retrieveBestSubscription() 594 public int compare(CellInfo cellInfo1, CellInfo cellInfo2) { in retrieveBestSubscription() 600 for (CellInfo result : results) { in retrieveBestSubscription()
|
/packages/services/Telephony/src/com/android/phone/ |
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() 162 public static boolean isForbidden(CellInfo cellInfo, List<String> forbiddenPlmns) { in isForbidden()
|
D | PhoneInterfaceManager.java | 75 import android.telephony.CellInfo; 1265 ? ar.result : new ArrayList<CellInfo>(); in handleMessage() 1291 cb.onCellInfo((List<CellInfo>) ar.result); in handleMessage() 2414 List<CellInfo> info = getAllCellInfo(callingPackage, callingFeatureId); in getNeighboringCellInfo() 2418 for (CellInfo ci : info) { in getNeighboringCellInfo() 2428 private List<CellInfo> getCachedCellInfo() { in getCachedCellInfo() 2429 List<CellInfo> cellInfos = new ArrayList<CellInfo>(); in getCachedCellInfo() 2431 List<CellInfo> info = phone.getAllCellInfo(); in getCachedCellInfo() 2438 public List<CellInfo> getAllCellInfo(String callingPackage, String callingFeatureId) { in getAllCellInfo() 2469 List<CellInfo> cellInfos = new ArrayList<CellInfo>(); in getAllCellInfo() [all …]
|
/packages/services/Telephony/testapps/TelephonyRegistryTestApp/src/com/android/phone/testapps/telephonyregistry/ |
D | TelephonyRegistryTestApp.java | 24 import android.telephony.CellInfo; 70 public void onCellInfoChanged(List<CellInfo> cellInfo) { 123 List<CellInfo> cellInfos = telephonyManager.getAllCellInfo(); in onCreate() 128 cellInfoText = cellInfos.stream().map(CellInfo::toString) in onCreate()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmCellBroadcastHandler.java | 36 import android.telephony.CellInfo; 324 List<CellInfo> infos = tm.getAllCellInfo(); in getGsmLacAndCid() 325 for (CellInfo info : infos) { in getGsmLacAndCid() 329 int lac = ciGsm.getLac() != CellInfo.UNAVAILABLE ? ciGsm.getLac() : -1; in getGsmLacAndCid() 330 int cid = ciGsm.getCid() != CellInfo.UNAVAILABLE ? ciGsm.getCid() : -1; in getGsmLacAndCid()
|
/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; 236 private List<CellInfo> mCellInfoResult = null; 296 public void onCellInfoChanged(List<CellInfo> arrayCi) { 751 private final String getConnectionStatusString(CellInfo ci) { in getConnectionStatusString() 760 case CellInfo.CONNECTION_PRIMARY_SERVING: connStatStr = "P"; break; in getConnectionStatusString() 761 case CellInfo.CONNECTION_SECONDARY_SERVING: connStatStr = "S"; break; in getConnectionStatusString() 762 case CellInfo.CONNECTION_NONE: connStatStr = "N"; break; in getConnectionStatusString() 763 case CellInfo.CONNECTION_UNKNOWN: /* Field is unsupported */ break; in getConnectionStatusString() 838 private final String buildCellInfoString(List<CellInfo> arrayCi) { in buildCellInfoString() 846 for (CellInfo ci : arrayCi) { in buildCellInfoString() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 50 import android.telephony.CellInfo; 286 private List<CellInfo> mCellInfoResult = null; 349 public void onCellInfoChanged(List<CellInfo> arrayCi) { in onCellInfoChanged() 923 private String getConnectionStatusString(CellInfo ci) { in getConnectionStatusString() 932 case CellInfo.CONNECTION_PRIMARY_SERVING: connStatStr = "P"; break; in getConnectionStatusString() 933 case CellInfo.CONNECTION_SECONDARY_SERVING: connStatStr = "S"; break; in getConnectionStatusString() 934 case CellInfo.CONNECTION_NONE: connStatStr = "N"; break; in getConnectionStatusString() 935 case CellInfo.CONNECTION_UNKNOWN: /* Field is unsupported */ break; in getConnectionStatusString() 1010 private String buildCellInfoString(List<CellInfo> arrayCi) { in buildCellInfoString() 1018 for (CellInfo ci : arrayCi) { in buildCellInfoString() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemLongClickListener.java | 77 CellLayout.CellInfo longClickCellInfo = new CellLayout.CellInfo(v, info); in beginDrag()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 131 import android.telephony.CellInfo; 874 final List<CellInfo> cellList = new ArrayList<CellInfo>(); in testGetLocationMcc() 933 final List<CellInfo> cellList = new ArrayList<CellInfo>(); in setupNoSimCardNeighborMcc()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 137 import android.telephony.CellInfo; 1805 private String getMccFromCellInfo(final CellInfo cell) { in getMccFromCellInfo() 1836 final List<CellInfo> cells = mTelephonyManager.getAllCellInfo(); in getLocationMcc() 1843 for (final CellInfo cell : cells) { in getLocationMcc()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 150 private CellLayout.CellInfo mDragInfo; 1441 public void startDrag(CellLayout.CellInfo cellInfo, DragOptions options) { in startDrag() 1569 final CellLayout.CellInfo dragCellInfo = mDragInfo; in acceptDrop() 2749 public CellLayout.CellInfo getDragInfo() {
|
D | CellLayout.java | 2724 public static final class CellInfo extends CellAndSpan { class in CellLayout 2729 public CellInfo(View v, ItemInfo info) { in CellInfo() method in CellLayout.CellInfo
|