/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | RssiUtilTest.java | 69 int expected = WifiManager.calculateSignalLevel(rssi, WifiManager.RSSI_LEVELS); in testCalculateSignalLevelImplementationsConsistent() 70 int actual = RssiUtil.calculateSignalLevel(mContext, rssi); in testCalculateSignalLevelImplementationsConsistent() 78 assertThat(RssiUtil.calculateSignalLevel(mContext, -100)).isEqualTo(0); in testCalculateSignalLevel() 79 assertThat(RssiUtil.calculateSignalLevel(mContext, -89)).isEqualTo(0); in testCalculateSignalLevel() 80 assertThat(RssiUtil.calculateSignalLevel(mContext, -88)).isEqualTo(1); in testCalculateSignalLevel() 81 assertThat(RssiUtil.calculateSignalLevel(mContext, -78)).isEqualTo(1); in testCalculateSignalLevel() 82 assertThat(RssiUtil.calculateSignalLevel(mContext, -77)).isEqualTo(2); in testCalculateSignalLevel() 83 assertThat(RssiUtil.calculateSignalLevel(mContext, -67)).isEqualTo(2); in testCalculateSignalLevel() 84 assertThat(RssiUtil.calculateSignalLevel(mContext, -66)).isEqualTo(3); in testCalculateSignalLevel() 85 assertThat(RssiUtil.calculateSignalLevel(mContext, -56)).isEqualTo(3); in testCalculateSignalLevel() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | RssiUtil.java | 28 public static int calculateSignalLevel(Context context, int rssi) { in calculateSignalLevel() method in RssiUtil
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardWifiEntryTest.java | 113 when(mMockWifiManager.calculateSignalLevel(GOOD_RSSI)) in setUp() 115 when(mMockWifiManager.calculateSignalLevel(OKAY_RSSI)) in setUp() 117 when(mMockWifiManager.calculateSignalLevel(BAD_RSSI)) in setUp()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | OsuWifiEntry.java | 272 ? mWifiManager.calculateSignalLevel(bestScanResult.level) in updateScanResultInfo()
|
D | WifiEntry.java | 606 mLevel = mWifiManager.calculateSignalLevel(wifiInfoRssi); in updateConnectionInfo()
|
D | PasspointWifiEntry.java | 556 ? mWifiManager.calculateSignalLevel(bestScanResult.level) in updateScanResultInfo()
|
D | StandardWifiEntry.java | 692 ? mWifiManager.calculateSignalLevel(bestScanResult.level) in updateScanResultInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 206 level = mWifiManager.calculateSignalLevel(rssi); in updateRssi()
|
D | AccessPoint.java | 470 int difference = wifiManager.calculateSignalLevel(other.mRssi) in compareTo() 471 - wifiManager.calculateSignalLevel(mRssi); in compareTo() 892 return getWifiManager().calculateSignalLevel(mRssi); in getLevel()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 256 int calculateSignalLevel(int rssi); in calculateSignalLevel() method
|
D | WifiManager.java | 2961 public static int calculateSignalLevel(int rssi, int numLevels) { in calculateSignalLevel() method in WifiManager 2982 public int calculateSignalLevel(int rssi) { in calculateSignalLevel() method in WifiManager 2984 return mService.calculateSignalLevel(rssi); in calculateSignalLevel() 2996 return calculateSignalLevel(Integer.MAX_VALUE); in getMaxSignalLevel()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2197 when(mWifiService.calculateSignalLevel(anyInt())).thenReturn(3); in testCalculateSignalLevel() 2198 int actual = mWifiManager.calculateSignalLevel(-60); in testCalculateSignalLevel() 2199 verify(mWifiService).calculateSignalLevel(-60); in testCalculateSignalLevel() 2206 when(mWifiService.calculateSignalLevel(anyInt())).thenReturn(4); in testGetMaxSignalLevel() 2208 verify(mWifiService).calculateSignalLevel(Integer.MAX_VALUE); in testGetMaxSignalLevel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | BaseWifiService.java | 626 public int calculateSignalLevel(int rssi) { in calculateSignalLevel() method in BaseWifiService
|
D | WifiServiceImpl.java | 4237 public int calculateSignalLevel(int rssi) { 4238 return RssiUtil.calculateSignalLevel(mContext, rssi);
|
D | ClientModeImpl.java | 2458 int newSignalLevel = RssiUtil.calculateSignalLevel(mContext, newRssi); in fetchRssiLinkSpeedAndFrequencyNative() 2549 RssiUtil.calculateSignalLevel(mContext, newRssi)); in sendRssiChangeBroadcast()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 168 }).when(mMockWm).calculateSignalLevel(anyInt()); in setUp()
|
/frameworks/base/wifi/api/ |
D | current.txt | 307 method @Deprecated public static int calculateSignalLevel(int, int); 308 method @IntRange(from=0) public int calculateSignalLevel(int);
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 527 when(mMockWifiManager.calculateSignalLevel(rssi)).thenReturn(4);
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 5840 int strengthBin = WifiManager.calculateSignalLevel(newRssi, NUM_WIFI_SIGNAL_STRENGTH_BINS); in noteWifiRssiChangedLocked()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/base/api/ |
D | current.txt | 31387 method @Deprecated public static int calculateSignalLevel(int, int); 31388 method @IntRange(from=0) public int calculateSignalLevel(int);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18030 method public static int calculateSignalLevel(int, int);
|