/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityCdma.java | 78 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 …]
|
H A D | CellIdentityGsm.java | 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() 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() 236 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation() [all …]
|
H A D | CellIdentityLte.java | 73 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() 302 int tac = mTac != CellInfo.UNAVAILABLE ? mTac : -1; in asCellLocation() [all …]
|
H A D | CellSignalStrength.java | 112 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 D | CellIdentityWcdma.java | 67 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() 248 int lac = mLac != CellInfo.UNAVAILABLE ? mLac : -1; in asCellLocation() 249 int cid = mCid != CellInfo.UNAVAILABLE ? mCid : -1; in asCellLocation() [all …]
|
H A D | CellIdentityTdscdma.java | 65 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()
|
H A D | CellSignalStrengthNr.java | 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() 379 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues() 470 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure() [all …]
|
H A D | CellSignalStrengthCdma.java | 104 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 D | CellSignalStrengthLte.java | 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() 366 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure() 612 return CellInfo.UNAVAILABLE; in convertRssiAsuToDBm() [all …]
|
H A D | CellSignalStrengthWcdma.java | 120 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 D | CellSignalStrengthTdscdma.java | 99 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 D | CellIdentityNr.java | 58 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()
|
H A D | CellSignalStrengthGsm.java | 91 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 92 mBitErrorRate = CellInfo.UNAVAILABLE; in setDefaultValues() 93 mTimingAdvance = CellInfo.UNAVAILABLE; in setDefaultValues()
|
H A D | CellIdentity.java | 319 if (value < rangeMin || value > rangeMax) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable() 332 if ((value < rangeMin || value > rangeMax) && value != special) return CellInfo.UNAVAILABLE; in inRangeOrUnavailable()
|
H A D | CellInfo.java | 40 public static final int UNAVAILABLE = Integer.MAX_VALUE; field in CellInfo
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | EnergyConsumerSnapshot.java | 42 public static final long UNAVAILABLE = android.os.BatteryStats.POWER_DATA_UNAVAILABLE; field in EnergyConsumerSnapshot 109 public long bluetoothChargeUC = UNAVAILABLE; 118 public long gnssChargeUC = UNAVAILABLE; 121 public long mobileRadioChargeUC = UNAVAILABLE; 124 public long wifiChargeUC = UNAVAILABLE; 127 public long cameraChargeUC = UNAVAILABLE; 204 final long oldEnergyUJ = mEnergyConsumerSnapshots.get(consumerId, UNAVAILABLE); in updateAndGetDelta() 449 chargeUC[i] = UNAVAILABLE; in getEnergyConsumerDetails() 456 chargeUC[i] = UNAVAILABLE; in getEnergyConsumerDetails() 475 chargeUC[i] = UNAVAILABLE; in getEnergyConsumerDetails() [all …]
|
H A D | BatteryExternalStatsWorker.java | 724 if (gnssChargeUC != EnergyConsumerSnapshot.UNAVAILABLE) { 729 if (cameraChargeUC != EnergyConsumerSnapshot.UNAVAILABLE) { 748 : EnergyConsumerSnapshot.UNAVAILABLE; 764 : EnergyConsumerSnapshot.UNAVAILABLE; 776 ? energyConsumerDeltas.mobileRadioChargeUC : EnergyConsumerSnapshot.UNAVAILABLE;
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | TileStateToProto.kt | 40 Tile.STATE_UNAVAILABLE -> QsTileState.UNAVAILABLE 43 else -> QsTileState.UNAVAILABLE
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/ |
H A D | ControlsComponent.kt | 90 if (!isEnabled()) return Visibility.UNAVAILABLE 107 UNAVAILABLE
|
/aosp14/frameworks/base/media/java/android/media/tv/tuner/frontend/ |
H A D | FrontendStatusReadiness.java | 51 android.hardware.tv.tuner.FrontendStatusReadiness.UNAVAILABLE;
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
H A D | DreamHomeControlsComplication.java | 23 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.UNAVAILABLE; 154 return (hasFavorites || hasPanels) && visibility != UNAVAILABLE; in isHomeControlsAvailable()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/proto/ |
H A D | tiles.proto | 32 UNAVAILABLE = 0; enumerator
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A D | GnssLocationProvider.java | 1566 ? CellInfo.UNAVAILABLE_LONG : CellInfo.UNAVAILABLE)) { in getCidFromCellIdentity() 1576 int mcc = mcc_str != null ? Integer.parseInt(mcc_str) : CellInfo.UNAVAILABLE; in setRefLocation() 1577 int mnc = mnc_str != null ? Integer.parseInt(mnc_str) : CellInfo.UNAVAILABLE; in setRefLocation() 1578 int lac = CellInfo.UNAVAILABLE; in setRefLocation() 1579 int tac = CellInfo.UNAVAILABLE; in setRefLocation() 1580 int pcid = CellInfo.UNAVAILABLE; in setRefLocation() 1581 int arfcn = CellInfo.UNAVAILABLE; in setRefLocation()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/ |
H A D | ControlsComponentTest.kt | 105 assertEquals(ControlsComponent.Visibility.UNAVAILABLE, component.getVisibility())
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/ |
H A D | HomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt | 124 ControlsComponent.Visibility.UNAVAILABLE
|