Home
last modified time | relevance | path

Searched refs:lang_id (Results 1 – 4 of 4) sorted by relevance

/system/teeui/libteeui/prebuilt/localization/
DConfirmationUITranslations.cpp1319 int langIdMatch(const char* const* lang_ids, const char* lang_id) { in langIdMatch() argument
1324 ret = findStr(lang_ids, lang_id); in langIdMatch()
1330 for (n = 0; lang_id[n] != '\0' && n < MAX_LANG_ID_SIZE; n++) { in langIdMatch()
1331 lang_id_buf[n] = lang_id[n]; in langIdMatch()
1353 const char* selectLangId(const char* lang_id) { in selectLangId() argument
1355 if (lang_id == nullptr) { in selectLangId()
1359 int ret = langIdMatch(languageIds, lang_id); in selectLangId()
DConfirmationUITranslations-test.cpp29 extern int langIdMatch(const char* const* lang_ids, const char* lang_id);
45 static const char* test_lang_id_match(const char* lang_ids[], const char* lang_id) { in test_lang_id_match() argument
46 int ret = langIdMatch(lang_ids, lang_id); in test_lang_id_match()
/system/teeui/libteeui/prebuilt/localization/include/teeui/localization/
DConfirmationUITranslations.h32 const char* selectLangId(const char* lang_id);
/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp187 JString lang_id(env, jlang_id); in Java_com_android_framebufferizer_NativeRenderer_setLanguage() local
188 if (sCurrentExample) sCurrentExample->selectLanguage(lang_id.begin()); in Java_com_android_framebufferizer_NativeRenderer_setLanguage()