Home
last modified time | relevance | path

Searched refs:ProcFileReader (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DProcFileReaderTest.java31 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 …]
/frameworks/base/core/java/com/android/internal/net/
DNetworkStatsFactory.java32 import com.android.internal.util.ProcFileReader;
167 ProcFileReader reader = null; in readNetworkStatsSummaryDev()
169 reader = new ProcFileReader(new FileInputStream(mStatsXtIfaceAll)); in readNetworkStatsSummaryDev()
226 ProcFileReader reader = null; in readNetworkStatsSummaryXt()
229 reader = new ProcFileReader(new FileInputStream(mStatsXtIfaceFmt)); in readNetworkStatsSummaryXt()
312 ProcFileReader reader = null; in javaReadNetworkStatsDetail()
315 reader = new ProcFileReader(new FileInputStream(detailPath)); in javaReadNetworkStatsDetail()
/frameworks/base/core/java/com/android/internal/util/
DProcFileReader.java34 public class ProcFileReader implements Closeable { class
43 public ProcFileReader(InputStream stream) throws IOException { in ProcFileReader() method in ProcFileReader
47 public ProcFileReader(InputStream stream, int bufferSize) throws IOException { in ProcFileReader() method in ProcFileReader
/frameworks/base/config/
Dboot-image-profile.txt42039 HSPLcom/android/internal/util/ProcFileReader;-><init>(Ljava/io/InputStream;)V
42040 HSPLcom/android/internal/util/ProcFileReader;->close()V
42041 HSPLcom/android/internal/util/ProcFileReader;->fillBuf()I
42042 HSPLcom/android/internal/util/ProcFileReader;->finishLine()V
42043 HSPLcom/android/internal/util/ProcFileReader;->nextInt()I
42044 HSPLcom/android/internal/util/ProcFileReader;->nextLong()J
42045 HSPLcom/android/internal/util/ProcFileReader;->nextString()Ljava/lang/String;
42046 HSPLcom/android/internal/util/ProcFileReader;->nextTokenIndex()I
42047 HSPLcom/android/internal/util/ProcFileReader;->parseAndConsumeLong(I)J
60709 Lcom/android/internal/util/ProcFileReader;