summaryrefslogtreecommitdiffstats
path: root/tests/wifitests/src/com/android/server/wifi/CellularLinkLayerStatsCollectorTest.java
Commit message (Collapse)AuthorAgeFilesLines
* WiFi unit test: mock static methods of SubscriptionManager properly.Kai Shi2019-03-201-2/+16
| | | | | | | | | | | The following static methods are mocked by using ExtendedMockito: SubscriptionManager.getDefaultDataSubscriptionId() SubscriptionManager.getDefaultSubscriptionId() Bug: 128966900 Bug: 128949241 Test: Unit tests for Wifi: frameworks/opt/net/wifi/tests/wifitests/runtest.sh Change-Id: I88bf7fdf86eb9d49e03c33404b0e8e958ecf0b38
* Wifi usability: add four new fields to report the latest cellular signal ↵Kai Shi2019-03-181-0/+305
strength cellularDataNetworkType cellularSignalStrengthDbm cellularSignalStrengthDb isSameRegisteredCell Two new classes, CellularLinkLayerStats and CellularLinkLayerStatsCollector, are also added to help data collection. Bug: 123095038 Test: Unit tests for Wifi: frameworks/opt/net/wifi/tests/wifitests/runtest.sh and manual test Change-Id: I2ffb4bd64096b6191c5444dd74dd18cef7fc4c4b