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
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 …]
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()
204 return (mSignalStrength * primeNum) + (mRsrp * primeNum) in hashCode()
223 return mSignalStrength == s.mSignalStrength in equals()
237 + " ss=" + mSignalStrength in toString()
249 dest.writeInt(mSignalStrength); in writeToParcel()
264 mSignalStrength = in.readInt(); in CellSignalStrengthLte()
/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.java86 protected SignalStrength mSignalStrength = new SignalStrength(); field in ServiceStateTracker
347 if (!mSignalStrength.equals(mLastSignalStrength)) { in notifySignalStrength()
825 SignalStrength oldSignalStrength = mSignalStrength; in onSignalStrengthResult()
831 mSignalStrength = (SignalStrength) ar.result; in onSignalStrengthResult()
832 mSignalStrength.validateInput(); in onSignalStrengthResult()
833 mSignalStrength.setGsm(isGsm); in onSignalStrengthResult()
836 mSignalStrength = new SignalStrength(isGsm); in onSignalStrengthResult()
964 return mSignalStrength; in getSignalStrength()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java47 private SignalStrength mSignalStrength; field in NetworkControllerBaseTest
73 mSignalStrength = mock(SignalStrength.class); in setUp()
167 when(mSignalStrength.getCdmaLevel()).thenReturn(level); in setCdmaLevel()
172 when(mSignalStrength.getLevel()).thenReturn(level); in setLevel()
177 when(mSignalStrength.isGsm()).thenReturn(gsm); in setIsGsm()
186 Log.d(TAG, "Sending Signal Strength: " + mSignalStrength); in updateSignalStrength()
187 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength()
/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/core/java/android/net/
DMobileDataStateTracker.java82 private SignalStrength mSignalStrength; field in MobileDataStateTracker
128 mSignalStrength = signalStrength;
785 if (mSignalStrength != null) { in getLinkQualityInfo()
787 li.getMobileNetworkType(), mSignalStrength)); in getLinkQualityInfo() local
791 SignalStrength ss = mSignalStrength; in getLinkQualityInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java1017 private SignalStrength mSignalStrength; field in NetworkControllerImpl.MobileSignalController
1254 return (mSignalStrength != null) && !mSignalStrength.isGsm(); in isCdma()
1335 + " ss=" + mSignalStrength); in updateTelephony()
1337 mCurrentState.connected = hasService() && mSignalStrength != null; in updateTelephony()
1339 if (!mSignalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { in updateTelephony()
1340 mCurrentState.level = mSignalStrength.getCdmaLevel(); in updateTelephony()
1342 mCurrentState.level = mSignalStrength.getLevel(); in updateTelephony()
1382 pw.println(" mSignalStrength=" + mSignalStrength + ","); in dump()
1398 mSignalStrength = signalStrength; in onSignalStrengthsChanged()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java138 private SignalStrength[] mSignalStrength; field in TelephonyRegistry
294 mSignalStrength = new SignalStrength[numPhones]; in TelephonyRegistry()
310 mSignalStrength[i] = new SignalStrength(); in TelephonyRegistry()
508 int gsmSignalStrength = mSignalStrength[phoneId] in listen()
567 r.callback.onSignalStrengthsChanged(mSignalStrength[phoneId]); in listen()
751 mSignalStrength[phoneId] = signalStrength; in notifySignalStrengthForSubscriber()
1265 pw.println(" mSignalStrength=" + mSignalStrength[i]); in dump()
1593 SignalStrength signalStrength = mSignalStrength[phoneId]; in checkPossibleMissNotify()
1605 int gsmSignalStrength = mSignalStrength[phoneId] in checkPossibleMissNotify()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaLteServiceStateTracker.java601 .initialize(mSignalStrength,SignalStrength.INVALID); in onSignalStrengthResult()
DCdmaServiceStateTracker.java993 mSignalStrength = new SignalStrength( false); in setSignalStrengthDefaultValues()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmServiceStateTracker.java921 mSignalStrength = new SignalStrength(true); in setSignalStrengthDefaultValues()