summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2018-04-16 20:15:12 +0900
committerBernie Innocenti <codewiz@google.com>2018-04-19 21:28:43 +0900
commitbb2193bf5877b7a93aebefdb74a8c7f410a17907 (patch)
treeac32a4ba2f7bf242aa61bb2e5706ac82e9eea6e8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8182e354d84a0cdf92458b268f96c28d2dce3cb6 (diff)
Add support for reading a snapshot of the APF data
No functional change yet, since startReadPacketFilter() has no callers at this time. In the future, this new hook will be used to take periodic snapshots of the APF memory (for instance, when the device wakes up). Design note: WifiStateMachine grabs the APF data synchronously from another thread, but then the data snapshot is delivered to IpClient via an asynchronous reply, following the same pattern used by other commands. This means that there's no (practical) way for IpClient to read the APF data just before replacing the APF program. Even with this limitation, it's still possible to reliably decode packet counters and compute deltas relative to the last snapshot, provided that the address range isn't cleared when installing a new APF filter. Bug: 73804303 Test: Manual - called the new code and inspected 'dumpsys wifi' output. Change-Id: Ia0923d71cf3ee4128fb1c381557316300adac1a3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions