/packages/apps/Messaging/src/com/android/messaging/util/ |
ConnectivityUtil.java | 26 import android.telephony.SignalStrength; 140 public void onSignalStrengthsChanged(final SignalStrength signalStrength) { 141 mSignalLevel = getLevel(signalStrength); 172 private static int getLevel(final SignalStrength signalStrength) { 173 if (signalStrength.isGsm()) { 180 final int asu = signalStrength.getGsmSignalStrength(); 189 final int cdmaLevel = getCdmaLevel(signalStrength); 190 final int evdoLevel = getEvdoLevel(signalStrength); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetPhoneState.java | 22 import android.telephony.SignalStrength; 249 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 254 } else if (signalStrength.isGsm()) { 255 mSignal = signalStrength.getLteLevel(); 256 if (mSignal == SignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN) { 257 mSignal = gsmAsuToSignal(signalStrength); 259 // SignalStrength#getLteLevel returns the scale from 0-4 265 mSignal = cdmaDbmEcioToSignal(signalStrength); 278 private int gsmAsuToSignal(SignalStrength signalStrength) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IPhoneStateListener.aidl | 21 import android.telephony.SignalStrength; 39 void onSignalStrengthsChanged(in SignalStrength signalStrength);
|
ITelephonyRegistry.aidl | 25 import android.telephony.SignalStrength; 43 in SignalStrength signalStrength);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectivityListener.java | 333 int signalStrength; 336 signalStrength = WifiManager.calculateSignalLevel(wifiInfo.getRssi(), 4); 338 signalStrength = 0; 340 if (mConnectivityStatus.mWifiSignalStrength != signalStrength) { 342 mConnectivityStatus.mWifiSignalStrength = signalStrength;
|
/frameworks/base/core/java/android/net/ |
NetworkRequest.java | 252 * @param signalStrength the bearer-specific signal strength. 255 public Builder setSignalStrength(int signalStrength) { 256 mNetworkCapabilities.setSignalStrength(signalStrength);
|
NetworkCapabilities.java | 333 if (hasSignalStrength()) return "signalStrength"; 649 * @param signalStrength the bearer-specific signal strength. 652 public void setSignalStrength(int signalStrength) { 653 mSignalStrength = signalStrength; [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
DataConnectionStats.java | 27 import android.telephony.SignalStrength; 44 private SignalStrength mSignalStrength; 133 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 134 mSignalStrength = signalStrength;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
TelephonyStateListeners.java | 28 import android.telephony.SignalStrength; 308 public SignalStrength mSignalStrengths; 326 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 327 mSignalStrengths = signalStrength; 329 TelephonyConstants.EventSignalStrengthChanged, signalStrength);
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneStateListener.java | 29 import android.telephony.SignalStrength; 308 PhoneStateListener.this.onSignalStrengthsChanged((SignalStrength)msg.obj); 361 * @deprecated Use {@link #onSignalStrengthsChanged(SignalStrength)} 443 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 592 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 593 send(LISTEN_SIGNAL_STRENGTHS, 0, 0, signalStrength);
|
CellSignalStrengthLte.java | 52 public CellSignalStrengthLte(int signalStrength, int rsrp, int rsrq, int rssnr, int cqi, 54 initialize(signalStrength, rsrp, rsrq, rssnr, cqi, timingAdvance); 60 * @param s Source SignalStrength 90 * Initialize from the SignalStrength structure. 96 public void initialize(SignalStrength ss, int timingAdvance) { 276 * Construct a SignalStrength object from the given parcel
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
SimStatus.java | 34 import android.telephony.SignalStrength; 356 void updateSignalStrength(SignalStrength signalStrength) { 367 int signalDbm = signalStrength.getDbm(); 368 int signalAsu = signalStrength.getAsuLevel(); 437 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 438 updateSignalStrength(signalStrength);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 88 import android.telephony.SignalStrength; 311 if (data instanceof SignalStrength) { 312 return buildSignalStrength((SignalStrength) data); 713 CellSignalStrengthLte signalstrength = local 720 result.put("rsrp", signalstrength.getDbm()); 721 result.put("asulevel", signalstrength.getAsuLevel()); 722 result.put("timing_advance", signalstrength.getTimingAdvance()); 733 CellSignalStrengthGsm signalstrength = local 739 result.put("signal_strength", signalstrength.getDbm()); 740 result.put("asulevel", signalstrength.getAsuLevel()) 751 CellSignalStrengthWcdma signalstrength = local 770 CellSignalStrengthCdma signalstrength = local [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerService.java | 39 import android.telephony.SignalStrength; 369 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 371 String updateMsg = "cdma dBM=" + signalStrength.getCdmaDbm(); 374 String updateMsg = "gsm signal=" + signalStrength.getGsmSignalStrength();
|
/frameworks/base/services/core/java/com/android/server/ |
TelephonyRegistry.java | 42 import android.telephony.SignalStrength; 145 private SignalStrength[] mSignalStrength; 304 mSignalStrength = new SignalStrength[numPhones]; 320 mSignalStrength[i] = new SignalStrength(); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
MobileSignalController.java | 24 import android.telephony.SignalStrength; 66 private SignalStrength mSignalStrength; 457 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 459 Log.d(mTag, "onSignalStrengthsChanged signalStrength=" + signalStrength + 460 ((signalStrength == null) ? "" : (" level=" + signalStrength.getLevel()))); 462 mSignalStrength = signalStrength;
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneStateListenerTest.java | 25 import android.telephony.SignalStrength; 44 private SignalStrength mSignalStrength; 169 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 171 mSignalStrength = signalStrength; 193 // Call SignalStrength methods to make sure they do not throw any exceptions
|
/frameworks/base/core/java/com/android/internal/app/ |
IBatteryStats.aidl | 28 import android.telephony.SignalStrength; 98 void notePhoneSignalStrength(in SignalStrength signalStrength);
|
/hardware/ril/include/telephony/ |
ril.h | [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 52 import android.telephony.SignalStrength; 274 public void onSignalStrengthsChanged(SignalStrength signalStrength) { 275 log("onSignalStrengthChanged: SignalStrength=" +signalStrength); 276 updateSignalStrength(signalStrength); 573 updateSignalStrength(SignalStrength signalStrength) { 576 int signalDbm = signalStrength.getDbm(); 578 int signalAsu = signalStrength.getAsuLevel() [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiMetricsTest.java | 423 assertEquals(mDeserializedWifiMetrics.connectionEvent[0].signalStrength, SCAN_RESULT_LEVEL); 426 assertEquals(mDeserializedWifiMetrics.connectionEvent[1].signalStrength,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
TelephonyRegistryMock.java | 27 import android.telephony.SignalStrength; 204 SignalStrength signalStrength) {
|
/hardware/ril/libril/ |
ril.cpp | [all...] |
/frameworks/base/core/java/android/hardware/radio/ |
RadioManager.java | [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiMetrics.java | 285 sb.append(", signalStrength="); 286 sb.append(mConnectionEvent.signalStrength); 471 mCurrentConnectionEvent.mConnectionEvent.signalStrength = scanResult.level; [all...] |