/frameworks/minikin/tests/perftests/ |
H A D | FontLanguage.cpp | 13 * See the License for the specific language governing permissions and 24 Locale language(StringPiece("en-US", 5)); 31 Locale language(StringPiece("en-Latn-US", 10)); 38 Locale language(StringPiece("en-Latn-US-u-em-emoji", 21));
|
/frameworks/base/libs/androidfw/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 43 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 47 << std::string(lv.language, sizeof(lv.language)) << "."; 70 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 74 << 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 75 void set_language(const char* language); 76 void set_region(const char* 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/aapt2/filter/ |
H A D | ConfigFilter.cpp | 13 * See the License for the specific language governing permissions and 48 // language and country. If we could not compute it, we assume it's either a 49 // new language we don't know about, or a private use language. We return true 63 android::localeDataComputeScript(script_buffer, config.language, config.country); 69 android::localeDataComputeScript(script_buffer, entry.language, entry.country); 95 // the locale we are matching only has a language specified, 103 if (config.language[0] != '\0' && config.country[0] == '\0' && 104 config.localeVariant[0] == '\0' && config.language[0] == entry.first.language[ [all...] |
/frameworks/base/core/proto/android/content/ |
H A D | locale.proto | 13 * See the License for the specific language governing permissions and 28 optional string language = 1;
|
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | I18Name.java | 13 * See the License for the specific language governing permissions and 51 public I18Name(String language, Locale locale, String text) { argument 52 mLanguage = language; 74 // Read the language string. 75 String language = ByteBufferReader.readString( 77 Locale locale = Locale.forLanguageTag(language); 82 return new I18Name(language, locale, text);
|
H A D | IconInfo.java | 13 * See the License for the specific language governing permissions and 50 public IconInfo(int width, int height, String language, String iconType, String fileName) { argument 53 mLanguage = language; 71 // Read the language string. 72 String language = ByteBufferReader.readString( 80 return new IconInfo(width, height, language, iconType, fileName);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsCbMessage.java | 13 * See the License for the specific language governing permissions and 111 String language = null; 115 language = p.first; 123 header.getServiceCategory(), language, sb.toString(), priority, 131 * text into mBody, and optionally the language code into mLanguage 135 * @return a Pair of Strings containing the language and body of the message 139 String language = null; 143 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038, 148 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f]; 162 language 263 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | I18NameTest.java | 13 * See the License for the specific language governing permissions and 45 * @param language The language code string 50 private byte[] getTestData(String language, String text) throws IOException { argument 52 stream.write(language.getBytes(StandardCharsets.US_ASCII)); 53 stream.write(new byte[]{(byte) 0x0}); // Padding for language code. 59 * Helper function for generating default test data. The test data include the language code 138 * a non-English (French) language. 145 String language = "fr"; 147 byte[] data = getTestData(language, tex [all...] |
H A D | ANQPParserTest.java | 13 * See the License for the specific language governing permissions and 45 * @param language Array of languages 50 private static byte[] getVenueNamePayload(String[] language, String[] text) argument 54 stream.write(getI18NameListPayload(language, text)); 158 * @param language Array of language 163 private static byte[] getHSFriendlyNamePayload(String[] language, String[] text) argument 165 return getI18NameListPayload(language, text); 238 * @param language Array of language 243 getI18NameListPayload(String[] language, String[] text) 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 352 private void decodeSingle(int language) throws Exception { argument 378 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); 379 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); 381 assertEquals(sBasicTables[language], decoded); 422 for (int language = 0; language < 3; language++) { 423 int[] tableIndex = sExtendedTableIndexes[language]; 456 0, language); [all...] |
/frameworks/base/native/android/ |
H A D | configuration.cpp | 13 * See the License for the specific language governing permissions and 58 outLanguage[0] = config->language[0]; 59 outLanguage[1] = config->language[1]; 150 void AConfiguration_setLanguage(AConfiguration* config, const char* language) { argument 151 config->language[0] = language[0]; 152 config->language[1] = language[1];
|
/frameworks/compile/slang/lit-tests/ |
H A D | scriptc-filecheck-wrapper.sh | 78 echo Unknown language "$lang"
|
/frameworks/base/media/java/android/media/ |
H A D | AudioPresentation.java | 13 * See the License for the specific language governing permissions and 44 * presentation. An audio stream may contain multiple presentations that differ by language, 100 @NonNull String language, 107 this.mLanguage = language; 138 * locale corresponding to the language code as specified by ISO 639-2. Either ISO 639-2/B 150 * @return the locale corresponding to audio presentation's ISO 639-1/639-2 language code. 97 AudioPresentation(int presentationId, int programId, @NonNull Map<String, String> labels, @NonNull String language, @MasteringIndicationType int masteringIndication, boolean audioDescriptionAvailable, boolean spokenSubtitlesAvailable, boolean dialogueEnhancementAvailable) argument
|
/frameworks/minikin/app/ |
H A D | HyphTool.cpp | 14 Hyphenator* loadHybFile(const char* fn, int minPrefix, int minSuffix, const char* language) { argument 35 return Hyphenator::loadBinary(buf, minPrefix, minSuffix, language);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuBLAS.inc | 13 * See the License for the specific language governing permissions and
|