diff options
author | Jeff Sharkey <jsharkey@android.com> | 2011-05-24 18:39:45 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2011-06-01 17:44:52 -0700 |
commit | 75279904202357565cf5a1cb11148d01f42b4569 (patch) | |
tree | db3b40af4fdfda1d46d1d4c9e471bf4630656036 /CleanSpec.mk | |
parent | 77c1cc0aa4d088f54c3b36a05a19acfa5295c4da (diff) | |
download | frameworks_base-75279904202357565cf5a1cb11148d01f42b4569.zip frameworks_base-75279904202357565cf5a1cb11148d01f42b4569.tar.gz frameworks_base-75279904202357565cf5a1cb11148d01f42b4569.tar.bz2 |
Collect historical network stats.
Periodically records delta network traffic into historical buckets to
support other services, such NetworkPolicyManager and Settings UI.
Introduces NetworkStatsHistory structure which contains sparse, uniform
buckets of data usage defined by timestamps. Service periodically
polls NetworkStats and records changes into buckets. It only persists
to disk when substantial changes have occured. Current parameters
create 4 buckets each day, and persist for 90 days, resulting in about
8kB of data per network.
Only records stats for "well known" network interfaces that have been
claimed by Telephony or Wi-Fi subsystems. Historical stats are also
keyed off identity (such as IMSI) to support SIM swapping.
Change-Id: Ia27d1289556a2bf9545fbc4f3b789425a01be53a
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r-- | CleanSpec.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index b19bed0..1e59ff6 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -98,6 +98,7 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framew $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/nfc) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libstagefright_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/os) # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ |