Home
last modified time | relevance | path

Searched refs:CellInfo (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java43 import android.telephony.CellInfo;
213 List<CellInfo> cellInfo;
216 public synchronized void onCellInfo(List<CellInfo> cellInfo) { in onCellInfo()
229 List<CellInfo> cellInfo;
236 public synchronized void onCellInfoChanged(List<CellInfo> cellInfo) { in onCellInfoChanged()
296 List<CellInfo> referenceList = listener.cellInfo; in testPhoneStateListenerCallback()
338 List<CellInfo> allCellInfo = resultsCallback.cellInfo; in testCellInfo()
345 for (CellInfo cellInfo : allCellInfo) { in testCellInfo()
375 private void verifyBaseCellInfo(CellInfo info) { in verifyBaseCellInfo()
385 assertTrue(info.getCellConnectionStatus() != CellInfo.CONNECTION_UNKNOWN); in verifyBaseCellInfo()
[all …]
DCellIdentityTest.java29 import android.telephony.CellInfo;
69 assertEquals(CellInfo.UNAVAILABLE, cdmaCellLocation.getBaseStationLongitude()); in testCellIdentityCdma_unavailable_asCellLocation()
70 assertEquals(CellInfo.UNAVAILABLE, cdmaCellLocation.getBaseStationLatitude()); in testCellIdentityCdma_unavailable_asCellLocation()
DTelephonyLocationTests.java24 import android.telephony.CellInfo;
244 List<CellInfo> cis = (List<CellInfo>) performLocationAccessCommand( in testSdk28RegistryPermissionsForCellInfo()
283 List<CellInfo> cis = (List<CellInfo>) performLocationAccessCommandSdk28( in testSdk28CellInfoUpdate()
DPhoneStateListenerTest.java41 import android.telephony.CellInfo;
914 public void onCellInfoChanged(List<CellInfo> cellInfo) { in testOnCellInfoChanged()
DTelephonyCallbackTest.java44 import android.telephony.CellInfo;
1104 public void onCellInfoChanged(List<CellInfo> cellInfo) { in onCellInfoChanged()
DTelephonyManagerTest.java99 import android.telephony.CellInfo;
5436 List<CellInfo> allCellInfo = mTelephonyManager.getAllCellInfo(); in testGetAllCellInfo()
5438 for (CellInfo cellInfo : allCellInfo) { in testGetAllCellInfo()
5825 public void onCellInfoChanged(@NonNull List<CellInfo> cellInfo) { in onCellInfoChanged()
5902 public List<CellInfo> cellInfo;
5905 public synchronized void onCellInfo(List<CellInfo> cellInfo) { in onCellInfo()
/cts/tests/tests/telephony-cuj/src/android/telephony/cts/cuj/
DDataTest.java28 import android.telephony.CellInfo;
92 List<CellInfo> cellInfos = new ArrayList<>(); in testCellInfoList()
98 public void onCellInfo(@NonNull List<CellInfo> cellInfo) { in testCellInfoList()
109 && gsm.getCellIdentity().getCid() != CellInfo.UNAVAILABLE) { in testCellInfoList()
112 && cdma.getCellIdentity().getBasestationId() != CellInfo.UNAVAILABLE) { in testCellInfoList()
115 && lte.getCellIdentity().getCi() != CellInfo.UNAVAILABLE) { in testCellInfoList()
118 && wcdma.getCellIdentity().getCid() != CellInfo.UNAVAILABLE) { in testCellInfoList()
121 && tdscdma.getCellIdentity().getCid() != CellInfo.UNAVAILABLE) { in testCellInfoList()
124 && ((CellIdentityNr) nr.getCellIdentity()).getNci() != CellInfo.UNAVAILABLE) { in testCellInfoList()
/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/
DCtsLocationAccessService.java26 import android.telephony.CellInfo;
102 private List<CellInfo> listenForCellInfo() { in listenForCellInfo()
103 LinkedBlockingQueue<List<CellInfo>> queue = new LinkedBlockingQueue<>(); in listenForCellInfo()
109 public void onCellInfoChanged(List<CellInfo> cis) { in listenForCellInfo()
178 private List<CellInfo> requestCellInfoUpdate() { in requestCellInfoUpdate()
179 LinkedBlockingQueue<List<CellInfo>> queue = new LinkedBlockingQueue<>(); in requestCellInfoUpdate()
185 public void onCellInfo(List<CellInfo> cellInfo) { in requestCellInfoUpdate()
193 List<CellInfo> ci = queue.poll(LISTENER_TIMEOUT, TimeUnit.MILLISECONDS); in requestCellInfoUpdate()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ulp_components/
DLocationId.java100 private CellInfo cellInfo_;
101 public CellInfo getCellInfo() { in getCellInfo()
108 this.cellInfo_ = (CellInfo) value; in setCellInfo()
110 public CellInfo setCellInfoToNewInstance() { in setCellInfoToNewInstance()
111 cellInfo_ = new CellInfo(); in setCellInfoToNewInstance()
162 return tag == null ? CellInfo.getPossibleFirstTags() : ImmutableList.of(tag); in getComponents()
DCellInfo.java43 public class CellInfo extends Asn1Choice { class
67 public CellInfo() { in CellInfo() method in CellInfo
93 public static CellInfo fromPerUnaligned(byte[] encodedBytes) { in fromPerUnaligned()
94 CellInfo result = new CellInfo(); in fromPerUnaligned()
102 public static CellInfo fromPerAligned(byte[] encodedBytes) { in fromPerAligned()
103 CellInfo result = new CellInfo(); in fromPerAligned()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockNetworkService.java22 import android.hardware.radio.network.CellInfo;
107 private CellInfo[] mCells;
123 public CellInfo[] getCells() { in getCells()
136 mCells = new CellInfo[cellNum]; in updateCellList()
145 for (CellInfo cellInfo : getCells()) { in getPrimaryCellOperatorInfo()
180 for (CellInfo cellInfo : getCells()) { in getPrimaryCellSignalStrength()
203 for (CellInfo cellInfo : getCells()) { in getPrimaryCellRat()
227 for (CellInfo cellInfo : getCells()) { in getPrimaryCellIdentity()
414 public android.hardware.radio.network.CellInfo[] getCells() { in getCells()
415 ArrayList<android.hardware.radio.network.CellInfo> cellInfos = new ArrayList<>(); in getCells()
[all …]
DMockNetworkConfig.java23 import android.hardware.radio.network.CellInfo;
106 private CellInfo mCell;
114 mCell = new CellInfo(); in MockNetworkProfile()
382 public CellInfo getCell() { in getCell()
444 public CellInfo getCellInfo(int index) { in getCellInfo()
DIRadioNetworkImpl.java413 android.hardware.radio.network.CellInfo[] cells; in getCellInfoList()
1109 android.hardware.radio.network.CellInfo[] cells; in unsolCellInfoList()
/cts/tests/tests/telephony3/src/android/telephony3/cts/
DCellInfoTest.java28 import android.telephony.CellInfo;
78 List<CellInfo> cellInfo = ShellIdentityUtils.invokeMethodWithShellPermissions( in testCellInfoSdk28()
93 List<CellInfo> newCellInfo = ShellIdentityUtils.invokeMethodWithShellPermissions( in testCellInfoSdk28()
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DNoLocationPermissionTest.java25 import android.telephony.CellInfo;
115 public void onCellInfo(List<CellInfo> cellInfos) { in testRequestCellInfoUpdate()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java41 import android.telephony.CellInfo;
86 private List<CellInfo> mScanResults = null;
241 public void onResults(List<CellInfo> results) { in onResults()
264 public List<CellInfo> cellInfo;
267 public synchronized void onCellInfo(List<CellInfo> cellInfo) { in onCellInfo()
279 private List<RadioAccessSpecifier> getRadioAccessSpecifier(List<CellInfo> allCellInfo) { in getRadioAccessSpecifier()
285 CellInfo cellInfo = allCellInfo.get(i); in getRadioAccessSpecifier()
456 List<CellInfo> allCellInfo = getCellInfo(); in buildNetworkScanRequest()
513 private List<CellInfo> getCellInfo() { in getCellInfo()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpMessagesGenerator.java33 import android.location.cts.asn1.supl2.ulp_components.CellInfo;
122 CellInfo cellInfo = locationId.setCellInfoToNewInstance(); in generateSuplStartLocalLocationMessage()
200 CellInfo cellInfo = locationId.setCellInfoToNewInstance(); in generateSuplPositionInitLocalLocationMessage()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt44455 public abstract class CellInfo implements android.os.Parcelable {
44467 …field @NonNull public static final android.os.Parcelable.Creator<android.telephony.CellInfo> CREAT…
44472 …public final class CellInfoCdma extends android.telephony.CellInfo implements android.os.Parcelabl…
44479 …public final class CellInfoGsm extends android.telephony.CellInfo implements android.os.Parcelable…
44486 …public final class CellInfoLte extends android.telephony.CellInfo implements android.os.Parcelable…
44493 public final class CellInfoNr extends android.telephony.CellInfo {
44500 …public final class CellInfoTdscdma extends android.telephony.CellInfo implements android.os.Parcel…
44507 …public final class CellInfoWcdma extends android.telephony.CellInfo implements android.os.Parcelab…
45315 …n.ACCESS_FINE_LOCATION}) public void onCellInfoChanged(java.util.List<android.telephony.CellInfo>);
45939 …FINE_LOCATION}) public void onCellInfoChanged(@NonNull java.util.List<android.telephony.CellInfo>);
[all …]