Searched refs:udp_filename (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_net_TrafficStats.cpp165 char tcp_filename[80], udp_filename[80]; local
171 sprintf(udp_filename, "/proc/uid_stat/%d/udp_snd", uid);
175 sprintf(udp_filename, "/proc/uid_stat/%d/udp_rcv", uid);
187 udp_bytes = readNumber(udp_filename);
194 udp_bytes = readNumber(udp_filename);
206 char tcp_filename[80], udp_filename[80]; local
212 sprintf(udp_filename, "/proc/uid_stat/%d/udp_snd_pkt", uid);
216 sprintf(udp_filename, "/proc/uid_stat/%d/udp_rcv_pkt", uid);
228 udp_pkts = readNumber(udp_filename);
235 udp_pkts = readNumber(udp_filename);
[all...]

Completed in 41 milliseconds