/frameworks/base/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 | 168 // two septets per char 177 // stringTo7BitPacked handles up to 255 septets 188 // > 255 septets throws runtime exception 198 // Try 254 septets with 127 extended chars 209 // > 255 septets throws runtime exception
|
SmsMessageBodyTest.java | 245 * requires a user data header of 3 octets, or 4 septets, plus UDH length. 251 * requires a user data header of 6 octets, or 7 septets, plus UDH length. 256 * 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/ |
GsmAlphabet.java | 67 * requires a user data header of 3 octets, or 4 septets, plus UDH length. 73 * requires a user data header of 6 octets, or 7 septets, plus UDH length. 78 * Multi-part messages require a user data header of 5 octets, or 6 septets, 233 * Byte 0 in the returned byte array is the count of septets used, 235 * the minimum size required to store the packed septets. The returned 236 * array cannot contain more than 255 septets. 272 * Byte 0 in the returned byte array is the count of septets used 274 * the packed septets. The returned array cannot contain more than 255 275 * septets. 292 * Byte 0 in the returned byte array is the count of septets use 598 int septets = countGsmSeptetsUsingTables(s, true, 0, 0); local 760 int septets = GsmAlphabet.countGsmSeptetsUsingTables(s, use7bitOnly, 0, 0); local 841 int septets = lpc.septetCounts[shiftTable]; local [all...] |
SmsMessageBase.java | 103 * septets for the standard ASCII and GSM encodings, and 16
|
SMSDispatcher.java | 747 * Calculate the number of septets needed to encode the message. [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SmsMessage.java | 311 Log.e(LOG_TAG, "Message too long (" + (0xff & userData[0]) + " septets)"); 612 * @param dataInSeptets true if the data payload is in septets instead 614 * @return the number of septets or octets in the user data payload 641 * the number of uncompressed septets. 660 // Return the number of septets 681 * array before the start of the septets. 684 * array before the start of the septets 703 * @param septetCount the number of septets in the user data payload 766 * Calculate the number of septets needed to encode the message. [all...] |
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/ |
DialogSmsDisplayTests.java | 95 // byte 0 of encodedString is the length in septets (don't copy)
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 416 int septets = countAsciiSeptets(msg, force7BitEncoding); local 417 if (septets != -1 && septets <= SmsMessage.MAX_USER_DATA_SEPTETS) { 420 ted.codeUnitCount = septets; 421 ted.codeUnitsRemaining = SmsMessage.MAX_USER_DATA_SEPTETS - septets; 481 int septets; field in class:BearerData.Gsm7bitCodingResult 509 result.septets = fullData[0] & 0x00FF; 524 uData.numFields = gcr.septets; 599 uData.numFields = gcr.septets; [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
ResponseData.java | 123 // returned byte array to the count of septets used...
|
/frameworks/base/telephony/java/android/telephony/ |
SmsMessage.java | 70 /** The maximum number of payload septets per message */ 74 * The maximum number of payload septets per message if a user data header
|
/frameworks/base/telephony/java/android/telephony/gsm/ |
SmsMessage.java | 87 /** The maximum number of payload septets per message 93 * The maximum number of payload septets per message if a user data header
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
SmsMessage.java | 437 * Calculate the number of septets needed to encode the message. [all...] |
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
SendTestMessages.java | 398 // byte 0 of encodedString is the length in septets (don't copy)
|