Searched defs:language (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSmsBroadcastConfigInfo.java13 * 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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java13 * See the License for the specific language governing permissions and
71 String language = null;
75 language = p.first;
83 header.getServiceCategory(), language, sb.toString(), priority,
104 * text into mBody, and optionally the language code into mLanguage
108 * @return a Pair of Strings containing the language and body of the message
112 String language = null;
116 // Extract encoding and language from DCS, as defined in 3gpp TS 23.038,
121 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f];
135 language
236 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmSmsTest.java13 * 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/core/java/android/speech/tts/
H A DSynthesisRequest.java13 * 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 DTextToSpeechService.java13 * License for the specific language governing permissions and limitations under
61 * The first three deal primarily with language management, and are used to
62 * query the engine for it's support for a given language and indicate to it
63 * that requests in a given language are imminent.
143 // Load default language
162 * Checks whether the engine supports a given language.
168 * @param lang ISO-3 language code.
181 * Returns the language, country and variant currently being used by the TTS engine.
188 * @return A 3-element array, containing language (ISO 3-letter code),
199 * Notifies the engine that it should load a speech synthesis language
1070 LoadLanguageItem(Object callerIdentity, int callerUid, int callerPid, String language, String country, String variant) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiUtils.java13 * See the License for the specific language governing permissions and
296 * Convert 3 byte-long language code in string to integer representation.
299 * @param language language code in string
300 * @return language code in integer representation
302 static int languageToInt(String language) { argument
303 String normalized = language.toLowerCase();
H A DHdmiCecMessageBuilder.java13 * See the License for the specific language governing permissions and
102 * @param language 3-letter ISO639-2 based language code
103 * @return newly created {@link HdmiCecMessage} if language is valid.
106 static HdmiCecMessage buildSetMenuLanguageCommand(int src, String language) { argument
107 if (language.length() != 3) {
111 String normalized = language.toLowerCase();
H A DHdmiCecLocalDeviceTv.java13 * See the License for the specific language governing permissions and
558 boolean broadcastMenuLanguage(String language) { argument
561 mAddress, language);
H A DHdmiControlService.java13 * See the License for the specific language governing permissions and
155 String language = getMenuLanguage();
156 if (!mLanguage.equals(language)) {
157 onLanguageChanged(language);
2022 private void onLanguageChanged(String language) { argument
2024 mLanguage = language;
2027 tv().broadcastMenuLanguage(language);
2028 mCecController.setOption(OPTION_CEC_SET_LANGUAGE, HdmiUtils.languageToInt(language));
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaSmsCbProgramResults.java13 * 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 DCdmaSmsCbProgramData.java13 * 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/src/java/com/android/internal/telephony/
H A DMccTable.java13 * See the License for the specific language governing permissions and
115 * an ISO 2-3 character language code if available.
125 // Ask CLDR for the language this country uses...
236 String persistSysLanguage = SystemProperties.get("persist.sys.language", "");
251 * Return Locale for the language and country or null if no good match.
254 * @param language Two character language code desired
259 private static Locale getLocaleForLanguageCountry(Context context, String language, argument
261 if (language == null) {
262 Slog.d(LOG_TAG, "getLocaleForLanguageCountry: skipping no language");
350 setSystemLocale(Context context, String language, String country) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvTrackInfo.java13 * See the License for the specific language governing permissions and
52 private TvTrackInfo(int type, String id, String language, int audioChannelCount, argument
57 mLanguage = language;
94 * Returns the language information encoded by either ISO 639-1 or ISO 639-2/T. If the language
234 * Sets the language information of the current track.
236 * @param language The language string encoded by either ISO 639-1 or ISO 639-2/T.
238 public final Builder setLanguage(String language) { argument
239 mLanguage = language;
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessage.java13 * See the License for the specific language governing permissions and
140 public BluetoothMapBmessage setLanguage(String language) { argument
141 mBbodyLanguage = language;
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsCbMessage.java13 * See the License for the specific language governing permissions and
126 /** Message language, as a two-character string, e.g. "en". */
145 SmsCbLocation location, int serviceCategory, String language, String body,
152 mLanguage = language;
278 * Get the ISO-639-1 language code for this message, or null if unspecified
368 + mServiceCategory + ", language=" + mLanguage + ", body=" + mBody
144 SmsCbMessage(int messageFormat, int geographicalScope, int serialNumber, SmsCbLocation location, int serviceCategory, String language, String body, int priority, SmsCbEtwsInfo etwsWarningInfo, SmsCbCmasInfo cmasWarningInfo) argument
/frameworks/base/native/android/
H A Dconfiguration.cpp13 * See the License for the specific language governing permissions and
53 outLanguage[0] = config->language[0];
54 outLanguage[1] = config->language[1];
141 void AConfiguration_setLanguage(AConfiguration* config, const char* language) { argument
142 config->language[0] = language[0];
143 config->language[1] = language[1];
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java13 * See the License for the specific language governing permissions and
80 * @param language message language code
84 int language) throws BitwiseOutputStream.AccessException {
101 if (language != -1) {
104 bos.write(8, (language & 0xff));
133 * @param language message language code
143 int language, int encoding, String body, int cmasCategory, int responseType,
167 BitwiseOutputStream bos = createBearerDataStream(messageId, priority, language);
83 createBearerDataStream(int messageId, int priority, int language) argument
142 createCmasSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body, int cmasCategory, int responseType, int severity, int urgency, int certainty) argument
190 createBroadcastSmsMessage(int serviceCategory, int messageId, int priority, int language, int encoding, String body) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMediaFormat.java13 * See the License for the specific language governing permissions and
83 * <tr><td>{@link #KEY_LANGUAGE}</td><td>String</td><td>The language of the content.</td></tr>
133 * A key describing the language of the content, using either ISO 639-1
136 public static final String KEY_LANGUAGE = "language";
659 * @param language The language of the content, using either ISO 639-1 or 639-2/T
660 * codes. Specify null or "und" if language information is only included
661 * in the content. (This will also work if there are multiple language
666 String language) {
669 format.setString(KEY_LANGUAGE, language);
664 createSubtitleFormat( String mime, String language) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp13 * See the License for the specific language governing permissions and
56 const char *language,
103 const char *language,
114 if (language) {
115 item.mLanguage = language;
217 format->setString("language", lang);
1015 } else if (!strcasecmp("language", key.c_str())) {
100 addMedia( const char *name, const char *uri, const char *language, uint32_t flags) argument
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodUtils.java13 * See the License for the specific language governing permissions and
445 public static boolean containsSubtypeOf(InputMethodInfo imi, String language, String mode) { argument
449 if (!subtype.getLocale().startsWith(language)) {
547 final String language = getLanguageFromLocaleString(locale);
562 if (language.equals(systemLanguage) && systemLocale.startsWith(locale)) {
597 * Returns the language component of a given locale string.
628 final String language = getLanguageFromLocaleString(locale);
647 } else if (!partialMatchFound && language.equals(subtypeLanguage)) {
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp13 * See the License for the specific language governing permissions and
371 static void readLocale(char* language, char* region) argument
375 property_get("persist.sys.language", propLang, "");
379 property_get("ro.product.locale.language", propLang, "en");
382 strncat(language, propLang, 3);
384 //ALOGD("language=%s region=%s\n", language, region);
575 char langOption[sizeof("-Duser.language=") + 3];
822 strcpy(langOption, "-Duser.language=");
/frameworks/base/tools/aapt/
H A DAaptAssets.h62 char language[4]; member in struct:AaptLocaleValue
94 void setLanguage(const char* language);
95 void setRegion(const char* language);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp13 * See the License for the specific language governing permissions and
118 // TODO: language matching (possibly integrate into style)
719 FontLanguage language = ctx->style.getLanguage(); local
720 if (language) {
721 string lang = language.getString();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java13 * See the License for the specific language governing permissions and
164 public int language = LANGUAGE_UNKNOWN; field in class:BearerData
369 * Returns the language indicator as a two-character ISO 639 string.
370 * @return a two character ISO 639 language code
373 return getLanguageCodeForValue(language);
377 * Converts a CDMA language indicator value to an ISO 639 two character language code.
378 * @param languageValue the CDMA language value to convert
379 * @return the two character ISO 639 language code for the specified value, or null if unknown
419 builder.append(", language
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h13 * See the License for the specific language governing permissions and
882 // - a 3 char language code
916 // - Two 7 bit ascii values interpreted as ISO-639-1 language
921 // ISO-639-2 3 letter language code. This will be of the form:
925 // bit[0, 4] = first letter of the language code
926 // bit[5, 9] = second letter of the language code
927 // bit[10, 14] = third letter of the language code.
935 char language[2]; member in struct:android::ResTable_config::__anon903::__anon904
944 // in the same manner as the language codes, though we should need
1198 // Sets the values of language, regio
[all...]

Completed in 901 milliseconds

12