/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
SmsMessage.java | 198 GsmAlphabet.TextEncodingDetails ted = local 202 ret[0] = ted.msgCount; 203 ret[1] = ted.codeUnitCount; 204 ret[2] = ted.codeUnitsRemaining; 205 ret[3] = ted.codeUnitSize;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsMessageBase.java | 380 TextEncodingDetails ted = new TextEncodingDetails(); local 382 ted.codeUnitSize = SmsConstants.ENCODING_16BIT; 383 ted.codeUnitCount = msgBody.length(); 404 ted.codeUnitsRemaining = pos + maxUserDataBytesWithHeader / 2 - 410 ted.msgCount = msgCount; 412 ted.msgCount = 1; 413 ted.codeUnitsRemaining = (SmsConstants.MAX_USER_DATA_BYTES - octets) / 2; 416 return ted;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 246 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); local 247 assertEquals(1, ted.msgCount); 248 assertEquals(160, ted.codeUnitCount); 249 assertEquals(1, ted.codeUnitSize); 250 assertEquals(0, ted.languageTable); 251 assertEquals(0, ted.languageShiftTable); 261 ted = SmsMessage.calculateLength(text, false); 262 assertEquals(2, ted.msgCount); 263 assertEquals(161, ted.codeUnitCount); 264 assertEquals(1, ted.codeUnitSize) 288 GsmAlphabet.TextEncodingDetails ted = SmsMessage.calculateLength(text, false); local [all...] |
SmsMessageBodyTest.java | 570 GsmAlphabet.TextEncodingDetails ted = local 572 assertEquals("msgCount", expectedValues[0], ted.msgCount); 573 assertEquals("codeUnitCount", expectedValues[1], ted.codeUnitCount); 574 assertEquals("codeUnitsRemaining", expectedValues[2], ted.codeUnitsRemaining); 575 assertEquals("codeUnitSize", expectedValues[3], ted.codeUnitSize); 576 assertEquals("languageTable", expectedValues[4], ted.languageTable); 577 assertEquals("languageShiftTable", expectedValues[5], ted.languageShiftTable); 592 GsmAlphabet.TextEncodingDetails ted = local 594 assertEquals("msgCount", expectedValues[0], ted.msgCount); 595 assertEquals("codeUnitCount", expectedValues[1], ted.codeUnitCount) [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsMessage.java | 302 TextEncodingDetails ted = (useCdmaFormatForMoSms()) ? local 307 ret[0] = ted.msgCount; 308 ret[1] = ted.codeUnitCount; 309 ret[2] = ted.codeUnitsRemaining; 310 ret[3] = ted.codeUnitSize; 326 TextEncodingDetails ted = (useCdmaFormatForMoSms()) ? local 335 if (ted.codeUnitSize == SmsConstants.ENCODING_7BIT) { 337 if (ted.languageTable != 0 && ted.languageShiftTable != 0) { 339 } else if (ted.languageTable != 0 || ted.languageShiftTable != 0) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
CdmaSmsTest.java | 920 TextEncodingDetails ted = SmsMessage.calculateLength(text1, false, true); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
SmsMessage.java | 247 TextEncodingDetails ted = calculateLength(message, false); local 248 encoding = ted.codeUnitSize; 249 languageTable = ted.languageTable; 250 languageShiftTable = ted.languageShiftTable; 797 TextEncodingDetails ted = GsmAlphabet.countGsmSeptets(newMsgBody, use7bitOnly); local 798 if (ted == null) { 801 return ted; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapSmsPdu.java | 484 GsmAlphabet.TextEncodingDetails ted = (PHONE_TYPE_CDMA == activePhone) ? local 490 int msgCount = ted.msgCount; 501 encoding = ted.codeUnitSize; 502 languageTable = ted.languageTable; 503 languageShiftTable = ted.languageShiftTable; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 478 TextEncodingDetails ted; local 481 ted = new TextEncodingDetails(); 482 ted.msgCount = 1; 483 ted.codeUnitCount = septets; 484 ted.codeUnitsRemaining = SmsConstants.MAX_USER_DATA_SEPTETS - septets; 485 ted.codeUnitSize = SmsConstants.ENCODING_7BIT; 487 ted = com.android.internal.telephony.gsm.SmsMessage.calculateLength( 489 if (ted.msgCount == 1 && ted.codeUnitSize == SmsConstants.ENCODING_7BIT && 496 return ted; [all...] |