49410c13ba2284fb7c836fd3527dc526ea5681a0 |
|
07-Jun-2016 |
Glen Kuhne <kuh@google.com> |
DO NOT MERGE WifiMetrics: Record capture duration Adds a wifi metric that records the capture duration period represented by the WifiLog proto. This is to improve the way wifiLogs are weighted when aggregated. Modified WifiMetrics to use the Clock wrapper of SystemClock to facilitate unit tests. BUG=29185886 Change-Id: I61dd2b481c26f0ea21bcb280ce1d40f3d73b7625
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
5f001750a0ce82a8b3a47ac566117d4de27f3e23 |
|
22-Apr-2016 |
Glen Kuhne <kuh@google.com> |
WifiLastResortWatchdog metrics Added logging of various metrics to the WifiLastResortWatchdog. These metrics count the number of times the Watchdog triggers, and stats counting the number of networks present at failure time for different failure types. BUG=27856474 Change-Id: If43836b1c33791fefb8000196b231c312161feef
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
ce003b812aead64dcb36647180991150021b24c1 |
|
12-Apr-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetrics Extension Extended the wifi metrics proto with the changes submitted logs/proto/wireless/android/play/playlog/connectivity/wifi.proto in CL/119321981. Added interfaces to WifiMetrics for incrementing the Connectivity Watchdog counts. The new Connectivity Watchdog metrics can be viewed in the 'WifiMetrics' section output by: adb shell dumpsys wifi BUG=27479439 Change-Id: I38f0a0ad7c7e0b4d3f0054c818d188ac1b171121
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
c2c2648141e6190d85601ee8a6a1d0034e7ff927 |
|
11-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Add scanning into WifiMetrics Added calls to WifiMetrics to increment various scanning metrics, in the Single & Background - ScanStateMachine's. Added expected metrics value checks to existing unit tests. BUG=25691077 Change-Id: I7c335d829876f6b31220571bb4330b7b30f4cc0e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
96cdfc0acafef88832515ecc52c01638c1493211 |
|
11-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Various WifiMetrics fixes -WifiMetrics now determines if repeated 'startConnectionEvent' are for the same attempt, and adds the failure code FAILURE_REDUNDANT_CONNECTION_ATTEMPT to designate this. -Added end condition for roaming timeouts -Modifed the naming of all failures to be less cryptic -level_2_failure_code will now be used to log all failure reasons (making ConnectivityLevelFailure a redundant subset) -Started using ScanResult frequency instead of WifiConfiguration for 'ChannelInfo' -Added AuthType checking on 'startConnectionEvent' (Also doing it when we receive scanResults after associating with the BSSID) -Refactored all of the config stuff out of startConnectionEvent() into updateFromWifiConfiguration BUG=25691077 Change-Id: Id1de2d5dea88611f81e58fed71e6b4e0ee88159a
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
28345f81bf3f95e25946d398d594f39141c41442 |
|
05-Mar-2016 |
Mitchell Wills <mwills@google.com> |
Make sure all tests are annotated with a size Bug: 27428545 Change-Id: I98e9c28a22190b6455bb74bbee54f558f6574612
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
f5cc6a0c7ede374b33de1cf5156bf149e2e76c13 |
|
01-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Add Supported Rates and 802.11 Mode detection Added an Information Element parser for Supported and Extended Supported Rates. Uses this information and other IEs to determine the 802.11 Mode (a/b/g/n/ac) being used by APs, stores it in their scan results. Modified WifiMetrics to receive and store this metric from a ScanDetail Added calls to WifiMetrics from WifiStateMachine to give it a ScanDetail Minor fix to WifiStateMachine's tracking of TargetNetworkId, which it was clearing incorrectly on NETWORK_DISCONNECTION_EVENT BUG=25691077 BUG=27446779 Change-Id: I63af5911916bfec87628aeb4e1ed4f9138acfafa
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
4dead162c5336443e9d7b3deae5eb26b07d39254 |
|
19-Feb-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetric ConnectionEvent logging refactor Modified the placement of start & end-ConnectionEvent() calls in WifiStateMachine and the Roam Types they use, to more accurately describe the types of connection events that are occuring. Improved the human readability of metrics when as part of 'dumpsys wifi'. BUG=25691077 Change-Id: Ia8bd8415cab0feec476e012fd1b0bfa358e35e52
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
2532a24b254d724a9b6771d327dc410b32b18602 |
|
05-Feb-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetrics ConnectionEvent logging Reworked ConnectionEvent start and end calls within StateMachine to produce a more correct log of ConnectionEvents (previously these calls produced an incorrect placeholder log). Some ConnectionEvents being triggered by CMD_AUTO_CONNECT are still not being ended due to double CMD_AUTO_CONNECT calls. Modified the behaviour of endConnectionEvent(), this will not create or modify ConnectionEvents if there is no currentConnectionEvent. BUG=25691077 Change-Id: I932b50cef5d6d66a7dc22f8c118fe9c140a5f4ba
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
11638f348ba45f9f417928e79b81186cef76c561 |
|
27-Jan-2016 |
Glen Kuhne <kuh@google.com> |
WifiMetric shorter proto dump Before, proto was dumped as part of the standard Wifi dump using: 'dumpsys wifi proto' Now, proto is dumped on its own using: 'dumpsys wifi wifiMetricsProto' This reduces dump size significantly. The old dumpsys argument is no longer used to dump the proto. BUG=25691077 Change-Id: I7c7d09b906b11af7842d07fc719bf52dca9ba438
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|
1b067831bbff14f8e7a99b927b69f714d1b03448 |
|
04-Jan-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics, Initial Commit Created WifiMetrics class to log wireless metrics. Dumps Metrics as Base64 wifi.proto, with dumpsys option 'proto'. Implements SOME metric collection from wifi service Bug: 25691077 Change-Id: I28a745b5f66dd1d38868b7eadd79882fd2c5c5a2
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiMetricsTest.java
|