Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java37 assertEquals(1, ParseUtils.parseIntWithBase(null, 10, 1)); in testParseIntWithBase()
38 assertEquals(1, ParseUtils.parseIntWithBase("", 10, 1)); in testParseIntWithBase()
39 assertEquals(1, ParseUtils.parseIntWithBase("1x", 10, 1)); in testParseIntWithBase()
40 assertEquals(2, ParseUtils.parseIntWithBase("2", 10, 1)); in testParseIntWithBase()
41 assertEquals(10, ParseUtils.parseIntWithBase("10", 10, 1)); in testParseIntWithBase()
42 assertEquals(3, ParseUtils.parseIntWithBase("10", 3, 1)); in testParseIntWithBase()
44 assertEquals(3, ParseUtils.parseIntWithBase("+10", 3, 1)); in testParseIntWithBase()
45 assertEquals(-3, ParseUtils.parseIntWithBase("-10", 3, 1)); in testParseIntWithBase()
/frameworks/base/core/java/com/android/internal/util/
DParseUtils.java32 return parseIntWithBase(value, 10, defValue); in parseInt()
36 public static int parseIntWithBase(@Nullable String value, int base, int defValue) { in parseIntWithBase() method in ParseUtils
DDumpUtils.java308 final int id = ParseUtils.parseIntWithBase(filterString, 16, -1); in filterRecord()
/frameworks/base/config/
Dboot-image-profile.txt24254 HSPLcom/android/internal/util/ParseUtils;->parseIntWithBase(Ljava/lang/String;II)I