Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DFakeTestTest.java61 assertEquals(55, mTest.toIntOrDefault(null, 55)); in testIntOrDefault()
62 assertEquals(45, mTest.toIntOrDefault("45", 55)); in testIntOrDefault()
63 assertEquals(-13, mTest.toIntOrDefault("-13", 55)); in testIntOrDefault()
65 mTest.toIntOrDefault("thirteen", 55); in testIntOrDefault()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DFakeTest.java115 int toIntOrDefault(String number, int defValue) throws IllegalArgumentException { in toIntOrDefault() method in FakeTest
135 final int repeat = toIntOrDefault(m.group(3), 1); in decodeRle()
170 final int repeat = toIntOrDefault(m.group(3), 1); in decode()