Searched refs:ProcFileReader (Results 1 – 3 of 3) sorted by relevance
31 final ProcFileReader reader = buildReader(""); in testEmpty()44 final ProcFileReader reader = buildReader("a\nb\nc\n"); in testSingleString()60 final ProcFileReader reader = buildReader("1 2 3\n4 abc_def 5 6 7 8 9\n10\n"); in testMixedNumbersSkip()81 final ProcFileReader reader = buildReader("1 21 3 41 5 61 7 81 9 10\n", 3); in testBufferSize()98 final ProcFileReader reader = buildReader("1\n\n2\n\n3\n"); in testBlankLines()118 final ProcFileReader reader = buildReader( in testMinMax()130 final ProcFileReader reader = buildReader("teststringwithoutdelimiters"); in testDelimiterNeverFound()143 final ProcFileReader reader = buildReader("1 teststringlongerthanbuffer\n", 4); in testLargerThanBuffer()156 final ProcFileReader reader = buildReader("123 456\n789\n"); in testOptionalLongs()169 private static ProcFileReader buildReader(String string) throws IOException { in buildReader()[all …]
39 import com.android.internal.util.ProcFileReader;204 ProcFileReader reader = null; in readNetworkStatsSummaryDev()206 reader = new ProcFileReader(new FileInputStream(mStatsXtIfaceAll)); in readNetworkStatsSummaryDev()263 ProcFileReader reader = null; in readNetworkStatsSummaryXt()266 reader = new ProcFileReader(new FileInputStream(mStatsXtIfaceFmt)); in readNetworkStatsSummaryXt()413 ProcFileReader reader = null; in javaReadNetworkStatsDetail()416 reader = new ProcFileReader(new FileInputStream(detailPath)); in javaReadNetworkStatsDetail()
34 public class ProcFileReader implements Closeable { class43 public ProcFileReader(InputStream stream) throws IOException { in ProcFileReader() method in ProcFileReader47 public ProcFileReader(InputStream stream, int bufferSize) throws IOException { in ProcFileReader() method in ProcFileReader