HomeSort by relevance Sort by last modified time
    Searched full:signalstrength (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /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);
  /frameworks/base/telephony/java/android/telephony/
SignalStrength.java 28 public class SignalStrength implements Parcelable {
30 private static final String LOG_TAG = "SignalStrength";
76 * Create a new SignalStrength from a intent notifier Bundle
82 * @return newly created SignalStrength
86 public static SignalStrength newFromBundle(Bundle m) {
87 SignalStrength ret;
88 ret = new SignalStrength();
98 public SignalStrength() {
116 * This constructor is used to create SignalStrength with default
120 * @return newly created SignalStrength
    [all...]
SignalStrength.aidl 21 parcelable 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
CellSignalStrengthGsm.java 60 * @param s Source SignalStrength
71 * @param ss SignalStrength as ASU value
85 * @param ss SignalStrength as ASU value
221 * Construct a SignalStrength object from the given parcel
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);
CellSignalStrengthWcdma.java 59 * @param s Source SignalStrength
70 * @param ss SignalStrength as ASU value
199 * Construct a SignalStrength object from the given parcel
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerSignalTest.java 25 import android.telephony.SignalStrength;
111 for (int testStrength = SignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
112 testStrength <= SignalStrength.SIGNAL_STRENGTH_GREAT; testStrength++) {
127 for (int testStrength = SignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
128 testStrength <= SignalStrength.SIGNAL_STRENGTH_GREAT; testStrength++) {
140 for (int testStrength = SignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
141 testStrength <= SignalStrength.SIGNAL_STRENGTH_GREAT; testStrength++) {
154 for (int testStrength = SignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
155 testStrength <= SignalStrength.SIGNAL_STRENGTH_GREAT; testStrength++) {
168 for (int testStrength = SignalStrength.SIGNAL_STRENGTH_NONE_OR_UNKNOWN
    [all...]
  /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...]
  /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/docs/html/sdk/api_diff/23/changes/
android.telephony.SignalStrength.html 10 android.telephony.SignalStrength
74 Class android.telephony.<A HREF="../../../../reference/android/telephony/SignalStrength.html" target="_top"><font size="+2"><code>SignalStrength</code></font></A>
86 <A NAME="android.telephony.SignalStrength.getLevel_added()"></A>
87 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/telephony/SignalStrength.html#getLevel()" target="_top"><code>getLevel</code></A>()</nobr>
  /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;
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneStateIntentReceiver.java 26 import android.telephony.SignalStrength;
49 SignalStrength mSignalStrength = new SignalStrength();
100 // TODO: use new SignalStrength instead of asu
167 mSignalStrength = SignalStrength.newFromBundle(intent.getExtras());
  /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
  /system/connectivity/shill/wimax/
mock_wimax_network_proxy.h 41 MOCK_METHOD1(SignalStrength, int(Error* error));
wimax_network_proxy_interface.h 54 virtual int SignalStrength(Error* error) = 0;
  /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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
MobileSignalController.java 24 import android.telephony.SignalStrength;
66 private SignalStrength mSignalStrength;
443 public void onSignalStrengthsChanged(SignalStrength signalStrength) {
445 Log.d(mTag, "onSignalStrengthsChanged signalStrength=" + signalStrength +
446 ((signalStrength == null) ? "" : (" level=" + signalStrength.getLevel())));
448 mSignalStrength = signalStrength;
  /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...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
SimStatus.java 38 import android.telephony.SignalStrength;
355 void updateSignalStrength(SignalStrength signalStrength) {
366 int signalDbm = signalStrength.getDbm();
367 int signalAsu = signalStrength.getAsuLevel();
439 public void onSignalStrengthsChanged(SignalStrength signalStrength) {
440 updateSignalStrength(signalStrength);
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DefaultPhoneNotifierTest.java 38 import android.telephony.SignalStrength;
51 SignalStrength mSignalStrength;
107 ArgumentCaptor<SignalStrength> signalStrengthArgumentCaptor =
108 ArgumentCaptor.forClass(SignalStrength.class);
  /frameworks/base/core/java/com/android/internal/app/
IBatteryStats.aidl 28 import android.telephony.SignalStrength;
96 void notePhoneSignalStrength(in SignalStrength signalStrength);

Completed in 429 milliseconds

1 2 3 4