Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/util/
DGsmAlphabet.java166 int gsmVal; in gsm7BitPackedToString() local
168 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
173 gsmVal &= 0x7f >> (shift - 1); in gsm7BitPackedToString()
175 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
179 if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
182 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString()
184 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()
190 } else if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
193 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmAlphabet.java693 int gsmVal; in gsm7BitPackedToString() local
695 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
700 gsmVal &= 0x7f >> (shift - 1); in gsm7BitPackedToString()
702 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
706 if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
709 char c = shiftTableToChar.charAt(gsmVal); in gsm7BitPackedToString()
711 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()
717 } else if (gsmVal == GSM_EXTENDED_ESCAPE) { in gsm7BitPackedToString()
720 ret.append(languageTableToChar.charAt(gsmVal)); in gsm7BitPackedToString()