Home
last modified time | relevance | path

Searched refs:nextOptionalLong (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DProcFileReaderTest.java159 assertEquals(456L, reader.nextOptionalLong(-1L)); in testOptionalLongs()
160 assertEquals(-1L, reader.nextOptionalLong(-1L)); in testOptionalLongs()
161 assertEquals(-1L, reader.nextOptionalLong(-1L)); in testOptionalLongs()
162 assertEquals(-1L, reader.nextOptionalLong(-1L)); in testOptionalLongs()
165 assertEquals(789L, reader.nextOptionalLong(-1L)); in testOptionalLongs()
166 assertEquals(-1L, reader.nextOptionalLong(-1L)); in testOptionalLongs()
/frameworks/base/core/java/com/android/internal/util/
DProcFileReader.java174 public long nextOptionalLong(long def) throws IOException { in nextOptionalLong() method in ProcFileReader