2a0ad34fff0956b85afa702617a3322ca85c3dca |
|
16-May-2017 |
Roshan Pius <rpius@google.com> |
WifiMetrics: Add methods to increment new hal/cond metrics Bug: 36586897 Test: Unit tests Change-Id: Ic3bca30e59111923f6c7b65e8955b4d37046b2e0 (cherry picked from commit bd2cff58fca2f3d9a0cd6df8526b23f48d9d44ec)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
031cdffdaf223772d4ea52569ec7a08d00013208 |
|
02-May-2017 |
Glen Kuhne <kuh@google.com> |
Fix potential NPE in WifiService dump Added nullchecks to WifiServiceImpl & WifiMetrics dump methods usage of args. This is a precaution to similar null pointer exceptions that were occuring in statemachine dump methods. Bug: 37907061 Test: Added some unit tests Change-Id: I0ab74421cddc31f7270cdd314fb86678194be0f0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
46c84f9fd984cc4b67f5252e30bce7f756be558c |
|
01-Mar-2017 |
Glen Kuhne <kuh@google.com> |
New Wifi Metrics Connection Event logging Created a new StaEventList which logs all commands & messages from Supplicant, Framework and the API that can modify the state of a STA connection. Upto 512 of these are listed atomically and added to the WifiMetrics report. This enables metrics about the full lifetime of a Connection. Bug: 35799311 Test: Added Unit tests Change-Id: I11f75995f15203c9d38f78fe175de0fc4702e3b2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
4353eeded2052537b3e52f44718e36c718e1815b |
|
24-Feb-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiMetrics: use SoftAp return code metrics am: 44ce135519 am: 1e549db1ce am: 9d4ada7e92 Change-Id: I6b1434c256596b4e214d7d04c853b01265653a10
|
44ce135519e22d8c4746abac21c14111f1ce8667 |
|
25-Jan-2017 |
Rebecca Silberstein <silberst@google.com> |
WifiMetrics: use SoftAp return code metrics Add calls to populate SoftAp startup return code values to metrics. This CL also adds the handling of these metrics in WifiMetrics. The newly tracked SoftAp start return code metric is also added to the WifiMetricsTest. Bug: 30899122 Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: frameworks/base/wifi/tests/runtests.sh Test: manually verified code counts incrementing with dumpsys wifi Change-Id: I9256e08c0de6e9d4132e5aab3d604ba0ef6922c0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
0f1d4a719339c70b2d3d7e3322964b1852df6cd5 |
|
24-Feb-2017 |
Glen Kuhne <kuh@google.com> |
Merge "Move WSM.updateWifiMetrics into WifiMetrics" am: a350867b69 am: dbcaebacde am: 2371fcccf8 Change-Id: I59029df5841939a00d9f3812753f677ac15100cd
|
3c6e92f51984ba8999d5efe622b4a52dd18bdaff |
|
23-Feb-2017 |
Glen Kuhne <kuh@google.com> |
Move WSM.updateWifiMetrics into WifiMetrics Made this functionality internal to WifiMetrics. WSM passes it a list of Saved Networks, and WifiMetrics does all the counting. While I was here, cleaned up an unreachable code path in WSM.dump, that gets preempted by WifiServiceImpl.dump (The part that dumps the raw proto bytes). Bug: 35675572 Test: new unit tests Change-Id: Id0a2b71d08679410931a01c3e958aa1ba5558e6a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
da94688198c864bb29be2e9603ebbe9ae6492a87 |
|
01-Nov-2016 |
Tamas Berghammer <tberghammer@google.com> |
Update package names to work with the proto3 compiler Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
c99f344e111308961090154f0705b16c7695b2a3 |
|
06-Oct-2016 |
Glen Kuhne <kuh@google.com> |
WiFi Metrics: Add RSSI delta metric (poll v scan) am: 5cab82f2e7 Change-Id: I27eee0a732b02abee35226e512da761f8e6d7156
|
5cab82f2e70c360de79e6ca50da25c7657ed345d |
|
21-Sep-2016 |
Glen Kuhne <kuh@google.com> |
WiFi Metrics: Add RSSI delta metric (poll v scan) Created a new metric that logs the difference in RSSI values between a ScanResult and the first RSSI poll received after attempting to connect to the AP in that ScanResult. RSSI poll must come within 3 seconds of framework's connections attempt, and is not counted if the connection attempt fails. The value logged is: delta = poll.rssi - scanResult.rssi While I was here: Updated wifi.proto to match downstream placeholder metrics. Test: Added unit tests Bug: 31239324 Change-Id: Ice3768df3e8b5c05ff74e7d75e205748403430dc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
5cc95b0c3ceae76858994ffe3b251535db05b8bc |
|
21-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output am: 9ff7dea01b am: f23ded8ccf am: 2c535417a5 Change-Id: Ic36b8942abd0eb85cf3bd05dcd87e68b55ce8d67
|
2c535417a5a1b039b8ebb2492a84b08ac0c5a7db |
|
20-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output am: 9ff7dea01b am: f23ded8ccf Change-Id: Ica8f3a5ecfcf8d112aad6e92709f4f2d1e87e5d6
|
f23ded8ccfb2b248dd6bfac02b296d3c53c2ffd1 |
|
20-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output am: 9ff7dea01b Change-Id: I0f70d997c1db1f13a4907e9701ad9adf55c25bd7
|
9ff7dea01b09f658492b7b8fa122695e56d28cdc |
|
17-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: dumpsys arg for clean output Modify the way dumpsys works in wifi so that 'dumpsys wifi wifiMetricsProto clean' outputs only serialized base64 encoded wifi metrics proto bytes. BUG=31556602 Test: Created new unit test Change-Id: Id1aa319a03a5e2bcffb1276057cb770679015abd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
8e78c2fca2794f85b5aeb81fd1940203b1fdb8fb |
|
03-Sep-2016 |
Sohani Rao <sohanirao@google.com> |
DO NOT MERGE ANYWHERE: resolve merge conflicts of 275e60e to nyc-mr1-dev-plus-aosp Change-Id: If2a00151eadc7b7e6b1aa3202f204a4f3393f3ee
|
22fcd83c560e45deaadb22795dd2683ebd923914 |
|
15-Aug-2016 |
Sohani Rao <sohanirao@google.com> |
Define and track Wifi scores to report Wifi metrics Add a proto definition to track counts corresponding to wifi scores Scores are calculated in WifiScoreReport and metrics are updated in calculateAndReportScore. Wifi scores are limited in a range [0, 60] where the max score is the base score assigned by Network Agent. To ensure the size of the map is limited, any scores out of this range will be dropped. Updated test framework to validate score tracking and check out of bound values are dropped. The unit tests also ensure the base score is within reasonable limits. Merge details: This is a merge from CL 1326502 on master. Merge conflicts were mainly due to code placement and only major difference was the call to calculateScore as it has different arguments on the branches. BUG=29418013 Change-Id: Iaf22ed7dc7fb73413739507406ec88d7719b362e TEST=Wifi Unit tests, Walk tests and log scores via dumpsys DEVICE=angler
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
85ba9071add5cfe01a4be3c73c62af021da30e47 |
|
02-Sep-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of d0afd7c to nyc-mr1-dev-plus-aosp Change-Id: I2b51bb2b0594f04d42de65752ad39accf45d4280
|
b72b5dd4e8d36f873aa8a261d046a01eade136d0 |
|
02-Sep-2016 |
Glen Kuhne <kuh@google.com> |
Fix yet another build breakage Cherry picked wifi metrics CL's to MR1, resolved merge conflict which introduced a build breakage. Change-Id: Id7178a028ff06e44bf0b7fd5340214757c54c33b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
8661c9caaeec7b7bf50c98a44f635d3138d3910f |
|
02-Sep-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of c55e365 to nyc-mr1-dev-plus-aosp am: 1c52cb43b4 Change-Id: If309678198da946878a1bda11841c7f536f69797
|
1c52cb43b42b50374d7836930ac0b17495628290 |
|
02-Sep-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of c55e365 to nyc-mr1-dev-plus-aosp Change-Id: I8790d63db4a6935f7d576c8a60db3fe85a667152
|
da002510e507e4935b11e55f756a2a3b75a9be5c |
|
02-Sep-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of c4176b0 to nyc-mr1-dev-plus-aosp Change-Id: Icf590f8a8e543bc6035e7adc253c580e88e12afd
|
7a36be372edfa3f7fe0e37320b9b21a5fbadf277 |
|
01-Aug-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Count hidden & passpoint networks 1. Extended the WiFiMetrics proto to include counts for hidden and passpoint networks, counting these for all saved networks, connections and scan results. 2. Extended the counting of Open, Personal and Enterprise network to include scans. 3. Extended ConnectionEvent logging to detect and flag passpoint network connections. 4. Implemented the checks that detect if a scan Result is a hidden network. While I was here: Cleaned up a couple old WifiMetrics <TODO>s, which we will not be doing. BUG=28634987 Change-Id: I2e22bf8d79ccbda84ead700272ff0f1b0f13d2e7 Test: Extended unit tests, executed manually
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
1c50de232acb3d6148c454941a6b9a79e0663b81 |
|
26-Jul-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Add LastResortWatchdog success metric Added a metric that tracks how often WifiLastResortWatchdog triggers successfully fix wifi, allowing wifi to connect to a network after triggering. It does not count a success, if the connection occurs after a new network becomes available. BUG=30407550 TEST=Unit Tests Change-Id: I68d1f003fee9eb8074c04db141bd7b5c3089d57b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
a284841edf33e4070748816a034c47f996bfeb81 |
|
12-Aug-2016 |
mukesh agrawal <quiche@google.com> |
WifiMetrics: add metric for alert reasons Add metric to track the number of alerts triggered by Wifi driver/firmware. This will give us a concrete measurement of stability in the field. BUG=29158746 TEST=tests/wifitests/runtests.sh Change-Id: I435e5d792a97c197fe685e5b2c05d7b8efda62f0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
4569ebc2277f35b9bd1baa98194f963388e0c4ca |
|
15-Aug-2016 |
Sohani Rao <sohanirao@google.com> |
Define and track Wifi scores to report Wifi metrics Add a proto definition to track counts corresponding to wifi scores Scores are calculated in WifiScoreReport and metrics are updated in calculateAndReportScore. Wifi scores are limited in a range [0, 60] where the max score is the base score assigned by Network Agent. To ensure the size of the map is limited, any scores out of this range will be dropped. Updated test framework to validate score tracking and check out of bound values are dropped. The unit tests also ensure the base score is within reasonable limits. BUG=29418013 Change-Id: Iaf22ed7dc7fb73413739507406ec88d7719b362e TEST=Wifi Unit tests, Walk tests and log scores via dumpsys DEVICE=angler
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
59f9a74676831ba4634b35d56a1e2bbe9bf4e322 |
|
01-Aug-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Count hidden & passpoint networks 1. Extended the WiFiMetrics proto to include counts for hidden and passpoint networks, counting these for all saved networks, connections and scan results. 2. Extended the counting of Open, Personal and Enterprise network to include scans. 3. Extended ConnectionEvent logging to detect and flag passpoint network connections. 4. Implemented the checks that detect if a scan Result is a hidden network. While I was here: Cleaned up a couple old WifiMetrics <TODO>s, which we will not be doing. BUG=28634987 Change-Id: I2e22bf8d79ccbda84ead700272ff0f1b0f13d2e7 Test: Extended unit tests, executed manually
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
f11073c03746f1c79e6a316884bc59574b562a8b |
|
12-Aug-2016 |
mukesh agrawal <quiche@google.com> |
WifiMetrics: add metric for alert reasons Add metric to track the number of alerts triggered by Wifi driver/firmware. This will give us a concrete measurement of stability in the field. BUG=29158746 TEST=tests/wifitests/runtests.sh Change-Id: I435e5d792a97c197fe685e5b2c05d7b8efda62f0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
da22e3d28b62005dce5fddd75207bd3d7a1745e1 |
|
26-Jul-2016 |
Glen Kuhne <kuh@google.com> |
WiFiMetrics: Add LastResortWatchdog success metric Added a metric that tracks how often WifiLastResortWatchdog triggers successfully fix wifi, allowing wifi to connect to a network after triggering. It does not count a success, if the connection occurs after a new network becomes available. BUG=30407550 TEST=Unit Tests Change-Id: I68d1f003fee9eb8074c04db141bd7b5c3089d57b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
e5d2acc0bc7835724aa2cc8ba45c8076003afeac |
|
23-Jun-2016 |
Glen Kuhne <kuh@google.com> |
resolve merge conflicts of 87d6438 to master Change-Id: Ifbadd9f6d58e208f32efb1bcce350796b84d8a82
|
7a0b9ffe794113c4a5ed528d8aadeb3303d1b089 |
|
10-Jun-2016 |
Glen Kuhne <kuh@google.com> |
Wifi Metrics: Log RSSI polls Added logging of the periodic RSSI polls into wifi metrics, as a key-value histogram (count per rssi level). BUG=29247576 Change-Id: I9aa19dbf0891b87d1d12a375aeb3771ba7ef6308
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
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/service/java/com/android/server/wifi/WifiMetrics.java
|
107f6ce4a5f6017ce336d9b60650ddbe28bee965 |
|
07-Jun-2016 |
Glen Kuhne <kuh@google.com> |
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/service/java/com/android/server/wifi/WifiMetrics.java
|
68b71ea96facab2d5fadc89b12cc1198756f9e25 |
|
06-May-2016 |
Ningyuan Wang <nywang@google.com> |
Fix static variable and method access Static variables and method should be access from class name instead of a object instance. BUG=28606520 TEST=compile TEST=runtest frameworks-wifi Change-Id: I7c3990a3c11873a0b5e4ddefbdba88ee29f47199
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.java
|
70ce5a4cbaf5aaccd4e542e7bb87196fb4464a6e |
|
06-Apr-2016 |
Glen Kuhne <kuh@google.com> |
Track WifiState on single scan start Adding a call to WifiMetrics, populating the WifiSystemStateEntries when oneshot scans are started. BUG=27793184 Change-Id: I694c17e7b2cfde54204ec206072a1ae5f58b088b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
ea6fdf9a58f8ee83fba32c221331f10f9ec941e9 |
|
24-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Track WifiState in WifiMetrics Added a WifiState tracking member to WifiMetrics. It is now logged in memory for each ConnectionEvent, and printed in the human readable metrics dump. The intention of this is to support WifiSystemScanEntry counts (will be implemented in/after the Scanning Metrics CL) Achieved this by tracking entering and exiting of the ConnectMode & L2Connected states in WifiStateMachine. BUG=27793184 Change-Id: Iba1ab974cc4e7b9d1a2d8d8185ee5c90da6da151
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.java
|
b9cc92f3325f8bb08bf7eb1e1fd25d40cfe43604 |
|
25-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Merge "Add scanning into WifiMetrics" into nyc-dev
|
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/service/java/com/android/server/wifi/WifiMetrics.java
|
ebd663ff7027bbf19c4a5ed2bfb71b91bb925cd6 |
|
24-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Add more synchronization to WifiMetrics Added synchronization that was missing from some public methods. BUG=27792729 Change-Id: I71f94a7005e2789df0eed14176329d2a3158d52f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.java
|
2b152feb1c574f30557581770d4f8c06c770ba34 |
|
07-Mar-2016 |
Glen Kuhne <kuh@google.com> |
Fix WifiMetrics connection auth type Use ScanResult instead of WifiConfiguration to get the Auth type, as WifiConfiguration's allowedAuthAlgorithms is not valid at the beginning of a connection attempt. Also refactored metric getting from ScanResults and NetworkDetails into their own helper functions. BUG=25691077 Change-Id: I528a1c76204b5197815ad3836d743513f89bc9ca
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.java
|
947e55415eab3989f2f5cede0c03745cf9268309 |
|
09-Feb-2016 |
Glen Kuhne <kuh@google.com> |
InformationElementUtil TIM element parser Added a parser to InformationElementUtil for the beacon frame Traffic Indication Map element. Only current use for this is to get DTIM interval for metrics. BUG=25691077 Change-Id: I1aba8ca658e446ae5697b6d749687b0dd24f790d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.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/service/java/com/android/server/wifi/WifiMetrics.java
|