/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/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 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 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/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 60 * Gets the ISO 3-letter language code for the language to use. 67 * Gets the ISO 3-letter country code for the language to use. 74 * Gets the language variant to use. 111 void setLanguage(String language, String country, String variant) { argument 112 mLanguage = language; [all...] |
H A D | TextToSpeechService.java | 13 * License for the specific language governing permissions and limitations under 57 * The first three deal primarily with language management, and are used to 58 * query the engine for it's support for a given language and indicate to it 59 * that requests in a given language are imminent. 111 // Load default language 130 * Checks whether the engine supports a given language. 136 * @param lang ISO-3 language code. 149 * Returns the language, country and variant currently being used by the TTS engine. 153 * @return A 3-element array, containing language (ISO 3-letter code), 164 * Notifies the engine that it should load a speech synthesis language 752 LoadLanguageItem(Object callerIdentity, int callerUid, int callerPid, Bundle params, String language, String country, String variant) argument [all...] |
/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/src/java/com/android/internal/telephony/ |
H A D | MccTable.java | 13 * See the License for the specific language governing permissions and 57 MccEntry(int mnc, String iso, int smallestDigitsMCC, String language) { argument 61 mLanguage = language; 135 * an ISO 2-3 character language code if available. 220 * Return Locale for the language and country or null if no good match. 223 * @param language Two character language code desired 229 public static Locale getLocaleForLanguageCountry(Context context, String language, String country) { argument 230 String l = SystemProperties.get("persist.sys.language"); 233 if (null == language) { 294 setSystemLocale(Context context, String language, String country) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaFormat.java | 13 * See the License for the specific language governing permissions and 75 * <tr><td>{@link #KEY_LANGUAGE}</td><td>String</td><td>The language of the content.</td></tr> 88 * A key describing the language of the content, using either ISO 639-1 91 public static final String KEY_LANGUAGE = "language"; 383 * @param language The language of the content, using either ISO 639-1 or 639-2/T 384 * codes. Specify null or "und" if language information is only included 385 * in the content. (This will also work if there are multiple language 390 String language) { 393 format.setString(KEY_LANGUAGE, language); 388 createSubtitleFormat( String mime, String language) argument [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsCbMessage.java | 13 * 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 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]; 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 D | CdmaSmsCbTest.java | 13 * 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/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 13 * See the License for the specific language governing permissions and 53 const char *language, 97 const char *language, 108 if (language) { 109 item.mLanguage = language; 915 } else if (!strcasecmp("language", key.c_str())) { 94 addMedia( const char *name, const char *uri, const char *language, uint32_t flags) argument
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 13 * See the License for the specific language governing permissions and 184 public static boolean containsSubtypeOf(InputMethodInfo imi, String language, String mode) { argument 187 if (!imi.getSubtypeAt(i).getLocale().startsWith(language)) { 356 final String language = locale.substring(0, 2); 374 } else if (!partialMatchFound && subtypeLocale.startsWith(language)) {
|
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 13 * See the License for the specific language governing permissions and 377 static void readLocale(char* language, char* region) argument 381 property_get("persist.sys.language", propLang, ""); 385 property_get("ro.product.locale.language", propLang, "en"); 388 strncat(language, propLang, 2); 390 //ALOGD("language=%s region=%s\n", language, region); 743 char langOption[sizeof("-Duser.language=") + 3]; 745 strcpy(langOption, "-Duser.language=");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 13 * 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 D | ResourceTypes.h | 13 * See the License for the specific language governing permissions and 832 char language[2]; member in struct:android::ResTable_config::__anon1073::__anon1074
|