From 63ed9c98ef8f796fbdee8dafe5a6de0a81e0ccbd Mon Sep 17 00:00:00 2001 From: xshu Date: Mon, 23 Jul 2018 15:18:01 -0700 Subject: Removing unused scoring thresholds Bug: 76156154 Test: compile, unit tests Test: flash Test: Device boots Test: Wifi is connected successfully Change-Id: I2a9b9e25f0a612cee2539b510504ff5d01cbf847 --- .../src/com/android/server/wifi/WifiScoreReportTest.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'tests') diff --git a/tests/wifitests/src/com/android/server/wifi/WifiScoreReportTest.java b/tests/wifitests/src/com/android/server/wifi/WifiScoreReportTest.java index 3e9e9217c..3a678bbef 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiScoreReportTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiScoreReportTest.java @@ -105,18 +105,6 @@ public class WifiScoreReportTest { when(resources.getInteger( R.integer.config_wifi_framework_wifi_score_good_rssi_threshold_24GHz)) .thenReturn(-60); - when(resources.getInteger( - R.integer.config_wifi_framework_wifi_score_bad_link_speed_24)) - .thenReturn(6); // Mbps - when(resources.getInteger( - R.integer.config_wifi_framework_wifi_score_bad_link_speed_5)) - .thenReturn(12); - when(resources.getInteger( - R.integer.config_wifi_framework_wifi_score_good_link_speed_24)) - .thenReturn(24); - when(resources.getInteger( - R.integer.config_wifi_framework_wifi_score_good_link_speed_5)) - .thenReturn(36); } /** -- cgit v1.2.3