Home | History | Annotate | Download | only in gsm

Lines Matching defs:dcs

114         int dcs = smsMessage.getDataCodingScheme();
170 EVENT_SEND_ENVELOPE_RESPONSE, new int[]{ dcs, pid }));
199 private void sendSmsAckForEnvelopeResponse(IccIoResult response, int dcs, int pid) {
235 smsAckPdu[index++] = 0x07; // TP-PI: TP-PID, TP-DCS, TP-UDL present
241 smsAckPdu[index++] = 0x07; // TP-PI: TP-PID, TP-DCS, TP-UDL present
245 smsAckPdu[index++] = (byte) dcs;
247 if (is7bitDcs(dcs)) {
265 * Returns whether the DCS is 7 bit. If so, set TP-UDL to the septet count of TP-UD;
267 * @param dcs the TP-Data-Coding-Scheme field from the original download SMS
268 * @return true if the DCS specifies 7 bit encoding; false otherwise
270 private static boolean is7bitDcs(int dcs) {
272 return ((dcs & 0x8C) == 0x00) || ((dcs & 0xF4) == 0xF0);