/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...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
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/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...] |