diff options
author | Roshan Pius <rpius@google.com> | 2016-11-17 12:54:39 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2016-11-18 01:00:32 +0000 |
commit | 2bf8cc9cabe26484345f416136495a767b453e01 (patch) | |
tree | 3245757b120384a96b8c7d34d02c4781110ea4b1 /tests | |
parent | 4365d22b77f31af7567fc12a90786c63cdc5c484 (diff) |
WifiConnectivityManager: Disable PNO scans
Will enable this back once wificond is ready to accept PNO scan
requests from WifiScanningService. For now, we'll perform periodic
single scans instead of PNO when screen if off & disconnected.
Bug: 32907581
Test: Will send for regression tests
Change-Id: I6a4ade71626524fadbe515720f07fed3c28aa967
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java b/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java index 9e52eb229..1c33a2dda 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiConnectivityManagerTest.java @@ -47,6 +47,7 @@ import com.android.internal.R; import org.junit.After; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.mockito.ArgumentCaptor; @@ -500,6 +501,7 @@ public class WifiConnectivityManagerTest { * because of their low RSSI values. */ @Test + @Ignore("b/32977707") public void pnoRetryForLowRssiNetwork() { when(mWifiNS.selectNetwork(anyObject(), anyObject(), anyBoolean(), anyBoolean(), anyBoolean())).thenReturn(null); @@ -531,6 +533,7 @@ public class WifiConnectivityManagerTest { * a candidate while watchdog single scan did. */ @Test + @Ignore("b/32977707") public void watchdogBitePnoBadIncrementsMetrics() { // Set screen to off mWifiConnectivityManager.handleScreenStateChanged(false); @@ -554,6 +557,7 @@ public class WifiConnectivityManagerTest { * a candidate which was the same with watchdog single scan. */ @Test + @Ignore("b/32977707") public void watchdogBitePnoGoodIncrementsMetrics() { // Qns returns no candidate after watchdog single scan. when(mWifiNS.selectNetwork(anyObject(), anyObject(), anyBoolean(), anyBoolean(), |