diff options
author | Sudheer Shanka <sudheersai@google.com> | 2017-10-03 09:43:20 -0700 |
---|---|---|
committer | Sudheer Shanka <sudheersai@google.com> | 2017-10-03 16:37:07 -0700 |
commit | addebccc56c3c21385a219c9d4e7450cfdb3c3bb (patch) | |
tree | 1edd1b5e495957772a4662f3e4d1da774f557219 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | bbdc422bb1358f039207f5a6c322fb1327e3bee8 (diff) |
Update NPMS to inform NMS of the changes in fw rules synchronously.
Currently, NPMS informs NMS synchronously at some events and
asynchronously at some others. If these sync and async calls get
interleaved, then NMS will end up in an inconsistent state.
In N-MR1, NPMS was updated to inform NMS asynchronously to avoid some
lock contentions during screen unlock. This shouldn't be a problem any more
since NPMS no longer updates its internal state on ui thread and also
netd calls have been optimized from ~50ms to ~7ms since then.
Bug: 66015813
Test: cts-tradefed run singleCommand cts-dev -m CtsHostsideNetworkTests -t \
com.android.cts.net.HostsideRestrictBackgroundNetworkTests
Change-Id: I24ccb5819430f19014630e7b90cba1f0b993e430
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions