Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top