question: public NetworkStats fetchDataFromProc ( int uid ) { String root_filepath = "/proc/uid_stat/" + uid + "/" ; File rcv_stat = new File ( root_filepath + "tcp_rcv" ) ; int rx = BandwidthTestUtil . parseIntValueFromFile ( rcv_stat ) ; File snd_stat = new File ( root_filepath + "tcp_snd" ) ; int tx = BandwidthTestUtil . parseIntValueFromFile ( snd_stat ) ; NetworkStats stats = new NetworkStats ( SystemClock . elapsedRealtime ( ) , 1 ) ; stats . addValues ( NetworkStats . IFACE_ALL , uid , NetworkStats . SET_DEFAULT , NetworkStats . TAG_NONE , rx , 0 , tx , 0 , 0 ) ; return stats ; }
target:  Fetch network data from /proc/uid_stat/uid