Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCellIdentityCdma.java78 mNetworkId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
79 mSystemId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
80 mBasestationId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
81 mLongitude = CellInfo.UNAVAILABLE; in CellIdentityCdma()
82 mLatitude = CellInfo.UNAVAILABLE; in CellIdentityCdma()
113 mLongitude = mLatitude = CellInfo.UNAVAILABLE; in CellIdentityCdma()
130 return new CellIdentityCdma(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
131 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
139 if (mNetworkId == CellInfo.UNAVAILABLE || mSystemId == CellInfo.UNAVAILABLE in updateGlobalCellId()
259 super.writeToParcel(dest, CellInfo.TYPE_CDMA); in writeToParcel()
[all …]
H A DCellInfo.java35 public abstract class CellInfo implements Parcelable { class
159 protected CellInfo() { in CellInfo() method in CellInfo
166 protected CellInfo(CellInfo ci) { in CellInfo() method in CellInfo
225 public CellInfo sanitizeLocationInfo() { in sanitizeLocationInfo()
256 if (!(o instanceof CellInfo)) return false; in equals()
257 CellInfo cellInfo = (CellInfo) o; in equals()
303 protected CellInfo(Parcel in) { in CellInfo() method in CellInfo
310 …public static final @android.annotation.NonNull Creator<CellInfo> CREATOR = new Creator<CellInfo>(…
312 public CellInfo createFromParcel(Parcel in) {
326 public CellInfo[] newArray(int size) {
[all …]
H A DCellIdentityGsm.java64 super(TAG, CellInfo.TYPE_GSM, null, null, null, null); in CellIdentityGsm()
65 mLac = CellInfo.UNAVAILABLE; in CellIdentityGsm()
66 mCid = CellInfo.UNAVAILABLE; in CellIdentityGsm()
67 mArfcn = CellInfo.UNAVAILABLE; in CellIdentityGsm()
68 mBsic = CellInfo.UNAVAILABLE; in CellIdentityGsm()
116 return new CellIdentityGsm(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
127 if (mLac == CellInfo.UNAVAILABLE || mCid == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
228 return CellInfo.UNAVAILABLE; in getPsc()
236 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation()
288 super.writeToParcel(dest, CellInfo.TYPE_GSM); in writeToParcel()
[all …]
H A DCellIdentityLte.java73 mCi = CellInfo.UNAVAILABLE; in CellIdentityLte()
74 mPci = CellInfo.UNAVAILABLE; in CellIdentityLte()
75 mTac = CellInfo.UNAVAILABLE; in CellIdentityLte()
76 mEarfcn = CellInfo.UNAVAILABLE; in CellIdentityLte()
78 mBandwidth = CellInfo.UNAVAILABLE; in CellIdentityLte()
96 this(ci, pci, tac, CellInfo.UNAVAILABLE, new int[] {}, CellInfo.UNAVAILABLE, in CellIdentityLte()
147 return new CellIdentityLte(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
148 CellInfo.UNAVAILABLE, mBands, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
163 if (mCi == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
361 super.writeToParcel(dest, CellInfo.TYPE_LTE); in writeToParcel()
[all …]
H A DCellIdentityWcdma.java67 mLac = CellInfo.UNAVAILABLE; in CellIdentityWcdma()
68 mCid = CellInfo.UNAVAILABLE; in CellIdentityWcdma()
69 mPsc = CellInfo.UNAVAILABLE; in CellIdentityWcdma()
70 mUarfcn = CellInfo.UNAVAILABLE; in CellIdentityWcdma()
118 return new CellIdentityWcdma(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
119 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, mMccStr, mMncStr, in sanitizeLocationInfo()
134 if (mLac == CellInfo.UNAVAILABLE || mCid == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
248 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation()
249 int cid = mCid != CellInfo.UNAVAILABLE ? mCid : -1; in asCellLocation()
299 super.writeToParcel(dest, CellInfo.TYPE_WCDMA); in writeToParcel()
[all …]
H A DCellIdentityTdscdma.java65 mLac = CellInfo.UNAVAILABLE; in CellIdentityTdscdma()
66 mCid = CellInfo.UNAVAILABLE; in CellIdentityTdscdma()
67 mCpid = CellInfo.UNAVAILABLE; in CellIdentityTdscdma()
68 mUarfcn = CellInfo.UNAVAILABLE; in CellIdentityTdscdma()
118 return new CellIdentityTdscdma(mMccStr, mMncStr, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
119 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, mAlphaLong, mAlphaShort, in sanitizeLocationInfo()
134 if (mLac == CellInfo.UNAVAILABLE || mCid == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
224 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation()
225 int cid = mCid != CellInfo.UNAVAILABLE ? mCid : -1; in asCellLocation()
283 super.writeToParcel(dest, CellInfo.TYPE_TDSCDMA); in writeToParcel()
[all …]
H A DCellSignalStrength.java112 if (asu > 31 || asu < 0) return CellInfo.UNAVAILABLE; in getRssiDbmFromAsu()
119 if (dbm == CellInfo.UNAVAILABLE) return 99; in getAsuFromRssiDbm()
126 if (asu > 96 || asu < 0) return CellInfo.UNAVAILABLE; in getRscpDbmFromAsu()
133 if (dbm == CellInfo.UNAVAILABLE) return 255; in getAsuFromRscpDbm()
140 if (asu > 49 || asu < 0) return CellInfo.UNAVAILABLE; in getEcNoDbFromAsu()
146 if (value < rangeMin || value > rangeMax) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
153 if ((value < rangeMin || value > rangeMax) && value != special) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
H A DCellIdentityNr.java57 super(TAG, CellInfo.TYPE_NR, null, null, null, null); in CellIdentityNr()
58 mNrArfcn = CellInfo.UNAVAILABLE; in CellIdentityNr()
59 mPci = CellInfo.UNAVAILABLE; in CellIdentityNr()
60 mTac = CellInfo.UNAVAILABLE; in CellIdentityNr()
61 mNci = CellInfo.UNAVAILABLE; in CellIdentityNr()
85 super(TAG, CellInfo.TYPE_NR, mccStr, mncStr, alphal, alphas); in CellIdentityNr()
104 return new CellIdentityNr(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, mNrArfcn, in sanitizeLocationInfo()
115 if (mNci == CellInfo.UNAVAILABLE_LONG) return; in updateGlobalCellId()
128 int tac = mTac != CellInfo.UNAVAILABLE ? mTac : -1; in asCellLocation()
260 super.writeToParcel(dest, CellInfo.TYPE_NR); in writeToParcel()
[all …]
H A DCellIdentity.java128 public @CellInfo.Type int getType() { in getType()
295 case CellInfo.TYPE_GSM: return CellIdentityGsm.createFromParcelBody(in);
296 case CellInfo.TYPE_WCDMA: return CellIdentityWcdma.createFromParcelBody(in);
297 case CellInfo.TYPE_CDMA: return CellIdentityCdma.createFromParcelBody(in);
298 case CellInfo.TYPE_LTE: return CellIdentityLte.createFromParcelBody(in);
299 case CellInfo.TYPE_TDSCDMA:
301 case CellInfo.TYPE_NR: return CellIdentityNr.createFromParcelBody(in);
319 if (value < rangeMin || value > rangeMax) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
325 if (value < rangeMin || value > rangeMax) return CellInfo.UNAVAILABLE_LONG; in inRangeOrUnavailable()
332 if ((value < rangeMin || value > rangeMax) && value != special) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
H A DCellSignalStrengthNr.java223 return val != CellInfo.UNAVAILABLE ? -val : val; in flip()
369 mCsiRsrp = CellInfo.UNAVAILABLE; in setDefaultValues()
370 mCsiRsrq = CellInfo.UNAVAILABLE; in setDefaultValues()
371 mCsiSinr = CellInfo.UNAVAILABLE; in setDefaultValues()
372 mCsiCqiTableIndex = CellInfo.UNAVAILABLE; in setDefaultValues()
374 mSsRsrp = CellInfo.UNAVAILABLE; in setDefaultValues()
375 mSsRsrq = CellInfo.UNAVAILABLE; in setDefaultValues()
376 mSsSinr = CellInfo.UNAVAILABLE; in setDefaultValues()
379 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues()
470 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
[all …]
H A DCellSignalStrengthCdma.java104 mCdmaDbm = CellInfo.UNAVAILABLE; in setDefaultValues()
105 mCdmaEcio = CellInfo.UNAVAILABLE; in setDefaultValues()
106 mEvdoDbm = CellInfo.UNAVAILABLE; in setDefaultValues()
107 mEvdoEcio = CellInfo.UNAVAILABLE; in setDefaultValues()
108 mEvdoSnr = CellInfo.UNAVAILABLE; in setDefaultValues()
172 if (cdmaDbm == CellInfo.UNAVAILABLE) cdmaAsuLevel = 99;
181 if (cdmaEcio == CellInfo.UNAVAILABLE) ecioAsuLevel = 99;
203 if (cdmaDbm == CellInfo.UNAVAILABLE) levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
211 if (cdmaEcio == CellInfo.UNAVAILABLE) levelEcio = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel()
232 if (evdoDbm == CellInfo.UNAVAILABLE) levelEvdoDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getEvdoLevel()
[all …]
H A DCellSignalStrengthLte.java196 mSignalStrength = CellInfo.UNAVAILABLE; in setDefaultValues()
197 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues()
198 mRsrp = CellInfo.UNAVAILABLE; in setDefaultValues()
199 mRsrq = CellInfo.UNAVAILABLE; in setDefaultValues()
200 mRssnr = CellInfo.UNAVAILABLE; in setDefaultValues()
201 mCqiTableIndex = CellInfo.UNAVAILABLE; in setDefaultValues()
202 mCqi = CellInfo.UNAVAILABLE; in setDefaultValues()
203 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues()
366 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
612 return CellInfo.UNAVAILABLE; in convertRssiAsuToDBm()
[all …]
H A DCellSignalStrengthWcdma.java120 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues()
121 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues()
122 mRscp = CellInfo.UNAVAILABLE; in setDefaultValues()
123 mEcNo = CellInfo.UNAVAILABLE; in setDefaultValues()
186 if (mRscp != CellInfo.UNAVAILABLE) return mRscp; in getDbm()
199 if (mRscp != CellInfo.UNAVAILABLE) return getAsuFromRscpDbm(mRscp); in getAsuLevel()
202 if (mRssi != CellInfo.UNAVAILABLE) return getAsuFromRssiDbm(mRssi); in getAsuLevel()
203 return getAsuFromRscpDbm(CellInfo.UNAVAILABLE); in getAsuLevel()
H A DCellSignalStrengthTdscdma.java99 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues()
100 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues()
101 mRscp = CellInfo.UNAVAILABLE; in setDefaultValues()
165 if (mRscp != CellInfo.UNAVAILABLE) return getAsuFromRscpDbm(mRscp); in getAsuLevel()
168 if (mRssi != CellInfo.UNAVAILABLE) return getAsuFromRssiDbm(mRssi); in getAsuLevel()
169 return getAsuFromRscpDbm(CellInfo.UNAVAILABLE); in getAsuLevel()
H A DICellInfoCallback.aidl19 import android.telephony.CellInfo;
29 void onCellInfo(in List<CellInfo> state); in onCellInfo()
H A DTelephonyScanManager.java78 public void onResults(List<CellInfo> results) {} in onResults()
170 CellInfo[] ci = new CellInfo[parcelables.length]; in TelephonyScanManager()
172 ci[i] = (CellInfo) parcelables[i]; in TelephonyScanManager()
H A DCellSignalStrengthGsm.java91 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues()
92 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues()
93 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues()
H A DCellInfoNr.java29 public final class CellInfoNr extends CellInfo {
90 public CellInfo sanitizeLocationInfo() { in sanitizeLocationInfo()
H A DCellInfoTdscdma.java34 public final class CellInfoTdscdma extends CellInfo implements Parcelable {
88 public CellInfo sanitizeLocationInfo() { in sanitizeLocationInfo()
H A DCellInfoWcdma.java29 public final class CellInfoWcdma extends CellInfo implements Parcelable {
82 public CellInfo sanitizeLocationInfo() { in sanitizeLocationInfo()
H A DCellInfo.aidl20 parcelable CellInfo;
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/
H A DNetworkScanResult.java21 import android.telephony.CellInfo;
55 public List<CellInfo> networkInfos;
64 public NetworkScanResult(int scanStatus, int scanError, List<CellInfo> networkInfos) { in NetworkScanResult()
85 List<CellInfo> ni = new ArrayList<>(); in NetworkScanResult()
86 in.readParcelableList(ni, Object.class.getClassLoader(), android.telephony.CellInfo.class); in NetworkScanResult()
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssLocationProvider.java95 import android.telephony.CellInfo;
1536 return CellInfo.TYPE_GSM; in getCellType()
1538 return CellInfo.TYPE_WCDMA; in getCellType()
1540 return CellInfo.TYPE_LTE; in getCellType()
1542 return CellInfo.TYPE_NR; in getCellType()
1544 return CellInfo.TYPE_UNKNOWN; in getCellType()
1566 ? CellInfo.UNAVAILABLE_LONG : CellInfo.UNAVAILABLE)) { in getCidFromCellIdentity()
1578 int lac = CellInfo.UNAVAILABLE; in setRefLocation()
1579 int tac = CellInfo.UNAVAILABLE; in setRefLocation()
1580 int pcid = CellInfo.UNAVAILABLE; in setRefLocation()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl25 import android.telephony.CellInfo;
71 void notifyCellInfo(in List<CellInfo> cellInfo); in notifyCellInfo()
76 void notifyCellInfoForSubscriber(in int subId, in List<CellInfo> cellInfo); in notifyCellInfoForSubscriber()
H A DIPhoneStateListener.aidl22 import android.telephony.CellInfo;
52 void onCellInfoChanged(in List<CellInfo> cellInfo); in onCellInfoChanged()

12