You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
Hi, Checking out 1.0.1 release branch.
In DeviceBandwidthSampler.java line 92
long newBytes = TrafficStats.getTotalRxBytes();
This method returns number of bytes received since device boot. Counts packets across all network interfaces, and always increases monotonically since device boot.
It is not app specific as there might be another background task or sync service running/started by another app at the same time.
The text was updated successfully, but these errors were encountered:
@xardox69 I think this is done on purpose. Using getUidRxBytes() will indeed return the value for a specific uid, but what you really want is to monitor the "system wide" network quality.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, Checking out 1.0.1 release branch.
In DeviceBandwidthSampler.java line 92
long newBytes = TrafficStats.getTotalRxBytes();
This method returns number of bytes received since device boot. Counts packets across all network interfaces, and always increases monotonically since device boot.
It is not app specific as there might be another background task or sync service running/started by another app at the same time.
The text was updated successfully, but these errors were encountered: