LogAudit: remove dynamic rate limiter

Select a low rate-limit to cut down on logspam and resulting
performance regressions.

Functionally reverts ec9b9ad6b0100d6af976059954fa6eb99d967295
(logd: sepolicy dynamic rate limiting) and sets a static low
rate-limit. Before ec9b9ad6, the limit was statically set to 20.
ec9b9ad6 continued to support 20, but if sustained dropped the limit
to 5. This revert leaves us at 5 so as not to impact performance.

Test: /data/nativetest/logd-unit-tests/logd-unit-tests \
    --gtest_filter=logd.sepolicy_rate_limiter
    [  PASSED  ] 1 test.
Bug: 71538411
Change-Id: I6c92f4ba825cc24beb8f1f1b79258fa8097c837b
5 files changed
tree: d1c89fea0c6a2760611662f893f08314970f862d
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/