forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip Cronet tests that call GetTaggedBytes() on P+ devices.
In Android P, /proc/net/xt_qtaguid/stats is no longer guaranteed to be present, and has been replaced with eBPF Traffic Monitoring in netd. See: https://source.android.com/devices/tech/datausage/ebpf-traffic-monitor To read traffic statistics from netd, apps should use the API NetworkStatsManager.queryDetailsForUidTag(). But this API does not provide statistics for local traffic, only mobile and WiFi traffic, so it would not work in tests that spin up a local server. So for now, GetTaggedBytes is only supported on Android releases older than P. Change-Id: Ida2b47624e1ac379799d00a21b8b41915579aece Reviewed-on: https://chromium-review.googlesource.com/c/1470522 Commit-Queue: Paul Jensen <pauljensen@chromium.org> Auto-Submit: Paul Jensen <pauljensen@chromium.org> Reviewed-by: Peter Collingbourne <pcc@chromium.org> Cr-Commit-Position: refs/heads/master@{#631850}
- Loading branch information
1 parent
89770ac
commit 47f40f9
Showing
5 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters