commit | f3c946278c83ab07ec18b5eb258a54865fc0993f | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Thu May 05 15:27:52 2022 +0800 |
committer | Junyu Lai <junyulai@google.com> | Thu May 12 08:53:21 2022 +0800 |
tree | 2c5e8e889fa00afd25a36ec62b3cc8c7cb0b9275 | |
parent | 018cf3fb46f15b6b69e2499bf6ab59bfe439bf31 [diff] |
Limit data usage request per uid Currently, there is no limtation for an app to request data usage callback, which is dangerous if the app fire hundreds of thousands requests and potientially this might cause OOM if the apps don't free them. Test: atest NetworkStatsObserversTest#testRegister_limit Bug: 229103088 Change-Id: I8299f46fd47a82ec9b25ba2e0d3c95db5512c331