/frameworks/base/include/androidfw/ |
H A D | LocaleData.h | 13 * See the License for the specific language governing permissions and 30 void localeDataComputeScript(char out[4], const char* language, const char* region);
|
/frameworks/base/tools/aapt2/ |
H A D | Locale_test.cpp | 13 * See the License for the specific language governing permissions and 38 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) { 40 << std::string(lv.language, sizeof(lv.language)) << "."; 60 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) { 62 << std::string(lv.language, sizeof(lv.language)) << ".";
|
H A D | Locale.h | 13 * See the License for the specific language governing permissions and 32 char language[4]; member in struct:aapt::LocaleValue 72 void setLanguage(const char* language); 73 void setRegion(const char* language);
|
H A D | Locale.cpp | 13 * See the License for the specific language governing permissions and 32 language[i++] = ::tolower(*languageChars); 144 // This is a "modified" BCP 47 language tag. Same semantics as BCP 47 tags, 176 // The language is always the first subtag. 229 if (language[0]) { 230 dirName += language; 254 config.unpackLanguage(language); 266 out->packLanguage(language);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSmsBroadcastConfigInfo.java | 13 * See the License for the specific language governing permissions and 28 * language defines a language code of Broadcast Message 30 * All other values can be treated as empty language code. 46 int language, boolean selected) { 49 mLanguage = language; 45 CdmaSmsBroadcastConfigInfo(int fromServiceCategory, int toServiceCategory, int language, boolean selected) argument
|
/frameworks/base/tools/aapt/tests/ |
H A D | ResourceFilter_test.cpp | 13 * See the License for the specific language governing permissions and 28 // such as language or density. 39 config.language[0] = 'f'; 40 config.language[1] = 'r'; 60 config.language[0] = 'f'; 61 config.language[1] = 'r'; 71 config.language[0] = 'f'; 72 config.language[1] = 'r'; 83 config.language[0] = 'e'; 84 config.language[ [all...] |
/frameworks/base/tools/aapt2/filter/ |
H A D | ConfigFilter.cpp | 13 * See the License for the specific language governing permissions and 57 // the locale we are matching only has a language specified, 59 if (config.language[0] && 60 memcmp(config.language, target.language, sizeof(config.language)) == 0) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsCbMessage.java | 13 * See the License for the specific language governing permissions and 76 String language = null; 80 language = p.first; 88 header.getServiceCategory(), language, sb.toString(), priority, 109 * text into mBody, and optionally the language code into mLanguage 113 * @return a Pair of Strings containing the language and body of the message 117 String language = null; 121 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038, 126 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f]; 140 language 241 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceFilter.cpp | 64 // language and country. If we could not compute it, we assume it's either a 65 // new language we don't know about, or a private use language. We return true 80 localeDataComputeScript(scriptBuffer, config.language, config.country); 87 scriptBuffer, entry.language, entry.country); 116 // the locale we are matching only has a language specified, 124 if (config.language[0] != '\0' && 127 config.language[0] == entry.first.language[0] && 128 config.language[ [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisRequest.java | 13 * License for the specific language governing permissions and limitations under 24 * <li>The synthesis locale, represented as a language, country and a variant. 25 * The language is an ISO 639-3 letter language code, and the country is an 86 * Gets the ISO 3-letter language code for the language to use. 93 * Gets the ISO 3-letter country code for the language to use. 100 * Gets the language variant to use. 137 void setLanguage(String language, String country, String variant) { argument 138 mLanguage = language; [all...] |
H A D | TtsEngines.java | 13 * License for the specific language governing permissions and limitations under 75 /** Mapping of various language strings to the normalized Locale form */ 84 for (String language : Locale.getISOLanguages()) { 86 normalizeLanguage.put(new Locale(language).getISO3Language(), language); 375 * "deu-deu". At the end, we test if the resulting locale can return ISO3 language and 380 String language = "", country = "", variant = ""; 384 language = split[0].toLowerCase(); 404 String normalizedLanguage = sNormalizeLanguage.get(language); 406 language [all...] |
/frameworks/base/location/java/android/location/ |
H A D | GeocoderParams.java | 13 * See the License for the specific language governing permissions and 28 * language, country and variant information from the Geocoder's locale 71 String language = in.readString(); 74 gp.mLocale = new Locale(language, country, variant);
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
H A D | CdmaSmsCbProgramResults.java | 13 * See the License for the specific language governing permissions and 66 public CdmaSmsCbProgramResults(int category, int language, int categoryResult) { argument 68 mLanguage = language; 101 * Returns the CDMA language code for this service category. 102 * @return one of the language values defined in BearerData.LANGUAGE_* 119 + ", language=" + mLanguage + ", result=" + mCategoryResult + '}';
|
H A D | CdmaSmsCbProgramData.java | 13 * See the License for the specific language governing permissions and 97 public CdmaSmsCbProgramData(int operation, int category, int language, int maxMessages, argument 101 mLanguage = language; 150 * Returns the CDMA language code for this service category. 151 * @return one of the language values defined in BearerData.LANGUAGE_* 174 * Returns the service category name, in the language specified by {@link #getLanguage()}. 184 + ", language=" + mLanguage + ", max messages=" + mMaxMessages
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmSmsTest.java | 13 * See the License for the specific language governing permissions and 348 private void decodeSingle(int language) throws Exception { argument 374 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); 375 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); 377 assertEquals(sBasicTables[language], decoded); 418 for (int language = 0; language < 3; language++) { 419 int[] tableIndex = sExtendedTableIndexes[language]; 452 0, language); [all...] |
/frameworks/base/native/android/ |
H A D | configuration.cpp | 13 * See the License for the specific language governing permissions and 53 outLanguage[0] = config->language[0]; 54 outLanguage[1] = config->language[1]; 145 void AConfiguration_setLanguage(AConfiguration* config, const char* language) { argument 146 config->language[0] = language[0]; 147 config->language[1] = language[1];
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | OSUInfo.java | 222 private static int languageScore(String language, Locale locale) { argument 223 if (language.length() == 3 && language.equalsIgnoreCase(locale.getISO3Language()) || 224 language.length() == 2 && language.equalsIgnoreCase(locale.getLanguage())) { 226 } else if (language.equalsIgnoreCase(GenericLocale)) { 228 } else if (language.equalsIgnoreCase("eng")) {
|
/frameworks/compile/slang/lit-tests/ |
H A D | scriptc-filecheck-wrapper.sh | 59 echo Unknown language "$lang"
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuBLAS.inc | 13 * See the License for the specific language governing permissions and
|
/frameworks/base/libs/androidfw/ |
H A D | LocaleData.cpp | 13 * See the License for the specific language governing permissions and 31 inline uint32_t packLocale(const char* language, const char* region) { argument 32 return (((uint8_t) language[0]) << 24u) | (((uint8_t) language[1]) << 16u) | 176 // the last ancestor is just the language by itself. We will use the 201 void localeDataComputeScript(char out[4], const char* language, const char* region) { argument 202 if (language[0] == '\0') { 206 uint32_t lookup_key = packLocale(language, region);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
H A D | asm_common.S | 13 @ See the License for the specific language governing permissions and
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ResourcesLocaleTest.java | 13 * License for the specific language governing permissions and limitations under 52 private static void ensureNoLanguage(Resources resources, String language) { argument 60 language.equals(Locale.forLanguageTag(languageTag).getLanguage())); 92 // The APK we loaded has default and Polish languages. We expect the Polish language to
|
/frameworks/base/core/tests/hosttests/ |
H A D | Android.mk | 12 # See the License for the specific language governing permissions and
|
/frameworks/base/core/tests/hosttests/test-apps/ |
H A D | Android.mk | 12 # See the License for the specific language governing permissions and
|
/frameworks/base/core/tests/hosttests/test-apps/AutoLocTestApp/ |
H A D | Android.mk | 12 # See the License for the specific language governing permissions and
|