Searched refs:defaultLanguageForMcc (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MccTableTest.java | 66 assertEquals("en", LocaleUtils.defaultLanguageForMcc(311)); in testLang() 67 assertEquals("de", LocaleUtils.defaultLanguageForMcc(232)); in testLang() 68 assertEquals("cs", LocaleUtils.defaultLanguageForMcc(230)); in testLang() 69 assertEquals("nl", LocaleUtils.defaultLanguageForMcc(204)); in testLang() 70 assertEquals("is", LocaleUtils.defaultLanguageForMcc(274)); in testLang() 72 assertEquals(null, LocaleUtils.defaultLanguageForMcc(0)); in testLang() 74 assertEquals(null, LocaleUtils.defaultLanguageForMcc(2000)); in testLang() 80 assertEquals("en", LocaleUtils.defaultLanguageForMcc(404)); in testLang_India() 81 assertEquals("en", LocaleUtils.defaultLanguageForMcc(405)); in testLang_India() 82 assertEquals("en", LocaleUtils.defaultLanguageForMcc(406)); in testLang_India()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 49 String language = hasSimLanguage ? simLanguage : defaultLanguageForMcc(mcc); in getLocaleFromMcc() 58 language = defaultLanguageForMcc(mcc); in getLocaleFromMcc() 157 public static String defaultLanguageForMcc(int mcc) { in defaultLanguageForMcc() method in LocaleUtils
|