Home
last modified time | relevance | path

Searched refs:messageClass (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java606 final byte[] messageClass = mPduHeader.getTextString(field); in appendHeader()
607 if (null == messageClass) { in appendHeader()
612 if (Arrays.equals(messageClass, in appendHeader()
615 } else if (Arrays.equals(messageClass, in appendHeader()
618 } else if (Arrays.equals(messageClass, in appendHeader()
621 } else if (Arrays.equals(messageClass, in appendHeader()
625 appendTextString(messageClass); in appendHeader()
DPduParser.java609 int messageClass = extractByteValue(pduDataStream); in parseHeaders() local
613 messageClass); in parseHeaders()
616 if (messageClass >= PduHeaders.MESSAGE_CLASS_PERSONAL) { in parseHeaders()
619 if (PduHeaders.MESSAGE_CLASS_PERSONAL == messageClass) { in parseHeaders()
623 } else if (PduHeaders.MESSAGE_CLASS_ADVERTISEMENT == messageClass) { in parseHeaders()
627 } else if (PduHeaders.MESSAGE_CLASS_INFORMATIONAL == messageClass) { in parseHeaders()
631 } else if (PduHeaders.MESSAGE_CLASS_AUTO == messageClass) { in parseHeaders()
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduParser.java582 int messageClass = extractByteValue(pduDataStream); in parseHeaders() local
585 + " value: " + messageClass); in parseHeaders()
588 if (messageClass >= PduHeaders.MESSAGE_CLASS_PERSONAL) { in parseHeaders()
591 if (PduHeaders.MESSAGE_CLASS_PERSONAL == messageClass) { in parseHeaders()
595 } else if (PduHeaders.MESSAGE_CLASS_ADVERTISEMENT == messageClass) { in parseHeaders()
599 } else if (PduHeaders.MESSAGE_CLASS_INFORMATIONAL == messageClass) { in parseHeaders()
603 } else if (PduHeaders.MESSAGE_CLASS_AUTO == messageClass) { in parseHeaders()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendGsmCmasMessages.java230 int messageClass = getCmasMessageClass(serviceCategory); in createCmasSmsMessage() local
233 messageClass, in createCmasSmsMessage()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java120 int messageClass = cursor.getInt(cmasMessageClassColumn); in createFromCursor() local
167 cmasInfo = new SmsCbCmasInfo(messageClass, cmasCategory, responseType, severity, in createFromCursor()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsCbHeader.java216 int messageClass = getCmasMessageClass(); in SmsCbHeader() local
221 mCmasInfo = new SmsCbCmasInfo(messageClass, SmsCbCmasInfo.CMAS_CATEGORY_UNKNOWN, in SmsCbHeader()
DBearerData.java502 int messageClass = serviceCategoryToCmasMessageClass(serviceCategory); in decodeCmasUserData() local
562 bData.cmasWarningInfo = new SmsCbCmasInfo(messageClass, category, responseType, severity, in decodeCmasUserData()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCdmaSmsMessageTest.java479 private static void doTestCmasBroadcast(Context context, int serviceCategory, int messageClass, in doTestCmasBroadcast() argument
498 assertEquals(messageClass, cmasInfo.getMessageClass()); in doTestCmasBroadcast()