In android_net_TrafficStats.cpp and driver_wired.c /proc/net/xt_qtaguid file is reading. I searched fully but i did not find from where this file getting write.

Please help me in finding the file in which we are opening /proc/net/xt_qtaguid file in write mode.

有帮助吗?

解决方案

The documentation says:

The per-application/delegated data usage monitoring and tracking functionality relies on the xt_qtaguid module in the android-3.0 Linux kernel (kernel/net/netfilter/xt_qtaguid).

This file is never opened for writing; its contents are provided by the kernel.

其他提示

if you want to parse /proc/net/xt_qtaguid, you can refer to NetworkStatsFactory

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top