diff options
author | Kamaljeet Maini <kmaini@cyngn.com> | 2016-02-18 17:49:48 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-04-01 13:29:23 -0700 |
commit | a3bc0853871143db31f2fc5b91b5bad88e36a82b (patch) | |
tree | c3dc4cfa4379ab3d1636bca8a4877bbe5482e7a4 /core | |
parent | 39aa78bbf20b7bd83eaf68a6d24621662944c50f (diff) | |
download | frameworks_base-a3bc0853871143db31f2fc5b91b5bad88e36a82b.zip frameworks_base-a3bc0853871143db31f2fc5b91b5bad88e36a82b.tar.gz frameworks_base-a3bc0853871143db31f2fc5b91b5bad88e36a82b.tar.bz2 |
Framework changes for resetting data usage statistics
As part of data management experience enhancements in Settings
application, a new feature is added. This feature allows users
to fully reset all data usage stats of currently selected network
interface.
When data stats are reset for a specific network interface, the
total data usage and per app data usage for that interface is
reset to zero. There is no way to revert this reset.
Prior to this feature, users could only change the data stats cycle
to hide older data usage history. Alternatively, users could perform
fully factory reset to remove the usage history. This feature allows
fully clearing data usage stats history without any other changes.
Change-Id: I242331cf85cec00997a8aa34e8bdcbccf0917864
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/net/INetworkStatsService.aidl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/net/INetworkStatsService.aidl b/core/java/android/net/INetworkStatsService.aidl index 6436e42..17033c4 100644 --- a/core/java/android/net/INetworkStatsService.aidl +++ b/core/java/android/net/INetworkStatsService.aidl @@ -57,4 +57,5 @@ interface INetworkStatsService { /** Advise persistance threshold; may be overridden internally. */ void advisePersistThreshold(long thresholdBytes); + void resetDataUsageHistoryForAllUid(in NetworkTemplate template); } |