diff options
author | David Su <dysu@google.com> | 2018-10-10 16:49:03 -0700 |
---|---|---|
committer | David Su <dysu@google.com> | 2018-10-10 16:58:25 -0700 |
commit | f2f61212b1025e2e19148d5d5f08fdce64b16799 (patch) | |
tree | 1af0ef65829c1740f7b5847dfc694c71afc89b56 /tests | |
parent | 1223e9aa52466139b4de0637c4f9dd3d00b8b20b (diff) |
Moved WifiWakeReasonAndCounts into opt/net/wifi
Moved WifiWakeReasonAndCounts from base/wifi into opt/net/wifi
and renamed it to WlanWakeReasonAndCounts. This class is only used
internally and not exposed in the public API, so it did not make
sense to leave it in base/wifi. Renamed it to WlanWakeReasonAndCounts
to reduce confusion between this class and the "Wifi Wake" feature.
Bug: 73503971
Change-Id: Ie1a1c9f742a5104e5fba943d8ea8186438349b37
Fix: 73503971
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java index 9ca722164..65ff7d2c9 100644 --- a/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java +++ b/tests/wifitests/src/com/android/server/wifi/WifiVendorHalTest.java @@ -84,7 +84,6 @@ import android.net.wifi.ScanResult; import android.net.wifi.WifiManager; import android.net.wifi.WifiScanner; import android.net.wifi.WifiSsid; -import android.net.wifi.WifiWakeReasonAndCounts; import android.os.Looper; import android.os.RemoteException; import android.os.test.TestLooper; @@ -1893,7 +1892,7 @@ public class WifiVendorHalTest { assertTrue(mWifiVendorHal.startVendorHalSta()); - WifiWakeReasonAndCounts retrievedStats = mWifiVendorHal.getWlanWakeReasonCount(); + WlanWakeReasonAndCounts retrievedStats = mWifiVendorHal.getWlanWakeReasonCount(); verify(mIWifiChip).getDebugHostWakeReasonStats( any(IWifiChip.getDebugHostWakeReasonStatsCallback.class)); assertNotNull(retrievedStats); |