Home
last modified time | relevance | path

Searched refs:UNAVAILABLE (Results 1 – 25 of 100) sorted by relevance

1234

/frameworks/base/telephony/java/android/telephony/
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()
140 || mBasestationId == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
[all …]
DCellIdentityGsm.java65 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()
117 CellInfo.UNAVAILABLE, mMccStr, mMncStr, mAlphaLong, mAlphaShort, mAdditionalPlmns); in sanitizeLocationInfo()
127 if (mLac == CellInfo.UNAVAILABLE || mCid == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
139 return (mMccStr != null) ? Integer.valueOf(mMccStr) : CellInfo.UNAVAILABLE; in getMcc()
149 return (mMncStr != null) ? Integer.valueOf(mMncStr) : CellInfo.UNAVAILABLE; in getMnc()
228 return CellInfo.UNAVAILABLE; in getPsc()
[all …]
DCellSignalStrength.java113 if (asu > 31 || asu < 0) return CellInfo.UNAVAILABLE; in getRssiDbmFromAsu()
120 if (dbm == CellInfo.UNAVAILABLE) return 99; in getAsuFromRssiDbm()
127 if (asu > 96 || asu < 0) return CellInfo.UNAVAILABLE; in getRscpDbmFromAsu()
134 if (dbm == CellInfo.UNAVAILABLE) return 255; in getAsuFromRscpDbm()
141 if (asu > 49 || asu < 0) return CellInfo.UNAVAILABLE; in getEcNoDbFromAsu()
147 if (value < rangeMin || value > rangeMax) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
154 if ((value < rangeMin || value > rangeMax) && value != special) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
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()
175 return (mMccStr != null) ? Integer.valueOf(mMccStr) : CellInfo.UNAVAILABLE; in getMcc()
[all …]
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()
146 return (mMccStr != null) ? Integer.valueOf(mMccStr) : CellInfo.UNAVAILABLE; in getMcc()
156 return (mMncStr != null) ? Integer.valueOf(mMncStr) : CellInfo.UNAVAILABLE; in getMnc()
248 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation()
[all …]
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()
DCellSignalStrengthNr.java212 this(csiRsrp, csiRsrq, csiSinr, CellInfo.UNAVAILABLE, Collections.emptyList(), in CellSignalStrengthNr()
213 ssRsrp, ssRsrq, ssSinr, CellInfo.UNAVAILABLE); in CellSignalStrengthNr()
223 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()
[all …]
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 …]
DCellSignalStrengthLte.java165 this(rssi, rsrp, rsrq, rssnr, CellInfo.UNAVAILABLE, cqi, timingAdvance); in CellSignalStrengthLte()
196 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()
372 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
[all …]
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()
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()
DCellIdentityNr.java58 mNrArfcn = CellInfo.UNAVAILABLE; in CellIdentityNr()
59 mPci = CellInfo.UNAVAILABLE; in CellIdentityNr()
60 mTac = CellInfo.UNAVAILABLE; in CellIdentityNr()
61 mNci = CellInfo.UNAVAILABLE; in CellIdentityNr()
104 return new CellIdentityNr(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, mNrArfcn, in sanitizeLocationInfo()
128 int tac = mTac != CellInfo.UNAVAILABLE ? mTac : -1; in asCellLocation()
DCellSignalStrengthGsm.java91 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues()
92 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues()
93 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellSignalStrengthWcdmaTest.java53 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testInvalidConstructor()
54 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testInvalidConstructor()
55 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testInvalidConstructor()
56 assertEquals(CellInfo.UNAVAILABLE, css.getEcNo()); in testInvalidConstructor()
62 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testDefaultConstructor()
63 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testDefaultConstructor()
64 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testDefaultConstructor()
65 assertEquals(CellInfo.UNAVAILABLE, css.getEcNo()); in testDefaultConstructor()
DCellSignalStrengthTdscdmaTest.java49 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testInvalidConstructor()
50 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testInvalidConstructor()
51 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testInvalidConstructor()
57 assertEquals(CellInfo.UNAVAILABLE, css.getRssi()); in testDefaultConstructor()
58 assertEquals(CellInfo.UNAVAILABLE, css.getBitErrorRate()); in testDefaultConstructor()
59 assertEquals(CellInfo.UNAVAILABLE, css.getRscp()); in testDefaultConstructor()
DCellSignalStrengthNrTest.java135 nrSignalStrength.csiRsrp = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
136 nrSignalStrength.csiRsrq = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
137 nrSignalStrength.csiSinr = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
138 nrSignalStrength.csiCqiTableIndex = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
140 nrSignalStrength.ssRsrp = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
141 nrSignalStrength.ssRsrq = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
142 nrSignalStrength.ssSinr = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
143 nrSignalStrength.timingAdvance = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
147 assertThat(css.getCsiRsrp()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal()
148 assertThat(css.getCsiRsrq()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal()
[all …]
DCellIdentityTest.java84 assertEquals(CellInfo.UNAVAILABLE, gsm.getLac()); in testConstructCellIdentityGsm()
85 assertEquals(CellInfo.UNAVAILABLE, gsm.getCid()); in testConstructCellIdentityGsm()
86 assertEquals(CellInfo.UNAVAILABLE, gsm.getArfcn()); in testConstructCellIdentityGsm()
87 assertEquals(CellInfo.UNAVAILABLE, gsm.getBsic()); in testConstructCellIdentityGsm()
101 assertEquals(CellInfo.UNAVAILABLE, gsm.getLac()); in testConstructCellIdentityGsm()
102 assertEquals(CellInfo.UNAVAILABLE, gsm.getCid()); in testConstructCellIdentityGsm()
103 assertEquals(CellInfo.UNAVAILABLE, gsm.getArfcn()); in testConstructCellIdentityGsm()
104 assertEquals(CellInfo.UNAVAILABLE, gsm.getBsic()); in testConstructCellIdentityGsm()
DCellIdentityTdscdmaTest.java61 assertEquals(CellInfo.UNAVAILABLE, ci.getLac()); in testDefaultConstructor()
62 assertEquals(CellInfo.UNAVAILABLE, ci.getCid()); in testDefaultConstructor()
63 assertEquals(CellInfo.UNAVAILABLE, ci.getCpid()); in testDefaultConstructor()
64 assertEquals(CellInfo.UNAVAILABLE, ci.getChannelNumber()); in testDefaultConstructor()
65 assertEquals(CellInfo.UNAVAILABLE, ci.getUarfcn()); in testDefaultConstructor()
DSignalStrengthTest.java120 assertEquals(CellInfo.UNAVAILABLE, s.getCdmaDbm()); in testDefaults()
121 assertEquals(CellInfo.UNAVAILABLE, s.getCdmaEcio()); in testDefaults()
122 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoDbm()); in testDefaults()
123 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoEcio()); in testDefaults()
124 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoSnr()); in testDefaults()
125 assertEquals(CellInfo.UNAVAILABLE, s.getGsmBitErrorRate()); in testDefaults()
217 CellInfo.UNAVAILABLE, // cqiTableIndex in createSignalStrengthLteReportRsrq()
218 CellInfo.UNAVAILABLE, // cqi in createSignalStrengthLteReportRsrq()
219 CellInfo.UNAVAILABLE); // timingAdvance in createSignalStrengthLteReportRsrq()
250 CellInfo.UNAVAILABLE, // cqiTableIndex in createSignalStrengthLteReportRssnr()
[all …]
/frameworks/av/services/tuner/hidl/
DTunerHidlLnb.cpp52 static_cast<int32_t>(Result::UNAVAILABLE)); in setCallback()
72 static_cast<int32_t>(Result::UNAVAILABLE)); in setVoltage()
86 static_cast<int32_t>(Result::UNAVAILABLE)); in setTone()
100 static_cast<int32_t>(Result::UNAVAILABLE)); in setSatellitePosition()
114 static_cast<int32_t>(Result::UNAVAILABLE)); in sendDiseqcMessage()
128 static_cast<int32_t>(Result::UNAVAILABLE)); in close()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/ui/
DBatterySaverTileMapperTest.kt96 QSTileState.ActivationState.UNAVAILABLE, in map_standard_pluggedInPowerSaving()
112 QSTileState.ActivationState.UNAVAILABLE, in map_standard_pluggedInNotPowerSaving()
160 QSTileState.ActivationState.UNAVAILABLE, in map_extremeSaverDisabledPluggedInPowerSaving()
176 QSTileState.ActivationState.UNAVAILABLE, in map_extremeSaverDisabledPluggedInNotPowerSaving()
224 QSTileState.ActivationState.UNAVAILABLE, in map_extremeSaverEnabledPluggedInPowerSaving()
240 QSTileState.ActivationState.UNAVAILABLE, in map_extremeSaverEnabledPluggedInNotPowerSaving()
261 if (activationState == QSTileState.ActivationState.UNAVAILABLE) in createBatterySaverTileState()
/frameworks/base/services/core/java/com/android/server/power/stats/
DEnergyConsumerSnapshot.java41 public static final long UNAVAILABLE = android.os.BatteryStats.POWER_DATA_UNAVAILABLE; field in EnergyConsumerSnapshot
106 public long bluetoothChargeUC = UNAVAILABLE;
115 public long gnssChargeUC = UNAVAILABLE;
118 public long mobileRadioChargeUC = UNAVAILABLE;
121 public long wifiChargeUC = UNAVAILABLE;
124 public long cameraChargeUC = UNAVAILABLE;
201 final long oldEnergyUJ = mEnergyConsumerSnapshots.get(consumerId, UNAVAILABLE); in updateAndGetDelta()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileStateToProto.kt41 Tile.STATE_UNAVAILABLE -> QsTileState.UNAVAILABLE in QSTile()
44 else -> QsTileState.UNAVAILABLE in QSTile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/impl/work/ui/
DWorkModeTileMapperTest.kt104 val expectedState = createWorkModeTileState(QSTileState.ActivationState.UNAVAILABLE) in mapsNoActiveProfileDataToUnavailableState()
121 } else if (activationState == QSTileState.ActivationState.UNAVAILABLE) { in createWorkModeTileState()
128 if (activationState == QSTileState.ActivationState.UNAVAILABLE) { in createWorkModeTileState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DCallQualityMetrics.java177 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()

1234