/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthGsm.java | 48 private int mRssi; // in dBm [-113, -51] or UNAVAILABLE field in CellSignalStrengthGsm 63 mRssi = inRangeOrUnavailable(rssi, GSM_RSSI_MIN, GSM_RSSI_MAX); in CellSignalStrengthGsm() 76 mRssi = s.mRssi; in copyFrom() 91 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 117 if (mRssi < GSM_RSSI_MIN || mRssi > GSM_RSSI_MAX) { in updateLevel() 121 while (level > 0 && mRssi < rssiThresholds[level - 1]) level--; in updateLevel() 143 return mRssi; in getDbm() 156 return getAsuFromRssiDbm(mRssi); in getAsuLevel() 166 return mRssi; in getRssi() 181 return Objects.hash(mRssi, mBitErrorRate, mTimingAdvance); in hashCode() [all …]
|
D | NeighboringCellInfo.java | 58 private int mRssi; field in NeighboringCellInfo 93 mRssi = UNKNOWN_RSSI; in NeighboringCellInfo() 111 mRssi = rssi; in NeighboringCellInfo() 119 mRssi = info.getCellSignalStrength().getAsuLevel(); in NeighboringCellInfo() 120 if (mRssi == Integer.MAX_VALUE) mRssi = UNKNOWN_RSSI; in NeighboringCellInfo() 135 mRssi = info.getCellSignalStrength().getAsuLevel(); in NeighboringCellInfo() 136 if (mRssi == Integer.MAX_VALUE) mRssi = UNKNOWN_RSSI; in NeighboringCellInfo() 160 mRssi = rssi; in NeighboringCellInfo() 208 mRssi = in.readInt(); in NeighboringCellInfo() 223 return mRssi; in getRssi() [all …]
|
D | CellSignalStrengthWcdma.java | 74 private int mRssi; // in dBm [-113, 51] or CellInfo.UNAVAILABLE if unknown field in CellSignalStrengthWcdma 90 mRssi = inRangeOrUnavailable(rssi, WCDMA_RSSI_MIN, WCDMA_RSSI_MAX); in CellSignalStrengthWcdma() 104 mRssi = s.mRssi; in copyFrom() 120 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 171 if (mRssi < WCDMA_RSSI_MIN || mRssi > WCDMA_RSSI_MAX) { in updateLevel() 175 while (level > 0 && mRssi < sRssiThresholds[level - 1]) level--; in updateLevel() 187 return mRssi; in getDbm() 202 if (mRssi != CellInfo.UNAVAILABLE) return getAsuFromRssiDbm(mRssi); in getAsuLevel() 212 return mRssi; in getRssi() 248 return Objects.hash(mRssi, mBitErrorRate, mRscp, mEcNo, mLevel); in hashCode() [all …]
|
D | CellSignalStrengthTdscdma.java | 49 private int mRssi; // in dBm [-113, -51], CellInfo.UNAVAILABLE field in CellSignalStrengthTdscdma 71 mRssi = inRangeOrUnavailable(rssi, -113, -51); in CellSignalStrengthTdscdma() 84 mRssi = s.mRssi; in copyFrom() 99 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 145 return mRssi; in getRssi() 168 if (mRssi != CellInfo.UNAVAILABLE) return getAsuFromRssiDbm(mRssi); in getAsuLevel() 174 return Objects.hash(mRssi, mBitErrorRate, mRscp, mLevel); in hashCode() 190 return mRssi == s.mRssi in equals() 202 + " rssi=" + mRssi in toString() 212 dest.writeInt(mRssi); in writeToParcel() [all …]
|
D | CellSignalStrengthLte.java | 82 private int mRssi; field in CellSignalStrengthLte 140 mRssi = inRangeOrUnavailable(rssi, -113, -51); in CellSignalStrengthLte() 141 mSignalStrength = mRssi; in CellSignalStrengthLte() 176 mRssi = s.mRssi; in copyFrom() 197 mRssi = CellInfo.UNAVAILABLE; in setDefaultValues() 345 if (mRssi > -51) { in updateLevel() 347 } else if (mRssi >= -89) { in updateLevel() 349 } else if (mRssi >= -97) { in updateLevel() 351 } else if (mRssi >= -103) { in updateLevel() 353 } else if (mRssi >= -113) { in updateLevel() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 51 private int mRssi = AccessPoint.UNREACHABLE_RSSI; field in TestAccessPointBuilder 103 ap.setRssi(mRssi); in build() 133 mRssi = MIN_RSSI; in setLevel() 135 mRssi = MAX_RSSI; in setLevel() 139 mRssi = (int) (level * inputRange / outputRange + MIN_RSSI); in setLevel() 152 mRssi = rssi; in setRssi() 170 if (mRssi == AccessPoint.UNREACHABLE_RSSI) { in setReachable() 171 mRssi = MIN_RSSI; in setReachable() 174 mRssi = AccessPoint.UNREACHABLE_RSSI; in setReachable()
|
D | AccessPoint.java | 259 private int mRssi = UNREACHABLE_RSSI; field in AccessPoint 481 int difference = wifiManager.calculateSignalLevel(other.mRssi) in compareTo() 482 - wifiManager.calculateSignalLevel(mRssi); in compareTo() 507 result += 19 * mRssi; in hashCode() 542 builder.append(",rssi=").append(mRssi); in toString() 649 int speed = timedScore.getScore().calculateBadge(mRssi); in generateAverageSpeedForSsid() 903 return getWifiManager().calculateSignalLevel(mRssi); in getLevel() 907 return mRssi; in getRssi() 954 if (bestRssi != UNREACHABLE_RSSI && mRssi != UNREACHABLE_RSSI) { in updateBestRssiInfo() 955 mRssi = (mRssi + bestRssi) / 2; in updateBestRssiInfo() [all …]
|
/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 | 31 private int mRssi = UNKNOWN_INT; field in MobileLinkQualityInfo 57 dest.writeInt(mRssi); in writeToParcel() 82 li.mRssi = in.readInt(); in createFromParcelBody() 120 return mRssi; in getRssi() 128 mRssi = Rssi; in setRssi()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 112 short mRssi; field in CachedBluetoothDevice 868 if (mRssi != rssi) { in setRssi() 869 mRssi = rssi; in setRssi() 1131 comparison = another.mRssi - mRssi; in compareTo() 1900 final short tmpRssi = mRssi; in switchSubDeviceContent() 1906 mRssi = mSubDevice.mRssi; in switchSubDeviceContent() 1912 mSubDevice.mRssi = tmpRssi; in switchSubDeviceContent() 1956 final short tmpRssi = mRssi; in switchMemberDeviceContent() 1963 mRssi = newMainDevice.mRssi; in switchMemberDeviceContent() 1971 newMainDevice.mRssi = tmpRssi; in switchMemberDeviceContent()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDeviceTest.java | 1795 mCachedDevice.mRssi = RSSI_1; in switchSubDeviceContent() 1798 mSubCachedDevice.mRssi = RSSI_2; in switchSubDeviceContent() 1806 assertThat(mCachedDevice.mRssi).isEqualTo(RSSI_2); in switchSubDeviceContent() 1811 assertThat(mSubCachedDevice.mRssi).isEqualTo(RSSI_1); in switchSubDeviceContent() 1897 mCachedDevice.mRssi = RSSI_1; in switchMemberDeviceContent_switchMainDevice_switchesSuccessful() 1900 mSubCachedDevice.mRssi = RSSI_2; in switchMemberDeviceContent_switchMainDevice_switchesSuccessful() 1907 assertThat(mCachedDevice.mRssi).isEqualTo(RSSI_2); in switchMemberDeviceContent_switchMainDevice_switchesSuccessful() 1912 assertThat(mSubCachedDevice.mRssi).isEqualTo(RSSI_1); in switchMemberDeviceContent_switchMainDevice_switchesSuccessful()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 33242 Landroid/net/MobileLinkQualityInfo;->mRssi:I 33828 Landroid/net/WifiLinkQualityInfo;->mRssi:I
|