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
7 files changed