Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMccTableTest.java57 assertEquals("en", MccTable.defaultLanguageForMcc(311)); in testLang()
58 assertEquals("de", MccTable.defaultLanguageForMcc(232)); in testLang()
59 assertEquals("cs", MccTable.defaultLanguageForMcc(230)); in testLang()
60 assertEquals("nl", MccTable.defaultLanguageForMcc(204)); in testLang()
61 assertEquals("is", MccTable.defaultLanguageForMcc(274)); in testLang()
62 assertEquals(null, MccTable.defaultLanguageForMcc(0)); // mcc not defined, hence default in testLang()
63 assertEquals(null, MccTable.defaultLanguageForMcc(2000)); // mcc not defined, hence default in testLang()
68 assertEquals("en", MccTable.defaultLanguageForMcc(404)); in testLang_India()
69 assertEquals("en", MccTable.defaultLanguageForMcc(405)); in testLang_India()
70 assertEquals("en", MccTable.defaultLanguageForMcc(406)); in testLang_India()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java120 public static String defaultLanguageForMcc(int mcc) { in defaultLanguageForMcc() method in MccTable
382 String language = hasSimLanguage ? simLanguage : MccTable.defaultLanguageForMcc(mcc); in getLocaleFromMcc()
391 language = MccTable.defaultLanguageForMcc(mcc); in getLocaleFromMcc()