Home
last modified time | relevance | path

Searched refs:gsmVal (Results 1 – 2 of 2) sorted by relevance

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmAlphabet.java689 int gsmVal; in gsm7BitPackedToString() local
691 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
696 gsmVal &= 0x7f >> (shift - 1); in gsm7BitPackedToString()
698 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
702 if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
705 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString()
707 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()
713 } else if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
716 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()
/packages/apps/Bluetooth/src/com/android/bluetooth/util/
DGsmAlphabet.java175 int gsmVal; in gsm7BitPackedToString() local
177 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
182 gsmVal &= 0x7f >> (shift - 1); in gsm7BitPackedToString()
184 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
188 if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
191 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString()
193 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()
199 } else if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
202 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()