Home
last modified time | relevance | path

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

/hardware/interfaces/confirmationui/support/src/
DConfirmationUITranslations.c1091 int ConfirmationUITranslations_lang_id_match(const char** lang_ids, const char* lang_id) { in ConfirmationUITranslations_lang_id_match() argument
1096 ret = ConfirmationUITranslations_find_str(lang_ids, lang_id); in ConfirmationUITranslations_lang_id_match()
1102 for (n = 0; lang_id[n] != '\0' && n < MAX_LANG_ID_SIZE; n++) { in ConfirmationUITranslations_lang_id_match()
1103 lang_id_buf[n] = lang_id[n]; in ConfirmationUITranslations_lang_id_match()
1125 const char* ConfirmationUITranslations_select_lang_id(const char* lang_id) { in ConfirmationUITranslations_select_lang_id() argument
1127 if (lang_id == NULL) { in ConfirmationUITranslations_select_lang_id()
1131 …t ret = ConfirmationUITranslations_lang_id_match(ConfirmationUITranslations_language_ids, lang_id); in ConfirmationUITranslations_select_lang_id()
/hardware/interfaces/confirmationui/support/include/
DConfirmationUITranslations.h23 const char* ConfirmationUITranslations_select_lang_id(const char* lang_id);
/hardware/interfaces/confirmationui/support/test/
DConfirmationUITranslations-test.c35 const char* lang_id);
37 static const char* test_lang_id_match(const char* lang_ids[], const char* lang_id) { in test_lang_id_match() argument
38 int ret = ConfirmationUITranslations_lang_id_match(lang_ids, lang_id); in test_lang_id_match()