[1/2] Base: add network traffic meter

This commit come from:

https://github.com/omnirom/android_frameworks_base/commit/4268d2d3eaa91598b6a820c43f78779f9da29689

https://github.com/omnirom/android_frameworks_base/commit/12daeeb5de44f5992bf0eaff6abf606e3be879e5

https://github.com/omnirom/android_frameworks_base/commit/017c56cdb2011cea0026b97e5c40ac9b567a072e