/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 349 byte[] septets = new byte[(7 * 128 + 7) / 8]; 365 septets[byteOffset] |= v << shift; 368 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); 374 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); 379 // reEncoded has the count septets byte at the front 380 assertEquals(septets.length + 1, reEncoded.length); 382 for (int i = 0; i < septets.length; i++) { 383 assertEquals(septets[i], reEncoded[i + 1]); 420 int numSeptets = tableIndex.length * 2; // two septets per extended char 421 byte[] septets = new byte[(7 * numSeptets + 7) / 8] [all...] |
GsmAlphabetTest.java | 169 // two septets per char 178 // stringTo7BitPacked handles up to 255 septets 189 // > 255 septets throws runtime exception 199 // Try 254 septets with 127 extended chars 210 // > 255 septets throws runtime exception
|
SmsMessageBodyTest.java | 242 * requires a user data header of 3 octets, or 4 septets, plus UDH length. 248 * requires a user data header of 6 octets, or 7 septets, plus UDH length. 253 * Multi-part messages require a user data header of 5 octets, or 6 septets,
|
/external/qemu/telephony/ |
gsm.h | 78 /* try to skip enough utf8 characters to generate gsm7len GSM septets */ 84 returns the number of septets, */ 87 /* convert a utf8 string into an array of 8-bit unpacked GSM septets, 91 /* convert a GSM septets string into a utf-8 byte string. assumes that 'utf8' is NULL or properly 92 sized. 'offset' is the starting bit offset in 'src', 'count' is the number of input septets. 96 /* convert an unpacked 8-bit GSM septets string into a utf-8 byte string. assumes that 'utf8' 113 by spaces. returns the number of septets */ 120 /* convert a GSM septets string into a ucs2 string. assumes that 'ucs2' is NULL or 122 of input septets. return the number of ucs2 characters (not bytes) */ 125 /* convert an 8-bit unpacked GSM septets string into a ucs2 string. assumes that 'ucs2 [all...] |
gsm.c | 589 /* return the number of septets needed to encode a unicode charcode */ 777 /* count the number of septets required to write a utf8 string */ 848 /* convert a utf8 string to a gsm7 byte string - return the number of septets written */
|
sms.c | 36 /* maximum number of 7-bit septets in a SMS text message */ [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsConstants.java | 31 /** The maximum number of payload septets per message */ 35 * The maximum number of payload septets per message if a user data header
|
GsmAlphabet.java | 62 * requires a user data header of 3 octets, or 4 septets, plus UDH length. 68 * requires a user data header of 6 octets, or 7 septets, plus UDH length. 73 * Multi-part messages require a user data header of 5 octets, or 6 septets, 92 * septets for the standard ASCII and GSM encodings, and 16 282 * Byte 0 in the returned byte array is the count of septets used, 284 * the minimum size required to store the packed septets. The returned 285 * array cannot contain more than 255 septets. 321 * Byte 0 in the returned byte array is the count of septets used 323 * the packed septets. The returned array cannot contain more than 255 324 * septets 647 int septets = countGsmSeptetsUsingTables(s, true, 0, 0); local 813 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0); local 894 int septets = lpc.septetCounts[shiftTable]; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
SmsMessage.java | 309 Rlog.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " septets)"); 615 * @param dataInSeptets true if the data payload is in septets instead 617 * @return the number of septets or octets in the user data payload 644 * the number of uncompressed septets. 663 // Return the number of septets 695 * @param septetCount the number of septets in the user data payload 758 * Calculate the number of septets needed to encode the message. [all...] |
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/ |
DialogSmsDisplayTests.java | 98 // byte 0 of encodedString is the length in septets (don't copy)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 477 int septets = countAsciiSeptets(msg, force7BitEncoding); local 478 if (septets != -1 && septets <= SmsConstants.MAX_USER_DATA_SEPTETS) { 481 ted.codeUnitCount = septets; 482 ted.codeUnitsRemaining = SmsConstants.MAX_USER_DATA_SEPTETS - septets; 542 int septets; field in class:BearerData.Gsm7bitCodingResult 570 result.septets = fullData[0] & 0x00FF; 585 uData.numFields = gcr.septets; 667 uData.numFields = gcr.septets; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResponseData.java | 126 // returned byte array to the count of septets used...
|
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsMessage.java | 71 /** The maximum number of payload septets per message */ 75 * The maximum number of payload septets per message if a user data header
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
SmsMessage.java | 82 /** The maximum number of payload septets per message 88 * The maximum number of payload septets per message if a user data header
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
SmsMessage.java | 453 * Calculate the number of septets needed to encode the message. [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SMSDispatcher.java | 515 * Calculate the number of septets needed to encode the message. [all...] |