Implement metered tracking for NetworkStats summary queries.

Dependent on ag/1550196 where API is defined.

Bug: 31015360
Bug: 26545374
Test: runtest --path
frameworks/base/core/tests/coretests/src/android/net/NetworkStatsTest.java,
other test classes.

(cherry picked from commit 7581e6d7660e5fe8dba3da99725173507248d3d4)

Change-Id: I46da93ba4afa968facf98f7c3d844fd0c469095a
2 files changed
tree: 322663766f4803e64e669ba5f863ca5ec54d118e
  1. core/
  2. services/
  3. tests/