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