Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DParseUtilsTest.java27 assertEquals(1, ParseUtils.parseInt(null, 1)); in testParseInt()
28 assertEquals(1, ParseUtils.parseInt("", 1)); in testParseInt()
29 assertEquals(1, ParseUtils.parseInt("1x", 1)); in testParseInt()
30 assertEquals(2, ParseUtils.parseInt("2", 1)); in testParseInt()
32 assertEquals(2, ParseUtils.parseInt("+2", 1)); in testParseInt()
33 assertEquals(-2, ParseUtils.parseInt("-2", 1)); in testParseInt()
37 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()
[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.java308 final int id = ParseUtils.parseIntWithBase(filterString, 16, -1); in filterRecord()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java27 import com.android.internal.util.ParseUtils;
128 ParseUtils.parseInt(name.substring(0, b), -1); in BatteryStatsHistory()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java65 import com.android.internal.util.ParseUtils;
1347 historyStart = ParseUtils.parseLong(args[i], 0); in dump()
1356 final long events = ParseUtils.parseLong(args[i], 0); in dump()
/frameworks/base/config/
Dboot-image-profile.txt24254 HSPLcom/android/internal/util/ParseUtils;->parseIntWithBase(Ljava/lang/String;II)I
38123 Lcom/android/internal/util/ParseUtils;