/frameworks/base/telephony/java/android/telephony/ |
D | CellIdentityCdma.java | 73 mNetworkId = CellInfo.UNAVAILABLE; in CellIdentityCdma() 74 mSystemId = CellInfo.UNAVAILABLE; in CellIdentityCdma() 75 mBasestationId = CellInfo.UNAVAILABLE; in CellIdentityCdma() 76 mLongitude = CellInfo.UNAVAILABLE; in CellIdentityCdma() 77 mLatitude = CellInfo.UNAVAILABLE; in CellIdentityCdma() 108 mLongitude = mLatitude = CellInfo.UNAVAILABLE; in CellIdentityCdma() 136 return new CellIdentityCdma(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo() 137 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo() 145 if (mNetworkId == CellInfo.UNAVAILABLE || mSystemId == CellInfo.UNAVAILABLE in updateGlobalCellId() 146 || mBasestationId == CellInfo.UNAVAILABLE) return; in updateGlobalCellId() [all …]
|
D | CellSignalStrengthTdscdma.java | 80 this(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in CellSignalStrengthTdscdma() 81 tdscdma.rscp != CellInfo.UNAVAILABLE ? -tdscdma.rscp : tdscdma.rscp); in CellSignalStrengthTdscdma() 83 if (mRssi == CellInfo.UNAVAILABLE && mRscp == CellInfo.UNAVAILABLE) { in CellSignalStrengthTdscdma() 94 if (mRssi == CellInfo.UNAVAILABLE && mRscp == CellInfo.UNAVAILABLE) { in CellSignalStrengthTdscdma() 121 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 122 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues() 123 mRscp = CellInfo.UNAVAILABLE; in setDefaultValues() 187 if (mRscp != CellInfo.UNAVAILABLE) return getAsuFromRscpDbm(mRscp); in getAsuLevel() 190 if (mRssi != CellInfo.UNAVAILABLE) return getAsuFromRssiDbm(mRssi); in getAsuLevel() 191 return getAsuFromRscpDbm(CellInfo.UNAVAILABLE); in getAsuLevel()
|
D | CellIdentityGsm.java | 62 mLac = CellInfo.UNAVAILABLE; in CellIdentityGsm() 63 mCid = CellInfo.UNAVAILABLE; in CellIdentityGsm() 64 mArfcn = CellInfo.UNAVAILABLE; in CellIdentityGsm() 65 mBsic = CellInfo.UNAVAILABLE; in CellIdentityGsm() 104 cid.bsic == (byte) 0xFF ? CellInfo.UNAVAILABLE : cid.bsic, in CellIdentityGsm() 111 cid.base.bsic == (byte) 0xFF ? CellInfo.UNAVAILABLE : cid.base.bsic, cid.base.mcc, in CellIdentityGsm() 119 cid.base.base.bsic == (byte) 0xFF ? CellInfo.UNAVAILABLE in CellIdentityGsm() 137 return new CellIdentityGsm(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo() 138 CellInfo.UNAVAILABLE, mMccStr, mMncStr, mAlphaLong, mAlphaShort, mAdditionalPlmns); in sanitizeLocationInfo() 148 if (mLac == CellInfo.UNAVAILABLE || mCid == CellInfo.UNAVAILABLE) return; in updateGlobalCellId() [all …]
|
D | CellSignalStrength.java | 111 if (asu > 31 || asu < 0) return CellInfo.UNAVAILABLE; in getRssiDbmFromAsu() 118 if (dbm == CellInfo.UNAVAILABLE) return 99; in getAsuFromRssiDbm() 125 if (asu > 96 || asu < 0) return CellInfo.UNAVAILABLE; in getRscpDbmFromAsu() 132 if (dbm == CellInfo.UNAVAILABLE) return 255; in getAsuFromRscpDbm() 139 if (asu > 49 || asu < 0) return CellInfo.UNAVAILABLE; in getEcNoDbFromAsu() 145 if (value < rangeMin || value > rangeMax) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable() 152 if ((value < rangeMin || value > rangeMax) && value != special) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
|
D | CellSignalStrengthWcdma.java | 101 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE); in CellSignalStrengthWcdma() 103 if (mRssi == CellInfo.UNAVAILABLE && mRscp == CellInfo.UNAVAILABLE) { in CellSignalStrengthWcdma() 116 if (mRssi == CellInfo.UNAVAILABLE && mRscp == CellInfo.UNAVAILABLE) { in CellSignalStrengthWcdma() 144 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 145 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues() 146 mRscp = CellInfo.UNAVAILABLE; in setDefaultValues() 147 mEcNo = CellInfo.UNAVAILABLE; in setDefaultValues() 210 if (mRscp != CellInfo.UNAVAILABLE) return mRscp; in getDbm() 223 if (mRscp != CellInfo.UNAVAILABLE) return getAsuFromRscpDbm(mRscp); in getAsuLevel() 226 if (mRssi != CellInfo.UNAVAILABLE) return getAsuFromRssiDbm(mRssi); in getAsuLevel() [all …]
|
D | CellIdentityLte.java | 71 mCi = CellInfo.UNAVAILABLE; in CellIdentityLte() 72 mPci = CellInfo.UNAVAILABLE; in CellIdentityLte() 73 mTac = CellInfo.UNAVAILABLE; in CellIdentityLte() 74 mEarfcn = CellInfo.UNAVAILABLE; in CellIdentityLte() 76 mBandwidth = CellInfo.UNAVAILABLE; in CellIdentityLte() 94 this(ci, pci, tac, CellInfo.UNAVAILABLE, new int[] {}, CellInfo.UNAVAILABLE, in CellIdentityLte() 140 CellInfo.UNAVAILABLE, cid.mcc, cid.mnc, "", "", new ArraySet<>(), null); in CellIdentityLte() 170 return new CellIdentityLte(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo() 171 CellInfo.UNAVAILABLE, mBands, CellInfo.UNAVAILABLE, in sanitizeLocationInfo() 186 if (mCi == CellInfo.UNAVAILABLE) return; in updateGlobalCellId() [all …]
|
D | CellIdentityWcdma.java | 65 mLac = CellInfo.UNAVAILABLE; in CellIdentityWcdma() 66 mCid = CellInfo.UNAVAILABLE; in CellIdentityWcdma() 67 mPsc = CellInfo.UNAVAILABLE; in CellIdentityWcdma() 68 mUarfcn = CellInfo.UNAVAILABLE; in CellIdentityWcdma() 140 return new CellIdentityWcdma(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo() 141 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, mMccStr, mMncStr, in sanitizeLocationInfo() 156 if (mLac == CellInfo.UNAVAILABLE || mCid == CellInfo.UNAVAILABLE) return; in updateGlobalCellId() 168 return (mMccStr != null) ? Integer.valueOf(mMccStr) : CellInfo.UNAVAILABLE; in getMcc() 178 return (mMncStr != null) ? Integer.valueOf(mMncStr) : CellInfo.UNAVAILABLE; in getMnc() 270 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation() [all …]
|
D | CellIdentityTdscdma.java | 63 mLac = CellInfo.UNAVAILABLE; in CellIdentityTdscdma() 64 mCid = CellInfo.UNAVAILABLE; in CellIdentityTdscdma() 65 mCpid = CellInfo.UNAVAILABLE; in CellIdentityTdscdma() 66 mUarfcn = CellInfo.UNAVAILABLE; in CellIdentityTdscdma() 115 this(cid.mcc, cid.mnc, cid.lac, cid.cid, cid.cpid, CellInfo.UNAVAILABLE, "", "", in CellIdentityTdscdma() 141 return new CellIdentityTdscdma(mMccStr, mMncStr, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo() 142 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, mAlphaLong, mAlphaShort, in sanitizeLocationInfo() 157 if (mLac == CellInfo.UNAVAILABLE || mCid == CellInfo.UNAVAILABLE) return; in updateGlobalCellId() 247 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation() 248 int cid = mCid != CellInfo.UNAVAILABLE ? mCid : -1; in asCellLocation()
|
D | CellSignalStrengthLte.java | 144 lte.rsrp != CellInfo.UNAVAILABLE ? -lte.rsrp : lte.rsrp, in CellSignalStrengthLte() 145 lte.rsrq != CellInfo.UNAVAILABLE ? -lte.rsrq : lte.rsrq, in CellSignalStrengthLte() 176 mSignalStrength = CellInfo.UNAVAILABLE; in setDefaultValues() 177 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 178 mRsrp = CellInfo.UNAVAILABLE; in setDefaultValues() 179 mRsrq = CellInfo.UNAVAILABLE; in setDefaultValues() 180 mRssnr = CellInfo.UNAVAILABLE; in setDefaultValues() 181 mCqi = CellInfo.UNAVAILABLE; in setDefaultValues() 182 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues() 345 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure() [all …]
|
D | CellSignalStrengthCdma.java | 111 mCdmaDbm = CellInfo.UNAVAILABLE; in setDefaultValues() 112 mCdmaEcio = CellInfo.UNAVAILABLE; in setDefaultValues() 113 mEvdoDbm = CellInfo.UNAVAILABLE; in setDefaultValues() 114 mEvdoEcio = CellInfo.UNAVAILABLE; in setDefaultValues() 115 mEvdoSnr = CellInfo.UNAVAILABLE; in setDefaultValues() 179 if (cdmaDbm == CellInfo.UNAVAILABLE) cdmaAsuLevel = 99; 188 if (cdmaEcio == CellInfo.UNAVAILABLE) ecioAsuLevel = 99; 210 if (cdmaDbm == CellInfo.UNAVAILABLE) levelDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel() 218 if (cdmaEcio == CellInfo.UNAVAILABLE) levelEcio = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getCdmaLevel() 239 if (evdoDbm == CellInfo.UNAVAILABLE) levelEvdoDbm = SIGNAL_STRENGTH_NONE_OR_UNKNOWN; in getEvdoLevel() [all …]
|
D | CellSignalStrengthNr.java | 172 return val != CellInfo.UNAVAILABLE ? -val : val; in flip() 265 mCsiRsrp = CellInfo.UNAVAILABLE; in setDefaultValues() 266 mCsiRsrq = CellInfo.UNAVAILABLE; in setDefaultValues() 267 mCsiSinr = CellInfo.UNAVAILABLE; in setDefaultValues() 268 mSsRsrp = CellInfo.UNAVAILABLE; in setDefaultValues() 269 mSsRsrq = CellInfo.UNAVAILABLE; in setDefaultValues() 270 mSsSinr = CellInfo.UNAVAILABLE; in setDefaultValues() 359 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure() 386 if (nrDbm == CellInfo.UNAVAILABLE) { in getAsuLevel()
|
D | CellSignalStrengthGsm.java | 74 if (mRssi == CellInfo.UNAVAILABLE) { in CellSignalStrengthGsm() 101 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 102 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues() 103 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues()
|
D | CellIdentityNr.java | 106 return new CellIdentityNr(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, mNrArfcn, in sanitizeLocationInfo() 107 mBands, mMccStr, mMncStr, CellInfo.UNAVAILABLE, mAlphaLong, mAlphaShort, in sanitizeLocationInfo()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellSignalStrengthNrTest.java | 87 nrSignalStrength.csiRsrp = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal() 88 nrSignalStrength.csiRsrq = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal() 89 nrSignalStrength.csiSinr = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal() 90 nrSignalStrength.ssRsrp = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal() 91 nrSignalStrength.ssRsrq = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal() 92 nrSignalStrength.ssSinr = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal() 96 assertThat(css.getCsiRsrp()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal() 97 assertThat(css.getCsiRsrq()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal() 98 assertThat(css.getCsiSinr()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal() 99 assertThat(css.getSsRsrp()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal() [all …]
|
D | CellSignalStrengthWcdmaTest.java | 52 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testInvalidConstructor() 53 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testInvalidConstructor() 54 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testInvalidConstructor() 55 assertEquals(CellInfo.UNAVAILABLE, css.getEcNo()); in testInvalidConstructor() 61 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testDefaultConstructor() 62 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testDefaultConstructor() 63 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testDefaultConstructor() 64 assertEquals(CellInfo.UNAVAILABLE, css.getEcNo()); in testDefaultConstructor()
|
D | CellSignalStrengthTdscdmaTest.java | 48 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testInvalidConstructor() 49 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testInvalidConstructor() 50 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testInvalidConstructor() 56 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testDefaultConstructor() 57 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testDefaultConstructor() 58 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testDefaultConstructor()
|
D | SignalStrengthTest.java | 74 assertEquals(CellInfo.UNAVAILABLE, s.getCdmaDbm()); in testDefaults() 75 assertEquals(CellInfo.UNAVAILABLE, s.getCdmaEcio()); in testDefaults() 76 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoDbm()); in testDefaults() 77 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoEcio()); in testDefaults() 78 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoSnr()); in testDefaults() 79 assertEquals(CellInfo.UNAVAILABLE, s.getGsmBitErrorRate()); in testDefaults() 169 CellInfo.UNAVAILABLE, // cqi in createSignalStrengthLteReportRsrq() 170 CellInfo.UNAVAILABLE); // timingAdvance in createSignalStrengthLteReportRsrq() 201 CellInfo.UNAVAILABLE, // cqi in createSignalStrengthLteReportRssnr() 202 CellInfo.UNAVAILABLE); // timingAdvance in createSignalStrengthLteReportRssnr()
|
D | CellIdentityTest.java | 83 assertEquals(CellInfo.UNAVAILABLE, gsm.getLac()); in testConstructCellIdentityGsm() 84 assertEquals(CellInfo.UNAVAILABLE, gsm.getCid()); in testConstructCellIdentityGsm() 85 assertEquals(CellInfo.UNAVAILABLE, gsm.getArfcn()); in testConstructCellIdentityGsm() 86 assertEquals(CellInfo.UNAVAILABLE, gsm.getBsic()); in testConstructCellIdentityGsm() 100 assertEquals(CellInfo.UNAVAILABLE, gsm.getLac()); in testConstructCellIdentityGsm() 101 assertEquals(CellInfo.UNAVAILABLE, gsm.getCid()); in testConstructCellIdentityGsm() 102 assertEquals(CellInfo.UNAVAILABLE, gsm.getArfcn()); in testConstructCellIdentityGsm() 103 assertEquals(CellInfo.UNAVAILABLE, gsm.getBsic()); in testConstructCellIdentityGsm()
|
D | CellIdentityTdscdmaTest.java | 60 assertEquals(CellInfo.UNAVAILABLE, ci.getLac()); in testDefaultConstructor() 61 assertEquals(CellInfo.UNAVAILABLE, ci.getCid()); in testDefaultConstructor() 62 assertEquals(CellInfo.UNAVAILABLE, ci.getCpid()); in testDefaultConstructor() 63 assertEquals(CellInfo.UNAVAILABLE, ci.getChannelNumber()); in testDefaultConstructor() 64 assertEquals(CellInfo.UNAVAILABLE, ci.getUarfcn()); in testDefaultConstructor()
|
D | LocaleTrackerTest.java | 81 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in setUp() 82 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | CallQualityMetrics.java | 177 if (ss.equals(CellInfo.UNAVAILABLE)) { in updateMinAndMaxSignalStrengthSnapshots() 221 return CellInfo.UNAVAILABLE; in getLteSnr() 227 return CellInfo.UNAVAILABLE; in getLteSnr() 233 if (snr != CellInfo.UNAVAILABLE) { in getLteSnr() 238 return CellInfo.UNAVAILABLE; in getLteSnr()
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandSupportsAmplitudeControl.cpp | 48 return UNAVAILABLE; in doMain()
|
D | CommandSupportsExternalControl.cpp | 48 return UNAVAILABLE; in doMain()
|
D | CommandGetCompositionDelayMax.cpp | 56 return UNAVAILABLE; in doMain()
|
D | CommandGetCapabilities.cpp | 54 return UNAVAILABLE; in doMain()
|