a6a78076eeb27084ed815ce0492d4ffe08134bec |
|
12-Jan-2016 |
Jeff Davidson <jpd@google.com> |
Implement roaming tracking in NetworkStats summary queries. Whether a network is deemed roaming or not was already being tracked as part of the NetworkIdentitySet, so the underlying data store already tracks roaming and native data separately. However, this data was being aggregated together in NetworkStatsCollection#getSummary, since the NetworkIdentitySet is converted to an iface name for the purposes of matching, and the iface name will be identical whether or not the iface is considered roaming. Now it is separated. Also fixes a long-standing bug in NetworkIdentitySet where an identity read from a saved file would always be considered roaming == false, even if it wasn't at the time it was written. Bug: 25813438 Change-Id: I11ab5b51182ed8da7af8fde468df065f9fdc3dad
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
76f6a86de25e1bf74717e047e55fd44b089673f3 |
|
19-Sep-2015 |
Daniel Micay <danielmicay@gmail.com> |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
ed6b9dff563c5e22f040ff37e12c0d771e0478ae |
|
21-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Consistency in core/jni Make consistent use of core_jni_helpers for registration. Translate some #ifdefs into const bools. Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
0f0b4919667f418b249c497f5ad3e83fdf4437e5 |
|
12-Nov-2014 |
Andreas Gampe <agampe@google.com> |
Frameworks/base: Wall Werror in core/jni Turn on -Wall -Werror in core/jni. Fix warnings. Clang TODO: For GCC we need to turn off Wunused-but-set-variable in the GL bindings. However, Clang doesn't have that warning and thus complains about an unknown pragma. It is necessary to make the pragma #ifdef-ed on the compiler being GCC. Change-Id: I14cab48d45c2771eef0432082356c47ed44a3d7f
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
e47d5435de839523c1bb05c283eaec5968167db0 |
|
09-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Use sscanf() for parsing tag values. Neither strtoll() nor strtoull() can parse the %llx formatted tag values coming from the kernel. We know the lowest 32 bits will never be set, so fast-path the 3-character case as 0x0. Bug: 17365163 Change-Id: I238bbd2830c9335e7ab7a53362d6e12b46e0bcb3
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
d0c5b9abed60b7bc056d026bf0f2b2235410fb70 |
|
22-Feb-2014 |
Dianne Hackborn <hackbod@google.com> |
Improve how battery stats collects network stats. This optimizes the path for battery stats to collect per-uid network usage. It now collects wifi and mobile usage separately, with a path that allows it to recycle all data structures and filter out stats it isn't interested in before they come back to java. This is setting us up for the actual goal, to collect mobile stats independently each time the mobile radio goes down, allowing us to distribute mobile radio usage across uids based on the number of packets they transferred during a session. Change-Id: I21a0f517cf087ea5aa8b8dd535e20b46e361a52b
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
f5fabdf83d2a1b30fcbd2a25882f98e282e4f762 |
|
12-Dec-2013 |
Kristian Monsen <kristianm@google.com> |
Fix one and hide the other warnings from core/jni Most of the warnings are unused parameter from skia functions. Change-Id: I9df57718d117c26b96163f751ccb056ca86ac072
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
44bc18664985e845a2299f20b6392d378fad8b4d |
|
24-Jul-2013 |
Colin Cross <ccross@android.com> |
replace cutils/logger.h with log/logger.h and remove it from files that don't use it. Change-Id: Ieb44a3f1f75c2d2b277f0d01ca926a92211e3fe6
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|
9a2c2a6da90abbcc9a064c20e93ed885651f4ae1 |
|
15-Jan-2013 |
Jeff Sharkey <jsharkey@android.com> |
Parse network stats using native code. Switch to parsing detailed network stats with native code, which is 71% faster than ProcFileReader. Change-Id: I2525aaee74d227ce187ba3a74dd08a2b06514deb
/frameworks/base/core/jni/com_android_internal_net_NetworkStatsFactory.cpp
|