diff options
author | Kweku Adams <kwekua@google.com> | 2019-11-12 12:06:37 -0800 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-01-07 11:16:05 -0800 |
commit | fd05b019c5630bb9302a0572882688481045f874 (patch) | |
tree | 7779c2887e1e42bde37cefa62dcea7ed981442fb /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 2a4b15a30f8b8ac70fb67b499249d49c1d5ea311 (diff) |
Add CountQuotaTracker.
This adds a utility class that can track instantaneous app behavior and
manages count quotas for the owning system. A system service just needs to
create a tracker, set the limits, and call the relevant APIs to determine
what to do for each behavior. JobScheduler will use it to prevent apps from
calling JobScheduler.schedule() too often.
Bug: 135764360
Test: atest CountQuotaTrackerTest
Change-Id: Iacd4286bd7f4ab3fc428d8e2ec573671b287f225
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions