Lines Matching full:country

1115  *  @country - string with ISO 3 letter country code .
1116 * @variant - string with language variant for that language and country pair.
1119 tts_result TtsEngine::loadLanguage(const char *lang, const char *country, const char *variant) in loadLanguage() argument
1129 * @country - string with ISO 3 letter country code.
1130 * @variant - string with language variant for that language and country pair.
1133 tts_result TtsEngine::setLanguage( const char * lang, const char * country, const char * variant ) in setLanguage() argument
1135 //ALOGI("TtsEngine::setLanguage %s %s %s", lang, country, variant); in setLanguage()
1147 then we look for a match on the country. in setLanguage()
1150 If match on the language, but no match on the country: in setLanguage()
1152 If match on the language, and match on the country: in setLanguage()
1153 load the language found for the country match. */ in setLanguage()
1172 /* Find a match on the country, if there is one. */ in setLanguage()
1173 if (country != NULL) in setLanguage()
1179 && (strcmp(country, picoSupportedCountryIso3[i]) == 0)) in setLanguage()
1188 /* We didn't find a match on the country, but we had a match on the language. in setLanguage()
1190 … ALOGI("TtsEngine::setLanguage found matching language(%s) but not matching country(%s).", in setLanguage()
1191 lang, country); in setLanguage()
1195 /* We have a match on both the language and the country. */ in setLanguage()
1207 * @country - string with ISO 3 letter country code .
1208 * @variant - string with language variant for that language and country pair.
1211 tts_support_result TtsEngine::isLanguageAvailable(const char *lang, const char *country, in isLanguageAvailable() argument
1238 // country matching in isLanguageAvailable()
1239 // if no country specified in isLanguageAvailable()
1240 if ((country == NULL) || (strlen(country) == 0)) { in isLanguageAvailable()
1245 // find a match on the country in isLanguageAvailable()
1248 && (strcmp(country, picoSupportedCountryIso3[i]) == 0)) { in isLanguageAvailable()
1254 // we didn't find a match on the country, but we had a match on the language in isLanguageAvailable()
1258 // we have a match on the language and the country in isLanguageAvailable()
1260 // check installation of matched language + country in isLanguageAvailable()
1271 * @country - string with current ISO 3 letter country code, empty string if no loaded language.
1275 tts_result TtsEngine::getLanguage(char *language, char *country, char *variant) in getLanguage() argument
1279 strcpy(country, "\0"); in getLanguage()
1283 strcpy(country, picoSupportedCountryIso3[picoCurrentLangIndex]); in getLanguage()