commit | 98f5bde4efe91e3c25fc0dfe5cddfc7beddca475 | [log] [tgz] |
---|---|---|
author | yutingfang <yutingfang@google.com> | Tue Oct 29 16:18:29 2024 -0700 |
committer | yutingfang <yutingfang@google.com> | Tue Oct 29 16:18:29 2024 -0700 |
tree | 8a7ecbbf322c8c43194e6df648a4599cef2f1f5d | |
parent | e1b76619401814ec889004f84ba29b5b4dab36a4 [diff] |
Add a rate limiter in AppOpsService to prevent excessive loggings The atom AppOpNoteOpOrCheckOpBinderApiCalled can log excessively on some devices. Add a rate limiter to put the atom logging frequency within the boundry of once per 10 miliseconds. Flag: EXEMPT log only update Bug: 365584286 Test: presubmit Change-Id: Ifd4a5efbb66926c3e88c5fc68a469f75673d1c72