Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java651 int dataCodingScheme = pdu.gsmSubmitGetTpDcs(); in gsmParseSubmitPdu() local
656 if ((dataCodingScheme & 0x80) == 0) { in gsmParseSubmitPdu()
658 userDataCompressed = (0 != (dataCodingScheme & 0x20)); in gsmParseSubmitPdu()
662 dataCodingScheme & 0xff)); in gsmParseSubmitPdu()
664 switch ((dataCodingScheme >> 2) & 0x3) { in gsmParseSubmitPdu()
675 Log.w(TAG, "1 - Unsupported SMS data coding scheme " + (dataCodingScheme in gsmParseSubmitPdu()
681 } else if ((dataCodingScheme & 0xf0) == 0xf0) { in gsmParseSubmitPdu()
684 if (0 == (dataCodingScheme & 0x04)) { in gsmParseSubmitPdu()
691 } else if ((dataCodingScheme & 0xF0) == 0xC0 || (dataCodingScheme & 0xF0) == 0xD0 in gsmParseSubmitPdu()
692 || (dataCodingScheme & 0xF0) == 0xE0) { in gsmParseSubmitPdu()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsCbHeader.java518 public DataCodingScheme(int dataCodingScheme) { in DataCodingScheme() argument
525 switch ((dataCodingScheme & 0xf0) >> 4) { in DataCodingScheme()
528 language = LANGUAGE_CODES_GROUP_0[dataCodingScheme & 0x0f]; in DataCodingScheme()
533 if ((dataCodingScheme & 0x0f) == 0x01) { in DataCodingScheme()
542 language = LANGUAGE_CODES_GROUP_2[dataCodingScheme & 0x0f]; in DataCodingScheme()
551 switch ((dataCodingScheme & 0x0c) >> 2) { in DataCodingScheme()
575 "Unsupported GSM dataCodingScheme " + dataCodingScheme; in DataCodingScheme()
582 if (((dataCodingScheme & 0x04) >> 2) == 0x01) { in DataCodingScheme()