Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java26 assertEquals(1, ParseUtils.parseInt(null, 1)); in testParseInt()
27 assertEquals(1, ParseUtils.parseInt("", 1)); in testParseInt()
28 assertEquals(1, ParseUtils.parseInt("1x", 1)); in testParseInt()
29 assertEquals(2, ParseUtils.parseInt("2", 1)); in testParseInt()
31 assertEquals(2, ParseUtils.parseInt("+2", 1)); in testParseInt()
32 assertEquals(-2, ParseUtils.parseInt("-2", 1)); in testParseInt()
36 assertEquals(1, ParseUtils.parseIntWithBase(null, 10, 1)); in testParseIntWithBase()
37 assertEquals(1, ParseUtils.parseIntWithBase("", 10, 1)); in testParseIntWithBase()
38 assertEquals(1, ParseUtils.parseIntWithBase("1x", 10, 1)); in testParseIntWithBase()
39 assertEquals(2, ParseUtils.parseIntWithBase("2", 10, 1)); in testParseIntWithBase()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DParseUtils.java26 public final class ParseUtils { class
27 private ParseUtils() { in ParseUtils() method in ParseUtils
DDumpUtils.java250 final int id = ParseUtils.parseIntWithBase(filterString, 16, -1); in filterRecord()
/frameworks/base/config/
Dboot-image-profile.txt10212 HPLcom/android/internal/util/ParseUtils;->parseIntWithBase(Ljava/lang/String;II)I
60707 Lcom/android/internal/util/ParseUtils;