Home
last modified time | relevance | path

Searched refs:mSignalStrength (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthWcdma.java35 private int mSignalStrength; // Valid values are (0-31, 99) as defined in TS 27.007 8.5 field in CellSignalStrengthWcdma
76 mSignalStrength = ss; in initialize()
84 mSignalStrength = s.mSignalStrength; in copyFrom()
99 mSignalStrength = Integer.MAX_VALUE; in setDefaultValues()
114 int asu = mSignalStrength; in getLevel()
131 int level = mSignalStrength; in getDbm()
152 int level = mSignalStrength; in getAsuLevel()
160 return (mSignalStrength * primeNum) + (mBitErrorRate * primeNum); in hashCode()
177 return mSignalStrength == s.mSignalStrength && mBitErrorRate == s.mBitErrorRate; in equals()
186 + " ss=" + mSignalStrength in toString()
[all …]
DCellSignalStrengthGsm.java35 private int mSignalStrength; // Valid values are (0-31, 99) as defined in TS 27.007 8.5 field in CellSignalStrengthGsm
77 mSignalStrength = ss; in initialize()
92 mSignalStrength = ss; in initialize()
101 mSignalStrength = s.mSignalStrength; in copyFrom()
117 mSignalStrength = Integer.MAX_VALUE; in setDefaultValues()
133 int asu = mSignalStrength; in getLevel()
160 int level = mSignalStrength; in getDbm()
181 int level = mSignalStrength; in getAsuLevel()
189 return (mSignalStrength * primeNum) + (mBitErrorRate * primeNum); in hashCode()
206 return mSignalStrength == s.mSignalStrength && mBitErrorRate == s.mBitErrorRate && in equals()
[all …]
DCellSignalStrengthLte.java31 private int mSignalStrength; field in CellSignalStrengthLte
81 mSignalStrength = lteSignalStrength; in initialize()
97 mSignalStrength = ss.getLteSignalStrength(); in initialize()
109 mSignalStrength = s.mSignalStrength; in copyFrom()
128 mSignalStrength = Integer.MAX_VALUE; in setDefaultValues()
235 return (mSignalStrength * primeNum) + (mRsrp * primeNum) in hashCode()
254 return mSignalStrength == s.mSignalStrength in equals()
268 + " ss=" + mSignalStrength in toString()
280 dest.writeInt(mSignalStrength); in writeToParcel()
296 mSignalStrength = in.readInt(); in CellSignalStrengthLte()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java56 mSignalStrength = nc.mSignalStrength; in NetworkCapabilities()
69 mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; in clearAll()
654 private int mSignalStrength; field in NetworkCapabilities
670 mSignalStrength = signalStrength; in setSignalStrength()
679 return mSignalStrength > SIGNAL_STRENGTH_UNSPECIFIED; in hasSignalStrength()
689 return mSignalStrength; in getSignalStrength()
693 this.mSignalStrength = Math.max(this.mSignalStrength, nc.mSignalStrength); in combineSignalStrength()
697 return this.mSignalStrength <= nc.mSignalStrength; in satisfiedBySignalStrength()
701 return this.mSignalStrength == nc.mSignalStrength; in equalsSignalStrength()
802 (mSignalStrength * 19)); in hashCode()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneStateIntentReceiver.java49 SignalStrength mSignalStrength = new SignalStrength(); field in PhoneStateIntentReceiver
105 return mSignalStrength.getAsuLevel(); in getSignalStrengthLevelAsu()
120 return mSignalStrength.getDbm(); in getSignalStrengthDbm()
167 mSignalStrength = SignalStrength.newFromBundle(intent.getExtras()); in onReceive()
DServiceStateTracker.java127 private SignalStrength mSignalStrength; field in ServiceStateTracker
611 mSignalStrength = new SignalStrength(); in updatePhoneType()
706 if (!mSignalStrength.equals(mLastSignalStrength)) { in notifySignalStrength()
4309 mSignalStrength = (SignalStrength) ar.result; in onSignalStrengthResult()
4310 mSignalStrength.validateInput(); in onSignalStrengthResult()
4311 mSignalStrength.setGsm(isGsm); in onSignalStrengthResult()
4312 mSignalStrength.setLteRsrpBoost(mSS.getLteEarfcnRsrpBoost()); in onSignalStrengthResult()
4315 mSignalStrength = new SignalStrength(isGsm); in onSignalStrengthResult()
4454 return mSignalStrength; in getSignalStrength()
4552 pw.println(" mSignalStrength=" + mSignalStrength); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java44 private SignalStrength mSignalStrength; field in DataConnectionStats
122 return mSignalStrength != null && !mSignalStrength.isGsm(); in isCdma()
134 mSignalStrength = signalStrength;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java71 private SignalStrength mSignalStrength; field in MobileSignalController
329 return (mSignalStrength != null) && !mSignalStrength.isGsm(); in isCdma()
434 + " ss=" + mSignalStrength); in updateTelephony()
436 mCurrentState.connected = hasService() && mSignalStrength != null; in updateTelephony()
438 if (!mSignalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { in updateTelephony()
439 mCurrentState.level = mSignalStrength.getCdmaLevel(); in updateTelephony()
441 mCurrentState.level = mSignalStrength.getLevel(); in updateTelephony()
489 pw.println(" mSignalStrength=" + mSignalStrength + ","); in dump()
505 mSignalStrength = signalStrength; in onSignalStrengthsChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java78 protected SignalStrength mSignalStrength; field in NetworkControllerBaseTest
122 mSignalStrength = mock(SignalStrength.class); in setUp()
249 when(mSignalStrength.getCdmaLevel()).thenReturn(level); in setCdmaLevel()
254 when(mSignalStrength.getLevel()).thenReturn(level); in setLevel()
259 when(mSignalStrength.isGsm()).thenReturn(gsm); in setIsGsm()
268 Log.d(TAG, "Sending Signal Strength: " + mSignalStrength); in updateSignalStrength()
269 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java1146 private final int mSignalStrength; field in RadioManager.ProgramInfo
1156 mSignalStrength = signalStrength; in ProgramInfo()
1195 return mSignalStrength; in getSignalStrength()
1211 mSignalStrength = in.readInt(); in ProgramInfo()
1237 dest.writeInt(mSignalStrength); in writeToParcel()
1255 + ", mSignalStrength=" + mSignalStrength in toString()
1269 result = prime * result + mSignalStrength; in hashCode()
1291 if (mSignalStrength != other.getSignalStrength()) in equals()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDefaultPhoneNotifierTest.java53 SignalStrength mSignalStrength; field in DefaultPhoneNotifierTest
107 doReturn(99).when(mSignalStrength).getGsmSignalStrength(); in testNotifySignalStrength()
108 doReturn(mSignalStrength).when(mPhone).getSignalStrength(); in testNotifySignalStrength()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java150 private SignalStrength[] mSignalStrength; field in TelephonyRegistry
311 mSignalStrength = new SignalStrength[numPhones]; in TelephonyRegistry()
328 mSignalStrength[i] = new SignalStrength(); in TelephonyRegistry()
551 int gsmSignalStrength = mSignalStrength[phoneId] in listen()
610 r.callback.onSignalStrengthsChanged(mSignalStrength[phoneId]); in listen()
892 mSignalStrength[phoneId] = signalStrength; in notifySignalStrengthForPhoneId()
1412 pw.println("mSignalStrength=" + mSignalStrength[i]); in dump()
1763 SignalStrength signalStrength = mSignalStrength[phoneId]; in checkPossibleMissNotify()
1775 int gsmSignalStrength = mSignalStrength[phoneId] in checkPossibleMissNotify()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java119 private SignalStrength mSignalStrength; field in SimulatedCommands
817 mSignalStrength = signalStrength; in setSignalStrength()
823 if (mSignalStrength == null) { in getSignalStrength()
824 mSignalStrength = new SignalStrength( in getSignalStrength()
842 resultSuccess(result, mSignalStrength); in getSignalStrength()
2038 if (mSignalStrength == null) { in notifySignalStrength()
2039 mSignalStrength = new SignalStrength( in notifySignalStrength()
2059 new AsyncResult (null, mSignalStrength, null)); in notifySignalStrength()