Searched refs:tokenIndex (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/util/ |
D | ProcFileReader.java | 155 final int tokenIndex = nextTokenIndex(); in nextString() local 156 if (tokenIndex == -1) { in nextString() 159 return parseAndConsumeString(tokenIndex); in nextString() 174 final int tokenIndex = nextTokenIndex(); in nextLong() local 175 if (tokenIndex == -1) { in nextLong() 178 return parseAndConsumeLong(tokenIndex, stopAtInvalid); in nextLong() 187 final int tokenIndex = nextTokenIndex(); in nextOptionalLong() local 188 if (tokenIndex == -1) { in nextOptionalLong() 191 return parseAndConsumeLong(tokenIndex, false); in nextOptionalLong() 195 private String parseAndConsumeString(int tokenIndex) throws IOException { in parseAndConsumeString() argument [all …]
|
/frameworks/base/core/java/com/android/internal/alsa/ |
D | AlsaCardsParser.java | 78 int tokenIndex = 0; in parse() local 83 tokenIndex = mTokenizer.nextToken(line, tokenIndex); in parse() 84 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse() 88 mCardNum = Integer.parseInt(line.substring(tokenIndex, delimIndex)); in parse() 91 + ": " + line.substring(tokenIndex, delimIndex)); in parse() 96 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse() 97 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse() 98 mField1 = line.substring(tokenIndex, delimIndex); in parse() 101 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse() 102 mCardName = line.substring(tokenIndex); in parse() [all …]
|
D | AlsaDevicesParser.java | 91 int tokenIndex = kToken_LineNum; in parse() local 104 switch (tokenIndex) { in parse() 112 tokenIndex++; // no device # in the token stream in parse() 150 Slog.e(TAG, "Failed to parse token " + tokenIndex + " of " + kDevicesFilePath in parse() 155 tokenIndex++; in parse()
|