Searched refs:mRssi (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/telephony/java/android/telephony/ |
D | NeighboringCellInfo.java | 50 private int mRssi; field in NeighboringCellInfo 81 mRssi = UNKNOWN_RSSI; in NeighboringCellInfo() 99 mRssi = rssi; in NeighboringCellInfo() 115 mRssi = rssi; in NeighboringCellInfo() 163 mRssi = in.readInt(); in NeighboringCellInfo() 178 return mRssi; in getRssi() 256 mRssi = rssi; in setRssi() 266 .append("@").append(((mRssi == UNKNOWN_RSSI)? "-" : mRssi)); in toString() 270 .append("@").append(((mRssi == UNKNOWN_RSSI)? "-" : mRssi)); in toString() 282 dest.writeInt(mRssi); in writeToParcel()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 39 private int mRssi = AccessPoint.UNREACHABLE_RSSI; field in TestAccessPointBuilder 71 ap.setRssi(mRssi); in build() 97 mRssi = MIN_RSSI; in setLevel() 99 mRssi = MAX_RSSI; in setLevel() 103 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel() 114 mRssi = rssi; in setRssi() 126 if (mRssi == AccessPoint.UNREACHABLE_RSSI) { in setReachable() 127 mRssi = MIN_RSSI; in setReachable() 130 mRssi = AccessPoint.UNREACHABLE_RSSI; in setReachable()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanResult.java | 82 private int mRssi; field in ScanResult 107 mRssi = rssi; in ScanResult() 140 mRssi = rssi; in ScanResult() 164 dest.writeInt(mRssi); in writeToParcel() 181 mRssi = in.readInt(); in readFromParcel() 215 return mRssi; in getRssi() 295 return Objects.hash(mDevice, mRssi, mScanRecord, mTimestampNanos, in hashCode() 310 return Objects.equals(mDevice, other.mDevice) && (mRssi == other.mRssi) && in equals() 324 Objects.toString(mScanRecord) + ", rssi=" + mRssi + in toString()
|
/frameworks/base/core/java/android/net/ |
D | WifiLinkQualityInfo.java | 34 private int mRssi = UNKNOWN_INT; field in WifiLinkQualityInfo 49 dest.writeInt(mRssi); in writeToParcel() 66 li.mRssi = in.readInt(); in createFromParcelBody() 110 return mRssi; in getRssi() 117 mRssi = rssi; in setRssi()
|
D | MobileLinkQualityInfo.java | 29 private int mRssi = UNKNOWN_INT; field in MobileLinkQualityInfo 51 dest.writeInt(mRssi); in writeToParcel() 76 li.mRssi = in.readInt(); in createFromParcelBody() 112 return mRssi; in getRssi() 119 mRssi = Rssi; in setRssi()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiInfo.java | 88 private int mRssi; field in WifiInfo 264 mRssi = INVALID_RSSI; in WifiInfo() 306 mRssi = source.mRssi; in WifiInfo() 384 return mRssi; in getRssi() 393 mRssi = rssi; in setRssi() 584 append(", RSSI: ").append(mRssi). in toString() 601 dest.writeInt(mRssi); in writeToParcel()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 141 private int mRssi = UNREACHABLE_RSSI; field in AccessPoint 244 this.mRssi = that.mRssi; in copyFrom() 291 int difference = WifiManager.calculateSignalLevel(other.mRssi, SIGNAL_LEVELS) in compareTo() 292 - WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in compareTo() 310 result += 19 * mRssi; in hashCode() 338 builder.append(",mRssi=").append(mRssi); in toString() 458 return WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in getLevel() 462 return mRssi; in getRssi() 490 if (rssi != UNREACHABLE_RSSI && mRssi != UNREACHABLE_RSSI) { in updateRssi() 491 mRssi = (mRssi + rssi) / 2; // half-life previous value in updateRssi() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 54 private short mRssi; field in CachedBluetoothDevice 433 if (mRssi != rssi) { in setRssi() 434 mRssi = rssi; in setRssi() 652 comparison = another.mRssi - mRssi; in compareTo()
|