/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 242 byte[] septets = new byte[(7 * 128 + 7) / 8]; 258 septets[byteOffset] |= v << shift; 261 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); 267 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); 272 // reEncoded has the count septets byte at the front 273 assertEquals(septets.length + 1, reEncoded.length); 275 for (int i = 0; i < septets.length; i++) { 276 assertEquals(septets[i], reEncoded[i + 1]); 313 int numSeptets = tableIndex.length * 2; // two septets per extended char 314 byte[] septets = new byte[(7 * numSeptets + 7) / 8] [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...] |
/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...] |