Home
last modified time | relevance | path

Searched refs:mRssi (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DNeighboringCellInfo.java50 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/core/java/android/bluetooth/le/
DScanResult.java82 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/lowpan/java/android/net/lowpan/
DLowpanBeaconInfo.java38 private int mRssi = UNKNOWN_RSSI; field in LowpanBeaconInfo
81 mBeaconInfo.mRssi = x; in setRssi()
121 return mRssi; in getRssi()
146 if (mRssi != UNKNOWN_RSSI) { in toString()
147 sb.append(", RSSI:").append(mRssi).append("dBm"); in toString()
174 return Objects.hash(mIdentity, mRssi, mLqi, Arrays.hashCode(mBeaconAddress), mFlags); in hashCode()
185 && mRssi == rhs.mRssi in equals()
200 dest.writeInt(mRssi); in writeToParcel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java48 private int mRssi = AccessPoint.UNREACHABLE_RSSI; field in TestAccessPointBuilder
101 ap.setRssi(mRssi); in build()
129 mRssi = MIN_RSSI; in setLevel()
131 mRssi = MAX_RSSI; in setLevel()
135 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel()
148 mRssi = rssi; in setRssi()
166 if (mRssi == AccessPoint.UNREACHABLE_RSSI) { in setReachable()
167 mRssi = MIN_RSSI; in setReachable()
170 mRssi = AccessPoint.UNREACHABLE_RSSI; in setReachable()
DAccessPoint.java188 private int mRssi = UNREACHABLE_RSSI; field in AccessPoint
318 this.mRssi = that.mRssi; in copyFrom()
369 int difference = WifiManager.calculateSignalLevel(other.mRssi, SIGNAL_LEVELS) in compareTo()
370 - WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in compareTo()
395 result += 19 * mRssi; in hashCode()
430 builder.append(",rssi=").append(mRssi); in toString()
532 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid()
621 return WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in getLevel()
625 return mRssi; in getRssi()
649 if (rssi != UNREACHABLE_RSSI && mRssi != UNREACHABLE_RSSI) { in updateRssi()
[all …]
/frameworks/base/core/java/android/net/
DWifiLinkQualityInfo.java34 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()
DMobileLinkQualityInfo.java29 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/opt/net/wifi/service/java/com/android/server/wifi/
DAggressiveConnectedScore.java34 private int mRssi = 0; field in AggressiveConnectedScore
46 mRssi = rssi; in updateUsingRssi()
52 mRssi = wifiInfo.getRssi(); in updateUsingWifiInfo()
63 int score = (mRssi - badRssi) + WIFI_TRANSITION_SCORE; in generateScore()
/frameworks/opt/net/lowpan/libandroid_net_lowpan/
DLowpanBeaconInfo.cpp93 mRssi = value; in setRssi()
129 mRssi(builder.mRssi), in LowpanBeaconInfo()
143 RETURN_IF_FAILED(parcel->writeInt32(mRssi)); in writeToParcel()
165 RETURN_IF_FAILED(parcel->readInt32(&mRssi)); in readFromParcel()
195 if (mRssi != rhs.mRssi) { in operator ==()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java88 private int mRssi; field in WifiInfo
274 mRssi = INVALID_RSSI; in WifiInfo()
316 mRssi = source.mRssi; in WifiInfo()
395 return mRssi; in getRssi()
404 mRssi = rssi; in setRssi()
617 append(", RSSI: ").append(mRssi). in toString()
634 dest.writeInt(mRssi); in writeToParcel()
/frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/
DLowpanBeaconInfo.h59 int32_t mRssi; variable
89 int32_t mRssi; variable
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java57 private short mRssi; field in CachedBluetoothDevice
459 if (mRssi != rssi) { in setRssi()
460 mRssi = rssi; in setRssi()
678 comparison = another.mRssi - mRssi; in compareTo()