commit | ac4fb1621ad8f1cb5d6894886f87b84ded2cfc45 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Mon Apr 25 22:07:53 2022 -0700 |
committer | Chris Ye <lzye@google.com> | Fri May 13 18:40:02 2022 +0000 |
tree | 465a17fdee2e5b5b85bf4c17f0da062b2967f3a1 | |
parent | 4975d0da37195aba01ddb0570c097050c6d10a1d [diff] |
Reduce the log spam of getUidPermission. Wifi framework checks permissions frequenly, it produces the spam logging messages of getUidPermission, which accounts for 2% of the total Wifi CPU usage. The getUidPermission log doesn't provide value for debugging. The caller of getUidPermission should check the return value and print log messages only when necessary. Bug: 230678224 Bug: 230380937 Test: atest FrameworksWifiTests Change-Id: If1e63a2abdc83a8c656d73d938e880a378ba767a