Home
last modified time | relevance | path

Searched refs:languageTable (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java122 public int languageTable; field in GsmAlphabet.TextEncodingDetails
137 ", languageTable=" + languageTable + in toString()
312 int languageTable, int languageShiftTable) in stringToGsm7BitPackedWithHeader() argument
315 return stringToGsm7BitPacked(data, languageTable, languageShiftTable); in stringToGsm7BitPackedWithHeader()
321 byte[] ret = stringToGsm7BitPacked(data, headerSeptets, true, languageTable, in stringToGsm7BitPackedWithHeader()
369 public static byte[] stringToGsm7BitPacked(String data, int languageTable, in stringToGsm7BitPacked() argument
372 return stringToGsm7BitPacked(data, 0, true, languageTable, languageShiftTable); in stringToGsm7BitPacked()
398 boolean throwException, int languageTable, int languageShiftTable) in stringToGsm7BitPacked() argument
402 languageTable, languageShiftTable); in stringToGsm7BitPacked()
413 SparseIntArray charToLanguageTable = sCharsToGsmTables[languageTable]; in stringToGsm7BitPacked()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java272 int languageTable, int languageShiftTable) { in getSubmitPdu() argument
274 header, encoding, languageTable, languageShiftTable, -1, 0); in getSubmitPdu()
298 int languageTable, int languageShiftTable, int validityPeriod) { in getSubmitPdu() argument
300 encoding, languageTable, languageShiftTable, validityPeriod, 0); in getSubmitPdu()
324 int languageTable, int languageShiftTable, int validityPeriod, int messageRef) { in getSubmitPdu() argument
335 languageTable = ted.languageTable; in getSubmitPdu()
339 (languageTable != 0 || languageShiftTable != 0)) { in getSubmitPdu()
342 if (smsHeader.languageTable != languageTable in getSubmitPdu()
345 + smsHeader.languageTable + " -> " + languageTable + ", " in getSubmitPdu()
347 smsHeader.languageTable = languageTable; in getSubmitPdu()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java81 return languageTable == smsHeader.languageTable in equals()
91 return Objects.hash(portAddrs, concatRef, specialSmsMsgList, miscEltList, languageTable, in hashCode()
205 public int languageTable; field in SmsHeader
278 smsHeader.languageTable = inStream.read(); in fromByteArray()
309 (smsHeader.languageTable == 0)) { in toByteArray()
351 if (smsHeader.languageTable != 0) { in toByteArray()
354 outStream.write(smsHeader.languageTable); in toByteArray()
396 if (languageTable != 0) { in toString()
397 builder.append(", languageTable=" + languageTable); in toString()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java396 ret[4] = ted.languageTable; in calculateLength()
441 if (ted.languageTable != 0 && ted.languageShiftTable != 0) { in fragmentText()
443 } else if (ted.languageTable != 0 || ted.languageShiftTable != 0) { in fragmentText()
499 ted.languageTable, ted.languageShiftTable); in fragmentText()
719 @IntRange(from = 0) int languageTable, in getSubmitPduEncodedMessage()
745 smsHeader.languageTable = languageTable; in getSubmitPduEncodedMessage()
752 SmsHeader.toByteArray(smsHeader), encoding, languageTable, in getSubmitPduEncodedMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java280 assertEquals(0, ted.languageTable); in testFragmentText()
295 assertEquals(0, ted.languageTable); in testFragmentText()
322 assertEquals(0, ted.languageTable); in testFragmentTurkishText()
338 assertEquals(0, ted.languageTable); in testFragmentTurkishText()
356 assertEquals(0, ted.languageTable); in testFragmentTurkishText()
DSmsMessageBodyTest.java573 assertEquals("languageTable", expectedValues[4], ted.languageTable); in callGsmLengthMethods()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1873 smsHeader.languageTable = encodingForParts[i].languageTable; in sendMultipartText()
1968 SmsHeader.toByteArray(smsHeader), encoding, smsHeader.languageTable, in getNewSubmitPduTracker()