diff options
author | Felipe Leme <felipeal@google.com> | 2016-05-12 09:58:14 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2016-05-17 09:31:00 -0700 |
commit | a701cad320a0a2715cac1c31b269ced2ccbc8ac2 (patch) | |
tree | accab842190c64bf1b852126c45dde9644baa6e3 /rs/java/android/renderscript/RenderScript.java | |
parent | a7b826b08aa1b185b0e46b648e5c2ed7f818ae09 (diff) |
Use batching to set firewall rules.
Netd now provides an option to flush all uids for a given firewall
chain. Using this option is particularly useful when setting the
fw_standby chain, since over time the device will have dozens of idle
apps.
For example, in a Nexus 5X with 45 idle apps, setFirewallUidRules() at
boot was taking 1044ms, and after this change it dropped to just 32ms.
BUG: 26675191
Change-Id: I7016ba646b872f80d0b27a56b867c0b6080d2516
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions