android_packages_modules_Co.../services/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Sharkey 9ab8c6a64d 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
2011-06-01 17:44:52 -07:00
..
net Collect historical network stats. 2011-06-01 17:44:52 -07:00
INativeDaemonConnectorCallbacks.java services: Introduce NativeDaemonConnector class 2010-01-12 13:55:39 -08:00
NativeDaemonConnector.java am c6a47e98: Merge "Fix a race condition in NativeDaemonConnector" 2011-02-07 10:04:54 -08:00
NativeDaemonConnectorException.java NativeDaemonConnector: Improve NativeDaemonException reporting to include the actual error response 2010-02-03 14:37:43 -08:00