logd: clearAll by UID speedup

- If doing a clear, skip accounting
- Ensure for busy checking, behind a region lock for instance, only
  break out if there was something to do. Basically move the filter
  actions first, and defer checking the region lock to the ends of
  the loops.

Bug: 23711431
Change-Id: Icc984f406880633516fb17dda84188a30d092e01
1 file changed
tree: 69fb47bd4b47aa697e82cf77139eef4916e7aa9d
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/