OSDN Git Service

Define new APIs for metering and roaming network stats buckets.
authorJeff Davidson <jpd@google.com>
Wed, 6 Jan 2016 21:53:36 +0000 (13:53 -0800)
committerJeff Davidson <jpd@google.com>
Wed, 6 Jan 2016 22:15:46 +0000 (14:15 -0800)
commit05ae0feefcda2e4f60d6b4014bf6eee2d6448d1c
tree04e03a9e330577d7a5e51b82550438bbd867b119
parent946502f50a4e4d757df03e16bcc72f21db487a43
Define new APIs for metering and roaming network stats buckets.

These are analagous to the state buckets for tracking whether usage is
incurred while the app is in the foreground or background. We will
additionally track whether data usage is incurred over a metered or
unmetered network, and whether it is incurred over a roaming or native
network.

The APIs are not implemented in this CL; the existing buckets are
still returned with METERING_ALL and ROAMING_ALL to indicate that this
is not yet being tracked.

Bug: 25813438
Bug: 25813958
Change-Id: I76dd3dd063ed28ef5579ca3a978570532e7836bc
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/app/usage/NetworkStats.java