/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthWcdma.java | 35 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 …]
|
D | CellSignalStrengthGsm.java | 35 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() 150 int level = mSignalStrength; in getDbm() 171 int level = mSignalStrength; in getAsuLevel() 179 return (mSignalStrength * primeNum) + (mBitErrorRate * primeNum); in hashCode() 196 return mSignalStrength == s.mSignalStrength && mBitErrorRate == s.mBitErrorRate && in equals() [all …]
|
D | CellSignalStrengthLte.java | 31 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() 219 return (mSignalStrength * primeNum) + (mRsrp * primeNum) in hashCode() 238 return mSignalStrength == s.mSignalStrength in equals() 252 + " ss=" + mSignalStrength in toString() 264 dest.writeInt(mSignalStrength); in writeToParcel() 280 mSignalStrength = in.readInt(); in CellSignalStrengthLte()
|
/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 51 mSignalStrength = nc.mSignalStrength; in NetworkCapabilities() 64 mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; in clearAll() 650 private int mSignalStrength; field in NetworkCapabilities 666 mSignalStrength = signalStrength; in setSignalStrength() 675 return mSignalStrength > SIGNAL_STRENGTH_UNSPECIFIED; in hasSignalStrength() 685 return mSignalStrength; in getSignalStrength() 689 this.mSignalStrength = Math.max(this.mSignalStrength, nc.mSignalStrength); in combineSignalStrength() 693 return this.mSignalStrength <= nc.mSignalStrength; in satisfiedBySignalStrength() 697 return this.mSignalStrength == nc.mSignalStrength; in equalsSignalStrength() 798 (mSignalStrength * 19)); in hashCode() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneStateIntentReceiver.java | 49 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()
|
D | ServiceStateTracker.java | 120 private SignalStrength mSignalStrength; field in ServiceStateTracker 577 mSignalStrength = new SignalStrength(); in updatePhoneType() 677 if (!mSignalStrength.equals(mLastSignalStrength)) { in notifySignalStrength() 4500 mSignalStrength = (SignalStrength) ar.result; in onSignalStrengthResult() 4501 mSignalStrength.validateInput(); in onSignalStrengthResult() 4502 mSignalStrength.setGsm(isGsm); in onSignalStrengthResult() 4505 mSignalStrength = new SignalStrength(isGsm); in onSignalStrengthResult() 4644 return mSignalStrength; in getSignalStrength() 4724 pw.println(" mSignalStrength=" + mSignalStrength); in dump() 4977 mSignalStrength = new SignalStrength(true); in setSignalStrengthDefaultValues()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 44 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/ |
D | MobileSignalController.java | 66 private SignalStrength mSignalStrength; field in MobileSignalController 285 return (mSignalStrength != null) && !mSignalStrength.isGsm(); in isCdma() 386 + " ss=" + mSignalStrength); in updateTelephony() 388 mCurrentState.connected = hasService() && mSignalStrength != null; in updateTelephony() 390 if (!mSignalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { in updateTelephony() 391 mCurrentState.level = mSignalStrength.getCdmaLevel(); in updateTelephony() 393 mCurrentState.level = mSignalStrength.getLevel(); in updateTelephony() 441 pw.println(" mSignalStrength=" + mSignalStrength + ","); in dump() 457 mSignalStrength = signalStrength; in onSignalStrengthsChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 69 protected SignalStrength mSignalStrength; field in NetworkControllerBaseTest 97 mSignalStrength = mock(SignalStrength.class); in setUp() 223 when(mSignalStrength.getCdmaLevel()).thenReturn(level); in setCdmaLevel() 228 when(mSignalStrength.getLevel()).thenReturn(level); in setLevel() 233 when(mSignalStrength.isGsm()).thenReturn(gsm); in setIsGsm() 242 Log.d(TAG, "Sending Signal Strength: " + mSignalStrength); in updateSignalStrength() 243 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioManager.java | 1144 private final int mSignalStrength; field in RadioManager.ProgramInfo 1154 mSignalStrength = signalStrength; in ProgramInfo() 1193 return mSignalStrength; in getSignalStrength() 1209 mSignalStrength = in.readInt(); in ProgramInfo() 1235 dest.writeInt(mSignalStrength); in writeToParcel() 1253 + ", mSignalStrength=" + mSignalStrength in toString() 1267 result = prime * result + mSignalStrength; in hashCode() 1289 if (mSignalStrength != other.getSignalStrength()) in equals()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DefaultPhoneNotifierTest.java | 51 SignalStrength mSignalStrength; field in DefaultPhoneNotifierTest 105 doReturn(99).when(mSignalStrength).getGsmSignalStrength(); in testNotifySignalStrength() 106 doReturn(mSignalStrength).when(mPhone).getSignalStrength(); in testNotifySignalStrength()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 145 private SignalStrength[] mSignalStrength; field in TelephonyRegistry 304 mSignalStrength = new SignalStrength[numPhones]; in TelephonyRegistry() 320 mSignalStrength[i] = new SignalStrength(); in TelephonyRegistry() 545 int gsmSignalStrength = mSignalStrength[phoneId] in listen() 604 r.callback.onSignalStrengthsChanged(mSignalStrength[phoneId]); in listen() 812 mSignalStrength[phoneId] = signalStrength; in notifySignalStrengthForPhoneId() 1325 pw.println(" mSignalStrength=" + mSignalStrength[i]); in dump() 1713 SignalStrength signalStrength = mSignalStrength[phoneId]; in checkPossibleMissNotify() 1725 int gsmSignalStrength = mSignalStrength[phoneId] in checkPossibleMissNotify()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedCommands.java | 117 private SignalStrength mSignalStrength; field in SimulatedCommands 809 mSignalStrength = signalStrength; in setSignalStrength() 815 if (mSignalStrength == null) { in getSignalStrength() 816 mSignalStrength = new SignalStrength( in getSignalStrength() 834 resultSuccess(result, mSignalStrength); in getSignalStrength() 2042 if (mSignalStrength == null) { in notifySignalStrength() 2043 mSignalStrength = new SignalStrength( in notifySignalStrength() 2063 new AsyncResult (null, mSignalStrength, null)); in notifySignalStrength()
|