Home
last modified time | relevance | path

Searched refs:formatInteger (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DApnEditorTest.java456 assertThat(ApnEditor.formatInteger("42")).isEqualTo("42"); in formatInteger_shouldParseString()
457 assertThat(ApnEditor.formatInteger("01")).isEqualTo("01"); in formatInteger_shouldParseString()
458 assertThat(ApnEditor.formatInteger("001")).isEqualTo("001"); in formatInteger_shouldParseString()
463 assertThat(ApnEditor.formatInteger("not an int")).isEqualTo("not an int"); in formatInteger_shouldIgnoreNonIntegers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java318 static String formatInteger(String value) { in formatInteger() method in ApnEditor
575 mMcc.setSummary(formatInteger(checkNull(mMcc.getText()))); in fillUI()
576 mMnc.setSummary(formatInteger(checkNull(mMnc.getText()))); in fillUI()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java382 static String formatInteger(String value) { in formatInteger() method in ApnEditor
641 mMcc.setSummary(formatInteger(checkNull(mMcc.getText()))); in fillUI()
642 mMnc.setSummary(formatInteger(checkNull(mMnc.getText()))); in fillUI()