/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 | 168 * Byte 0 in the returned byte array is the count of septets used, 170 * the minimum size required to store the packed septets. The returned 171 * array cannot contain more than 255 septets. 202 * Byte 0 in the returned byte array is the count of septets used 204 * the packed septets. The returned array cannot contain more than 255 205 * septets. 219 * Byte 0 in the returned byte array is the count of septets used 221 * the packed septets. The returned array cannot contain more than 255 222 * septets. 224 * @param data the text to convert to septets 400 int septets = 0; local [all...] |
SmsMessageBase.java | 104 * septets for the standard ASCII and GSM encodings, and 16
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 216 byte[] septets = new byte[(7 * 128 + 7) / 8]; 232 septets[byteOffset] |= v << shift; 235 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); 241 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128); 244 // reEncoded has the count septets byte at the front 245 assertEquals(reEncoded.length, septets.length + 1); 247 for (int i = 0; i < septets.length; i++) { 248 assertEquals(reEncoded[i + 1], septets[i]);
|
GsmAlphabetTest.java | 162 // two septets per char 171 // stringTo7BitPacked handles up to 255 septets 182 // > 255 septets throws runtime exception 192 // Try 254 septets with 127 extended chars 203 // > 255 septets throws runtime exception
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SmsMessage.java | 606 * @param dataInSeptets true if the data payload is in septets instead 608 * @return the number of septets or octets in the user data payload 654 // Return the number of septets 675 * array before the start of the septets. 678 * array before the start of the septets 749 * @param septetCount the number of septets in the user data payload 790 * Calculate the number of septets needed to encode the message. 800 int septets = GsmAlphabet.countGsmSeptets(msgBody, !use7bitOnly); local 801 ted.codeUnitCount = septets; 802 if (septets > MAX_USER_DATA_SEPTETS) [all...] |
/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 304 int septets = GsmAlphabet.countGsmSeptets(messageBody, !use7bitOnly); local 305 ret[1] = septets; 306 if (septets > MAX_USER_DATA_SEPTETS) { 307 ret[0] = (septets + (MAX_USER_DATA_SEPTETS_WITH_HEADER - 1)) / 309 ret[2] = (ret[0] * MAX_USER_DATA_SEPTETS_WITH_HEADER) - septets; 312 ret[2] = MAX_USER_DATA_SEPTETS - septets;
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
ResponseData.java | 107 // returned byte array to the count of septets used...
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | 415 int septets = countAsciiSeptets(msg, force7BitEncoding); local 416 if (septets != -1 && septets <= SmsMessage.MAX_USER_DATA_SEPTETS) { 419 ted.codeUnitCount = septets; 420 ted.codeUnitsRemaining = SmsMessage.MAX_USER_DATA_SEPTETS - septets; 480 int septets; field in class:BearerData.Gsm7bitCodingResult 508 result.septets = fullData[0] & 0x00FF; 523 uData.numFields = gcr.septets; 599 uData.numFields = gcr.septets; [all...] |
/frameworks/base/telephony/java/android/telephony/ |
SmsMessage.java | 68 /** The maximum number of payload septets per message */ 72 * The maximum number of payload septets per message if a user data header
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
SmsMessage.java | 441 * Calculate the number of septets needed to encode the message.
|