/frameworks/base/core/java/android/net/ |
D | NetworkCapabilities.java | 100 mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; in clearAll() 121 mSignalStrength = nc.mSignalStrength; in set() 684 final int originalSignalStrength = mSignalStrength; in restrictCapabilitesForTestNetwork() 692 mSignalStrength = originalSignalStrength; in restrictCapabilitesForTestNetwork() 1259 private int mSignalStrength = SIGNAL_STRENGTH_UNSPECIFIED; field in NetworkCapabilities 1275 mSignalStrength = signalStrength; in setSignalStrength() 1286 return mSignalStrength > SIGNAL_STRENGTH_UNSPECIFIED; in hasSignalStrength() 1295 return mSignalStrength; in getSignalStrength() 1299 this.mSignalStrength = Math.max(this.mSignalStrength, nc.mSignalStrength); in combineSignalStrength() 1303 return this.mSignalStrength <= nc.mSignalStrength; in satisfiedBySignalStrength() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneStateIntentReceiver.java | 52 SignalStrength mSignalStrength = new SignalStrength(); field in PhoneStateIntentReceiver 110 return mSignalStrength.getAsuLevel(); in getSignalStrengthLevelAsu() 126 return mSignalStrength.getDbm(); in getSignalStrengthDbm() 177 mSignalStrength = SignalStrength.newFromBundle(intent.getExtras()); in onReceive()
|
D | ServiceStateTracker.java | 183 private SignalStrength mSignalStrength; field in ServiceStateTracker 746 mSignalStrength = new SignalStrength(); in updatePhoneType() 845 if (!mSignalStrength.equals(mLastSignalStrength)) { in notifySignalStrength() 849 mLastSignalStrength = mSignalStrength; in notifySignalStrength() 4911 mSignalStrength = (SignalStrength) ar.result; in onSignalStrengthResult() 4914 mSignalStrength.updateLevel(config, mSS); in onSignalStrengthResult() 4917 mSignalStrength = new SignalStrength(); in onSignalStrengthResult() 5056 return mSignalStrength; in getSignalStrength() 5186 pw.println(" mSignalStrength=" + mSignalStrength); in dump() 5442 mSignalStrength = new SignalStrength(); in setSignalStrengthDefaultValues()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DataConnectionStats.java | 50 private SignalStrength mSignalStrength; field in DataConnectionStats 134 return mSignalStrength != null && !mSignalStrength.isGsm(); in isCdma() 150 mSignalStrength = signalStrength; in onSignalStrengthsChanged()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthLte.java | 80 private int mSignalStrength; // To be removed field in CellSignalStrengthLte 131 mSignalStrength = mRssi; in CellSignalStrengthLte() 156 mSignalStrength = s.mSignalStrength; in copyFrom() 176 mSignalStrength = CellInfo.UNAVAILABLE; in setDefaultValues() 521 mSignalStrength = mRssi; in CellSignalStrengthLte()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | MobileSignalController.java | 82 private SignalStrength mSignalStrength; field in MobileSignalController 411 return (mSignalStrength != null) && !mSignalStrength.isGsm(); in isCdma() 513 mSignalStrength.getCellSignalStrengths(CellSignalStrengthCdma.class); in getCdmaLevel() 528 Utils.isInService(mServiceState) + " ss=" + mSignalStrength in updateTelephony() 532 mCurrentState.connected = Utils.isInService(mServiceState) && mSignalStrength != null; in updateTelephony() 534 if (!mSignalStrength.isGsm() && mConfig.alwaysShowCdmaRssi) { in updateTelephony() 537 mCurrentState.level = mSignalStrength.getLevel(); in updateTelephony() 614 pw.println(" mSignalStrength=" + mSignalStrength + ","); in dump() 632 mSignalStrength = signalStrength; in onSignalStrengthsChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 95 protected SignalStrength mSignalStrength; field in NetworkControllerBaseTest 146 mSignalStrength = mock(SignalStrength.class); in setUp() 296 when(mSignalStrength.getCdmaLevel()).thenReturn(level); in setCdmaLevel() 301 when(mSignalStrength.getLevel()).thenReturn(level); in setLevel() 306 when(mSignalStrength.isGsm()).thenReturn(gsm); in setIsGsm() 315 Log.d(TAG, "Sending Signal Strength: " + mSignalStrength); in updateSignalStrength() 316 mPhoneStateListener.onSignalStrengthsChanged(mSignalStrength); in updateSignalStrength()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 244 private SignalStrength[] mSignalStrength; field in TelephonyRegistry 462 if (mSignalStrength != null) { in onMultiSimConfigChanged() 463 mSignalStrength = copyOf(mSignalStrength, mNumPhones); in onMultiSimConfigChanged() 465 mSignalStrength = new SignalStrength[mNumPhones]; in onMultiSimConfigChanged() 502 mSignalStrength[i] = null; in onMultiSimConfigChanged() 561 mSignalStrength = new SignalStrength[numPhones]; in TelephonyRegistry() 591 mSignalStrength[i] = null; in TelephonyRegistry() 874 if (mSignalStrength[phoneId] != null) { in listen() 875 int gsmSignalStrength = mSignalStrength[phoneId] in listen() 936 if (mSignalStrength[phoneId] != null) { in listen() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DefaultPhoneNotifierTest.java | 51 SignalStrength mSignalStrength; field in DefaultPhoneNotifierTest 101 doReturn(99).when(mSignalStrength).getGsmSignalStrength(); in testNotifySignalStrength() 102 doReturn(mSignalStrength).when(mPhone).getSignalStrength(); in testNotifySignalStrength()
|
D | SimulatedCommands.java | 153 private SignalStrength mSignalStrength; field in SimulatedCommands 899 mSignalStrength = signalStrength; in setSignalStrength() 904 if (mSignalStrength == null) { in getSignalStrength() 905 mSignalStrength = new SignalStrength( in getSignalStrength() 913 resultSuccess(result, mSignalStrength); in getSignalStrength() 2246 if (mSignalStrength == null) { in notifySignalStrength() 2247 mSignalStrength = new SignalStrength( in notifySignalStrength() 2258 new AsyncResult (null, mSignalStrength, null)); in notifySignalStrength()
|