Lines Matching defs:language
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 = LANGUAGE_CODES_GROUP_2[dataCodingScheme & 0x0f];
235 hasLanguageIndicator, language);
236 language = p.first;
239 return new Pair<String, String>(language, sb.toString());
245 return unpackBody(pdu, encoding, offset, length, hasLanguageIndicator, language);
258 * language indicator. If so, this method will as a side-effect
259 * assign the extracted language code into mLanguage
260 * @param language the language to return if hasLanguageIndicator is false
261 * @return a Pair of Strings containing the language and body of the message
264 boolean hasLanguageIndicator, String language) {
274 language = body.substring(0, 2);
283 language = GsmAlphabet.gsm7BitPackedToString(pdu, offset, 2);
312 return new Pair<String, String>(language, body);