Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkCapabilities.java85 mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; in clearAll()
102 mSignalStrength = nc.mSignalStrength; in set()
1035 private int mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; field in NetworkCapabilities
1052 mSignalStrength = signalStrength; in setSignalStrength()
1063 return mSignalStrength > SIGNAL_STRENGTH_UNSPECIFIED; in hasSignalStrength()
1072 return mSignalStrength; in getSignalStrength()
1076 this.mSignalStrength = Math.max(this.mSignalStrength, nc.mSignalStrength); in combineSignalStrength()
1080 return this.mSignalStrength <= nc.mSignalStrength; in satisfiedBySignalStrength()
1084 return this.mSignalStrength == nc.mSignalStrength; in equalsSignalStrength()
1460 + (mSignalStrength * 29) in hashCode()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneStateIntentReceiver.java51 SignalStrength mSignalStrength = new SignalStrength(); field in PhoneStateIntentReceiver
109 return mSignalStrength.getAsuLevel(); in getSignalStrengthLevelAsu()
125 return mSignalStrength.getDbm(); in getSignalStrengthDbm()
176 mSignalStrength = SignalStrength.newFromBundle(intent.getExtras()); in onReceive()
DServiceStateTracker.java174 private SignalStrength mSignalStrength; field in ServiceStateTracker
699 mSignalStrength = new SignalStrength(); in updatePhoneType()
794 if (!mSignalStrength.equals(mLastSignalStrength)) { in notifySignalStrength()
798 mLastSignalStrength = mSignalStrength; in notifySignalStrength()
4672 mSignalStrength = (SignalStrength) ar.result; in onSignalStrengthResult()
4675 mSignalStrength.updateLevel(config, mSS); in onSignalStrengthResult()
4678 mSignalStrength = new SignalStrength(); in onSignalStrengthResult()
4812 return mSignalStrength; in getSignalStrength()
4910 pw.println(" mSignalStrength=" + mSignalStrength); in dump()
5166 mSignalStrength = new SignalStrength(); in setSignalStrengthDefaultValues()
/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/telephony/java/android/telephony/
DCellSignalStrengthLte.java59 private int mSignalStrength; // To be removed field in CellSignalStrengthLte
95 mSignalStrength = mRssi; in CellSignalStrengthLte()
120 mSignalStrength = s.mSignalStrength; in copyFrom()
139 mSignalStrength = CellInfo.UNAVAILABLE; in setDefaultValues()
414 mSignalStrength = mRssi; in CellSignalStrengthLte()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java76 private SignalStrength mSignalStrength; field in MobileSignalController
337 return (mSignalStrength != null) && !mSignalStrength.isGsm(); in isCdma()
462 Utils.isInService(mServiceState) + " ss=" + mSignalStrength); in updateTelephony()
465 && mSignalStrength != null; in updateTelephony()
467 if (!mSignalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { in updateTelephony()
468 mCurrentState.level = mSignalStrength.getCdmaLevel(); in updateTelephony()
470 mCurrentState.level = mSignalStrength.getLevel(); in updateTelephony()
565 pw.println(" mSignalStrength=" + mSignalStrength + ","); in dump()
583 mSignalStrength = signalStrength; in onSignalStrengthsChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java87 protected SignalStrength mSignalStrength; field in NetworkControllerBaseTest
135 mSignalStrength = mock(SignalStrength.class); in setUp()
288 when(mSignalStrength.getCdmaLevel()).thenReturn(level); in setCdmaLevel()
293 when(mSignalStrength.getLevel()).thenReturn(level); in setLevel()
298 when(mSignalStrength.isGsm()).thenReturn(gsm); in setIsGsm()
307 Log.d(TAG, "Sending Signal Strength: " + mSignalStrength); in updateSignalStrength()
308 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDefaultPhoneNotifierTest.java51 SignalStrength mSignalStrength; field in DefaultPhoneNotifierTest
105 doReturn(99).when(mSignalStrength).getGsmSignalStrength(); in testNotifySignalStrength()
106 doReturn(mSignalStrength).when(mPhone).getSignalStrength(); in testNotifySignalStrength()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java142 private SignalStrength mSignalStrength; field in SimulatedCommands
874 mSignalStrength = signalStrength; in setSignalStrength()
879 if (mSignalStrength == null) { in getSignalStrength()
880 mSignalStrength = new SignalStrength( in getSignalStrength()
888 resultSuccess(result, mSignalStrength); in getSignalStrength()
2161 if (mSignalStrength == null) { in notifySignalStrength()
2162 mSignalStrength = new SignalStrength( in notifySignalStrength()
2173 new AsyncResult (null, mSignalStrength, null)); in notifySignalStrength()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java189 private SignalStrength[] mSignalStrength; field in TelephonyRegistry
386 mSignalStrength = new SignalStrength[numPhones]; in TelephonyRegistry()
414 mSignalStrength[i] = new SignalStrength(); in TelephonyRegistry()
687 int gsmSignalStrength = mSignalStrength[phoneId] in listen()
748 r.callback.onSignalStrengthsChanged(mSignalStrength[phoneId]); in listen()
1143 mSignalStrength[phoneId] = signalStrength; in notifySignalStrengthForPhoneId()
1977 pw.println("mSignalStrength=" + mSignalStrength[i]); in dump()
2408 SignalStrength signalStrength = mSignalStrength[phoneId];
2420 int gsmSignalStrength = mSignalStrength[phoneId]