Home
last modified time | relevance | path

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

/cts/tests/tests/telephony-cuj/src/android/telephony/cts/cuj/
DDataTest.java98 public void onCellInfo(@NonNull List<CellInfo> cellInfo) { in testCellInfoList()
99 if (cellInfo != null) { in testCellInfoList()
100 cellInfos.addAll(cellInfo); in testCellInfoList()
107 assertThat(cellInfos.stream().anyMatch(cellInfo -> { in testCellInfoList()
108 if (cellInfo instanceof CellInfoGsm gsm in testCellInfoList()
111 } else if (cellInfo instanceof CellInfoCdma cdma in testCellInfoList()
114 } else if (cellInfo instanceof CellInfoLte lte in testCellInfoList()
117 } else if (cellInfo instanceof CellInfoWcdma wcdma in testCellInfoList()
120 } else if (cellInfo instanceof CellInfoTdscdma tdscdma in testCellInfoList()
123 } else if (cellInfo instanceof CellInfoNr nr in testCellInfoList()
[all …]
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockNetworkService.java145 for (CellInfo cellInfo : getCells()) { in getPrimaryCellOperatorInfo()
146 if (cellInfo.connectionStatus == CellConnectionStatus.PRIMARY_SERVING) { in getPrimaryCellOperatorInfo()
147 switch (cellInfo.ratSpecificInfo.getTag()) { in getPrimaryCellOperatorInfo()
150 cellInfo.ratSpecificInfo.getWcdma() in getPrimaryCellOperatorInfo()
156 cellInfo.ratSpecificInfo.getLte().cellIdentityLte.operatorNames; in getPrimaryCellOperatorInfo()
180 for (CellInfo cellInfo : getCells()) { in getPrimaryCellSignalStrength()
181 if (cellInfo.connectionStatus == CellConnectionStatus.PRIMARY_SERVING) { in getPrimaryCellSignalStrength()
182 switch (cellInfo.ratSpecificInfo.getTag()) { in getPrimaryCellSignalStrength()
185 cellInfo.ratSpecificInfo.getWcdma().signalStrengthWcdma; in getPrimaryCellSignalStrength()
189 cellInfo.ratSpecificInfo.getLte().signalStrengthLte; in getPrimaryCellSignalStrength()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java213 List<CellInfo> cellInfo; field in CellInfoTest.CellInfoResultsCallback
216 public synchronized void onCellInfo(List<CellInfo> cellInfo) { in onCellInfo() argument
217 this.cellInfo = cellInfo; in onCellInfo()
222 if (cellInfo == null) { in wait()
229 List<CellInfo> cellInfo; field in CellInfoTest.CellInfoListener
236 public synchronized void onCellInfoChanged(List<CellInfo> cellInfo) { in onCellInfoChanged() argument
237 this.cellInfo = cellInfo; in onCellInfoChanged()
242 if (cellInfo == null) { in wait()
294 assertNotNull("CellInfo Listener Never Fired on Registration", listener.cellInfo); in testPhoneStateListenerCallback()
296 List<CellInfo> referenceList = listener.cellInfo; in testPhoneStateListenerCallback()
[all …]
DTelephonyManagerTest.java5438 for (CellInfo cellInfo : allCellInfo) { in testGetAllCellInfo()
5439 CellIdentity cellIdentity = cellInfo.getCellIdentity(); in testGetAllCellInfo()
5443 if (cellInfo.isRegistered()) assertTrue(bands.length > 0); in testGetAllCellInfo()
5450 if (cellInfo.isRegistered()) assertTrue(bands.length > 0); in testGetAllCellInfo()
5465 if (cellInfo.isRegistered()) { in testGetAllCellInfo()
5825 public void onCellInfoChanged(@NonNull List<CellInfo> cellInfo) { in onCellInfoChanged() argument
5902 public List<CellInfo> cellInfo; field in CellInfoResultsCallback
5905 public synchronized void onCellInfo(List<CellInfo> cellInfo) { in onCellInfo() argument
5906 this.cellInfo = cellInfo; in onCellInfo()
5911 if (cellInfo == null) { in wait()
DPhoneStateListenerTest.java914 public void onCellInfoChanged(List<CellInfo> cellInfo) { in testOnCellInfoChanged()
DTelephonyCallbackTest.java1104 public void onCellInfoChanged(List<CellInfo> cellInfo) { in onCellInfoChanged() argument
/cts/tests/tests/telephony3/src/android/telephony3/cts/
DCellInfoTest.java78 List<CellInfo> cellInfo = ShellIdentityUtils.invokeMethodWithShellPermissions( in testCellInfoSdk28() local
82 assertNotNull("TelephonyManager.getAllCellInfo() returned NULL CellInfo", cellInfo); in testCellInfoSdk28()
83 assertFalse("TelephonyManager.getAllCellInfo() returned an empty list", cellInfo.isEmpty()); in testCellInfoSdk28()
85 final long initialTime = cellInfo.get(0).getTimeStamp(); in testCellInfoSdk28()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java264 public List<CellInfo> cellInfo; field in NetworkScanApiTest.CellInfoResultsCallback
267 public synchronized void onCellInfo(List<CellInfo> cellInfo) { in onCellInfo() argument
268 this.cellInfo = cellInfo; in onCellInfo()
273 if (cellInfo == null) { in wait()
285 CellInfo cellInfo = allCellInfo.get(i); in getRadioAccessSpecifier() local
286 if (cellInfo instanceof CellInfoLte) { in getRadioAccessSpecifier()
287 lteChannels.add(((CellInfoLte) cellInfo).getCellIdentity().getEarfcn()); in getRadioAccessSpecifier()
288 } else if (cellInfo instanceof CellInfoWcdma) { in getRadioAccessSpecifier()
289 wcdmaChannels.add(((CellInfoWcdma) cellInfo).getCellIdentity().getUarfcn()); in getRadioAccessSpecifier()
290 } else if (cellInfo instanceof CellInfoGsm) { in getRadioAccessSpecifier()
[all …]
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpMessagesGenerator.java122 CellInfo cellInfo = locationId.setCellInfoToNewInstance(); in generateSuplStartLocalLocationMessage() local
123 cellInfo.setExtensionVer2_CellInfo_extensionToNewInstance(); in generateSuplStartLocalLocationMessage()
132 cellInfo.getExtensionVer2_CellInfo_extension().setWlanAPToNewInstance() in generateSuplStartLocalLocationMessage()
200 CellInfo cellInfo = locationId.setCellInfoToNewInstance(); in generateSuplPositionInitLocalLocationMessage() local
201 cellInfo.setExtensionVer2_CellInfo_extensionToNewInstance(); in generateSuplPositionInitLocalLocationMessage()
210 cellInfo.getExtensionVer2_CellInfo_extension().setWlanAPToNewInstance() in generateSuplPositionInitLocalLocationMessage()
/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/
DCtsLocationAccessService.java185 public void onCellInfo(List<CellInfo> cellInfo) { in requestCellInfoUpdate()
186 queue.offer(cellInfo); in requestCellInfoUpdate()