Searched refs:isLanguage (Results 1 – 4 of 4) sorted by relevance
302 assertTrue(HdmiCecController.isLanguage("en")); in testIsLanguage()303 assertTrue(HdmiCecController.isLanguage("eng")); in testIsLanguage()304 assertTrue(HdmiCecController.isLanguage("ger")); in testIsLanguage()305 assertTrue(HdmiCecController.isLanguage("zh")); in testIsLanguage()306 assertTrue(HdmiCecController.isLanguage("zhi")); in testIsLanguage()307 assertTrue(HdmiCecController.isLanguage("zho")); in testIsLanguage()309 assertFalse(HdmiCecController.isLanguage(null)); in testIsLanguage()310 assertFalse(HdmiCecController.isLanguage("")); in testIsLanguage()311 assertFalse(HdmiCecController.isLanguage("e")); in testIsLanguage()312 assertFalse(HdmiCecController.isLanguage("一")); // language code must be ASCII in testIsLanguage()
454 if (!isLanguage(language)) { in setLanguage()479 @VisibleForTesting static boolean isLanguage(String language) { in isLanguage() method in HdmiCecController
9110 HSPLandroid/icu/impl/locale/LanguageTag;->isLanguage(Ljava/lang/String;)Z32470 HSPLsun/util/locale/LanguageTag;->isLanguage(Ljava/lang/String;)Z
9107 HSPLandroid/icu/impl/locale/LanguageTag;->isLanguage(Ljava/lang/String;)Z