Home
last modified time | relevance | path

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

1234

/frameworks/base/telephony/java/android/telephony/
DCellIdentityCdma.java75 mNetworkId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
76 mSystemId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
77 mBasestationId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
78 mLongitude = CellInfo.UNAVAILABLE; in CellIdentityCdma()
79 mLatitude = CellInfo.UNAVAILABLE; in CellIdentityCdma()
110 mLongitude = mLatitude = CellInfo.UNAVAILABLE; in CellIdentityCdma()
127 return new CellIdentityCdma(CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
128 CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, CellInfo.UNAVAILABLE, in sanitizeLocationInfo()
136 if (mNetworkId == CellInfo.UNAVAILABLE || mSystemId == CellInfo.UNAVAILABLE in updateGlobalCellId()
137 || mBasestationId == CellInfo.UNAVAILABLE) return; in updateGlobalCellId()
[all …]
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()
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 …]
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()
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()
366 if (measure == CellInfo.UNAVAILABLE) { in updateLevelWithMeasure()
[all …]
DCellSignalStrengthNr.java200 this(csiRsrp, csiRsrq, csiSinr, CellInfo.UNAVAILABLE, Collections.emptyList(), in CellSignalStrengthNr()
211 return val != CellInfo.UNAVAILABLE ? -val : val; in flip()
339 mCsiRsrp = CellInfo.UNAVAILABLE; in setDefaultValues()
340 mCsiRsrq = CellInfo.UNAVAILABLE; in setDefaultValues()
341 mCsiSinr = CellInfo.UNAVAILABLE; in setDefaultValues()
342 mCsiCqiTableIndex = CellInfo.UNAVAILABLE; in setDefaultValues()
344 mSsRsrp = CellInfo.UNAVAILABLE; in setDefaultValues()
345 mSsRsrq = CellInfo.UNAVAILABLE; in setDefaultValues()
346 mSsSinr = CellInfo.UNAVAILABLE; in setDefaultValues()
439 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()
/frameworks/av/services/tuner/
DTunerFrontend.cpp49 static_cast<int32_t>(Result::UNAVAILABLE)); in setCallback()
66 static_cast<int32_t>(Result::UNAVAILABLE)); in tune()
76 static_cast<int32_t>(Result::UNAVAILABLE)); in stopTune()
87 static_cast<int32_t>(Result::UNAVAILABLE)); in scan()
97 static_cast<int32_t>(Result::UNAVAILABLE)); in stopScan()
107 static_cast<int32_t>(Result::UNAVAILABLE)); in setLnb()
122 static_cast<int32_t>(Result::UNAVAILABLE)); in linkCiCamToFrontend()
132 static_cast<int32_t>(Result::UNAVAILABLE)); in unlinkCiCamToFrontend()
142 static_cast<int32_t>(Result::UNAVAILABLE)); in close()
156 static_cast<int32_t>(Result::UNAVAILABLE)); in getStatus()
[all …]
DTunerDemux.cpp58 static_cast<int32_t>(Result::UNAVAILABLE)); in setFrontendDataSource()
71 static_cast<int32_t>(Result::UNAVAILABLE)); in setFrontendDataSourceById()
83 static_cast<int32_t>(Result::UNAVAILABLE)); in openFilter()
102 static_cast<int32_t>(Result::UNAVAILABLE)); in openTimeFilter()
119 static_cast<int32_t>(Result::UNAVAILABLE)); in getAvSyncHwId()
130 static_cast<int32_t>(Result::UNAVAILABLE)); in getAvSyncTime()
142 static_cast<int32_t>(Result::UNAVAILABLE)); in openDvr()
159 static_cast<int32_t>(Result::UNAVAILABLE)); in connectCiCam()
169 static_cast<int32_t>(Result::UNAVAILABLE)); in disconnectCiCam()
179 static_cast<int32_t>(Result::UNAVAILABLE)); in close()
DTunerDvr.cpp47 static_cast<int32_t>(Result::UNAVAILABLE)); in getQueueDesc()
57 static_cast<int32_t>(Result::UNAVAILABLE)); in configure()
67 static_cast<int32_t>(Result::UNAVAILABLE)); in attachFilter()
88 static_cast<int32_t>(Result::UNAVAILABLE)); in detachFilter()
109 static_cast<int32_t>(Result::UNAVAILABLE)); in start()
119 static_cast<int32_t>(Result::UNAVAILABLE)); in stop()
129 static_cast<int32_t>(Result::UNAVAILABLE)); in flush()
139 static_cast<int32_t>(Result::UNAVAILABLE)); in close()
DTunerFilter.cpp58 static_cast<int32_t>(Result::UNAVAILABLE)); in getQueueDesc()
79 static_cast<int32_t>(Result::UNAVAILABLE)); in getId()
100 static_cast<int32_t>(Result::UNAVAILABLE)); in getId64Bit()
121 static_cast<int32_t>(Result::UNAVAILABLE)); in configure()
138 static_cast<int32_t>(Result::UNAVAILABLE)); in configureMonitorEvent()
155 static_cast<int32_t>(Result::UNAVAILABLE)); in configureIpFilterContextId()
172 static_cast<int32_t>(Result::UNAVAILABLE)); in configureAvStreamType()
189 static_cast<int32_t>(Result::UNAVAILABLE)); in setDataSource()
213 static_cast<int32_t>(Result::UNAVAILABLE)); in getAvSharedHandle()
231 static_cast<int32_t>(Result::UNAVAILABLE)); in releaseAvHandle()
[all …]
DTunerLnb.cpp48 static_cast<int32_t>(Result::UNAVAILABLE)); in setCallback()
65 static_cast<int32_t>(Result::UNAVAILABLE)); in setVoltage()
75 static_cast<int32_t>(Result::UNAVAILABLE)); in setTone()
85 static_cast<int32_t>(Result::UNAVAILABLE)); in setSatellitePosition()
95 static_cast<int32_t>(Result::UNAVAILABLE)); in sendDiseqcMessage()
105 static_cast<int32_t>(Result::UNAVAILABLE)); in close()
DTunerService.cpp106 static_cast<int32_t>(Result::UNAVAILABLE)); in openDemux()
122 static_cast<int32_t>(Result::UNAVAILABLE)); in getDemuxCaps()
131 static_cast<int32_t>(Result::UNAVAILABLE)); in getFrontendIds()
141 static_cast<int32_t>(Result::UNAVAILABLE)); in getFrontendInfo()
152 static_cast<int32_t>(Result::UNAVAILABLE)); in openFrontend()
169 static_cast<int32_t>(Result::UNAVAILABLE)); in openLnb()
187 static_cast<int32_t>(Result::UNAVAILABLE)); in openLnbByName()
205 static_cast<int32_t>(Result::UNAVAILABLE)); in openDescrambler()
230 static_cast<int32_t>(Result::UNAVAILABLE)); in openSharedFilter()
236 static_cast<int32_t>(Result::UNAVAILABLE)); in openSharedFilter()
[all …]
DTunerTimeFilter.cpp45 static_cast<int32_t>(Result::UNAVAILABLE)); in setTimeStamp()
55 static_cast<int32_t>(Result::UNAVAILABLE)); in clearTimeStamp()
66 static_cast<int32_t>(Result::UNAVAILABLE)); in getSourceTime()
81 static_cast<int32_t>(Result::UNAVAILABLE)); in getTimeStamp()
95 static_cast<int32_t>(Result::UNAVAILABLE)); in close()
DTunerDescrambler.cpp52 static_cast<int32_t>(Result::UNAVAILABLE)); in setDemuxSource()
62 static_cast<int32_t>(Result::UNAVAILABLE)); in setKeyToken()
73 static_cast<int32_t>(Result::UNAVAILABLE)); in addPid()
89 static_cast<int32_t>(Result::UNAVAILABLE)); in removePid()
104 static_cast<int32_t>(Result::UNAVAILABLE)); in close()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellSignalStrengthWcdmaTest.java52 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()
DCellSignalStrengthTdscdmaTest.java48 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()
DCellSignalStrengthNrTest.java130 nrSignalStrength.base.csiRsrp = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
131 nrSignalStrength.base.csiRsrq = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
132 nrSignalStrength.base.csiSinr = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
133 nrSignalStrength.csiCqiTableIndex = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
135 nrSignalStrength.base.ssRsrp = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
136 nrSignalStrength.base.ssRsrq = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
137 nrSignalStrength.base.ssSinr = CellInfo.UNAVAILABLE; in testUnavailableValueWithHal()
141 assertThat(css.getCsiRsrp()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal()
142 assertThat(css.getCsiRsrq()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal()
143 assertThat(css.getCsiSinr()).isEqualTo(CellInfo.UNAVAILABLE); in testUnavailableValueWithHal()
[all …]
DSignalStrengthTest.java76 assertEquals(CellInfo.UNAVAILABLE, s.getCdmaDbm()); in testDefaults()
77 assertEquals(CellInfo.UNAVAILABLE, s.getCdmaEcio()); in testDefaults()
78 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoDbm()); in testDefaults()
79 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoEcio()); in testDefaults()
80 assertEquals(CellInfo.UNAVAILABLE, s.getEvdoSnr()); in testDefaults()
81 assertEquals(CellInfo.UNAVAILABLE, s.getGsmBitErrorRate()); in testDefaults()
173 CellInfo.UNAVAILABLE, // cqiTableIndex in createSignalStrengthLteReportRsrq()
174 CellInfo.UNAVAILABLE, // cqi in createSignalStrengthLteReportRsrq()
175 CellInfo.UNAVAILABLE); // timingAdvance in createSignalStrengthLteReportRsrq()
206 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()
DTunerHidlDemux.cpp59 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in setFrontendDataSource()
75 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in setFrontendDataSourceById()
92 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in openFilter()
143 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in openTimeFilter()
165 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in getAvSyncHwId()
187 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in getAvSyncTime()
210 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in openDvr()
234 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in connectCiCam()
248 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in disconnectCiCam()
262 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in close()

1234