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.java64 assertEquals("en", MccTable.defaultLanguageForMcc(311)); in testLang()
65 assertEquals("de", MccTable.defaultLanguageForMcc(232)); in testLang()
66 assertEquals("cs", MccTable.defaultLanguageForMcc(230)); in testLang()
67 assertEquals("nl", MccTable.defaultLanguageForMcc(204)); in testLang()
68 assertEquals("is", MccTable.defaultLanguageForMcc(274)); in testLang()
69 assertEquals(null, MccTable.defaultLanguageForMcc(0)); // mcc not defined, hence default in testLang()
70 assertEquals(null, MccTable.defaultLanguageForMcc(2000)); // mcc not defined, hence default in testLang()
76 assertEquals("en", MccTable.defaultLanguageForMcc(404)); in testLang_India()
77 assertEquals("en", MccTable.defaultLanguageForMcc(405)); in testLang_India()
78 assertEquals("en", MccTable.defaultLanguageForMcc(406)); in testLang_India()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java137 public static String defaultLanguageForMcc(int mcc) { in defaultLanguageForMcc() method in MccTable
395 String language = hasSimLanguage ? simLanguage : MccTable.defaultLanguageForMcc(mcc); in getLocaleFromMcc()
404 language = MccTable.defaultLanguageForMcc(mcc); in getLocaleFromMcc()