Home
last modified time | relevance | path

Searched refs:dbm (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DCellSignalStrength.java119 protected static final int getAsuFromRssiDbm(int dbm) { in getAsuFromRssiDbm() argument
120 if (dbm == CellInfo.UNAVAILABLE) return 99; in getAsuFromRssiDbm()
121 return (dbm + 113) / 2; in getAsuFromRssiDbm()
133 protected static final int getAsuFromRscpDbm(int dbm) { in getAsuFromRscpDbm() argument
134 if (dbm == CellInfo.UNAVAILABLE) return 255; in getAsuFromRscpDbm()
135 return dbm + 120; in getAsuFromRscpDbm()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/
Dsimulate_wifi.py817 def addFakeScan(ssid: str, bssid: str, cap: str, freq: int = 2412, dbm: int = -55) -> None:
818 …rocess.run(["adb", "shell", "cmd", "wifi", "add-fake-scan", ssid, bssid, cap, str(freq), str(dbm)])
820 def addFakeOpenScan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
821 addFakeScan(ssid, bssid, "[ESS]", freq, dbm)
823 def addFakeWpa2Scan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
824 addFakeScan(ssid, bssid, "[WPA2-PSK-CCMP][RSN-PSK-CCMP][ESS]", freq, dbm)
826 def addFakeWpa3Scan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
827 addFakeScan(ssid, bssid, "[RSN-SAE+FT/SAE-CCMP][ESS]", freq, dbm)
829 def addFakeOweScan(ssid: str, bssid: str, freq: int = 2412, dbm: int = -55) -> None:
830 addFakeScan(ssid, bssid, "[RSN-OWE-CCMP]", freq, dbm)
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java3674 DropBoxManager dbm = (DropBoxManager) getContext().getSystemService(
3676 if (dbm != null && dbm.isTagEnabled(DROPBOX_TAG_USERLOG)) {
3677 dbm.addText(DROPBOX_TAG_USERLOG, System.currentTimeMillis()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java2928 return new CellSignalStrengthCdma(-cdma.dbm, -cdma.ecio, -evdo.dbm, -evdo.ecio, in convertHalCdmaSignalStrength()
2942 return new CellSignalStrengthCdma(-cdma.dbm, -cdma.ecio, -evdo.dbm, -evdo.ecio, in convertHalCdmaSignalStrength()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java2148 cdmaSignalStrength.dbm = -DBM; in getCellInfoCdma_1_2()
2153 evdoSignalStrength.dbm = -DBM; in getCellInfoCdma_1_2()