Android 10及以上系统,流量是全局流量,而不是当前进程流量
Open
- Dominant language
- Python
- Stars
- 762
- Forks
- 229
- PR merge metrics
- No merged PRs in 30d
Description
Android 10以下系统:通过/proc/net/xt_qtaguid,可以获取到当前进程的流量
Android 10及以上系统:/proc/net/xt_qtaguid不存在了,只能通过/proc/{pid}/net/dev获取流量,但该方法获取的是全局流量
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the traffic measurement code that reads /proc/net/xt_qtaguid and /proc/{pid}/net/dev, then compare its behavior on Android versions below and above 10. Done means the tool reports traffic for the current process rather than global traffic on Android 10 and later.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, python
- Domain
- mobile, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100