commit | 67c5e03b54e322a4dab897cbdd36d51ecc007f1e | [log] [tgz] |
---|---|---|
author | Hugo Benichi <hugobenichi@google.com> | Thu Sep 14 16:31:38 2017 +0900 |
committer | Hugo Benichi <hugobenichi@google.com> | Tue Sep 26 14:14:16 2017 +0900 |
tree | 05aacb7319a68e781029266d4d897c39aa6b4994 | |
parent | b0510407da3f5ff7e4e135f6dc348fd6a380653e [diff] |
Extract RingBuffer class from NetdEventListenerService This patch takes out the ring buffer array added for NFLOG wakeup packet events logging and extract it into its own class for reuse. This new RingBuffer class has the two minimal useful functions append() and toArray(). Bug: 65164242 Bug: 65700460 Test: runtest frameworks-net, with new unit test Change-Id: Ib94d79a93f4e99661b7d0fac67117b91d57af980