/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduParser.java | 64 private PduHeaders mHeaders = null; 123 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse() 131 if ((PduHeaders.MESSAGE_TYPE_SEND_REQ == messageType) || in parse() 132 (PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF == messageType)) { in parse() 142 case PduHeaders.MESSAGE_TYPE_SEND_REQ: in parse() 148 case PduHeaders.MESSAGE_TYPE_SEND_CONF: in parse() 154 case PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND: in parse() 161 case PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND: in parse() 168 case PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF: in parse() 196 case PduHeaders.MESSAGE_TYPE_DELIVERY_IND: in parse() [all …]
|
D | SendReq.java | 31 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_REQ); in SendReq() 32 setMmsVersion(PduHeaders.CURRENT_MMS_VERSION); in SendReq() 36 setFrom(new EncodedStringValue(PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes())); in SendReq() 65 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_REQ); in SendReq() 77 SendReq(PduHeaders headers) { in SendReq() 87 SendReq(PduHeaders headers, PduBody body) { in SendReq() 97 return mPduHeaders.getEncodedStringValues(PduHeaders.BCC); in getBcc() 107 mPduHeaders.appendEncodedStringValue(value, PduHeaders.BCC); in addBcc() 117 mPduHeaders.setEncodedStringValues(value, PduHeaders.BCC); in setBcc() 126 return mPduHeaders.getEncodedStringValues(PduHeaders.CC); in getCc() [all …]
|
D | RetrieveConf.java | 36 setMessageType(PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF); in RetrieveConf() 44 RetrieveConf(PduHeaders headers) { in RetrieveConf() 54 RetrieveConf(PduHeaders headers, PduBody body) { in RetrieveConf() 64 return mPduHeaders.getEncodedStringValues(PduHeaders.CC); in getCc() 74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); in addCc() 83 return mPduHeaders.getTextString(PduHeaders.CONTENT_TYPE); in getContentType() 93 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType() 102 return mPduHeaders.getOctet(PduHeaders.DELIVERY_REPORT); in getDeliveryReport() 112 mPduHeaders.setOctet(value, PduHeaders.DELIVERY_REPORT); in setDeliveryReport() 123 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() [all …]
|
D | NotificationInd.java | 37 setMessageType(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND); in NotificationInd() 45 NotificationInd(PduHeaders headers) { in NotificationInd() 55 return mPduHeaders.getOctet(PduHeaders.CONTENT_CLASS); in getContentClass() 66 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS); in setContentClass() 77 return mPduHeaders.getTextString(PduHeaders.CONTENT_LOCATION); in getContentLocation() 88 mPduHeaders.setTextString(value, PduHeaders.CONTENT_LOCATION); in setContentLocation() 100 return mPduHeaders.getLongInteger(PduHeaders.EXPIRY); in getExpiry() 110 mPduHeaders.setLongInteger(value, PduHeaders.EXPIRY); in setExpiry() 121 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() 132 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom() [all …]
|
D | PduComposer.java | 113 private PduHeaders mPduHeader = null; 157 case PduHeaders.MESSAGE_TYPE_SEND_REQ: in make() 162 case PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND: in make() 167 case PduHeaders.MESSAGE_TYPE_ACKNOWLEDGE_IND: in make() 172 case PduHeaders.MESSAGE_TYPE_READ_REC_IND: in make() 483 case PduHeaders.MMS_VERSION: in appendHeader() 488 appendShortInteger(PduHeaders.CURRENT_MMS_VERSION); in appendHeader() 495 case PduHeaders.MESSAGE_ID: in appendHeader() 496 case PduHeaders.TRANSACTION_ID: in appendHeader() 506 case PduHeaders.TO: in appendHeader() [all …]
|
D | ReadOrigInd.java | 33 setMessageType(PduHeaders.MESSAGE_TYPE_READ_ORIG_IND); in ReadOrigInd() 41 ReadOrigInd(PduHeaders headers) { in ReadOrigInd() 51 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 60 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 71 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() 81 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom() 90 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 100 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 109 return mPduHeaders.getOctet(PduHeaders.READ_STATUS); in getReadStatus() 119 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS); in setReadStatus() [all …]
|
D | GenericPdu.java | 26 PduHeaders mPduHeaders = null; 32 mPduHeaders = new PduHeaders(); in GenericPdu() 40 GenericPdu(PduHeaders headers) { in GenericPdu() 49 PduHeaders getPduHeaders() { in getPduHeaders() 59 return mPduHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in getMessageType() 70 mPduHeaders.setOctet(value, PduHeaders.MESSAGE_TYPE); in setMessageType() 79 return mPduHeaders.getOctet(PduHeaders.MMS_VERSION); in getMmsVersion() 90 mPduHeaders.setOctet(value, PduHeaders.MMS_VERSION); in setMmsVersion() 101 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() 111 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom()
|
D | PduPersister.java | 100 PduHeaders.BCC, 101 PduHeaders.CC, 102 PduHeaders.FROM, 103 PduHeaders.TO 207 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT_CHARSET); in CHARSET_COLUMN_INDEX_MAP.put() 208 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT_CHARSET); in CHARSET_COLUMN_INDEX_MAP.put() 211 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.SUBJECT, Mms.SUBJECT_CHARSET); in CHARSET_COLUMN_NAME_MAP.put() 212 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.RETRIEVE_TEXT, Mms.RETRIEVE_TEXT_CHARSET); in CHARSET_COLUMN_NAME_MAP.put() 216 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT); in ENCODED_STRING_COLUMN_INDEX_MAP.put() 217 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT); in ENCODED_STRING_COLUMN_INDEX_MAP.put() [all …]
|
D | DeliveryInd.java | 36 setMessageType(PduHeaders.MESSAGE_TYPE_DELIVERY_IND); in DeliveryInd() 44 DeliveryInd(PduHeaders headers) { in DeliveryInd() 54 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 63 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 72 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 82 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 91 return mPduHeaders.getOctet(PduHeaders.STATUS); in getStatus() 101 mPduHeaders.setOctet(value, PduHeaders.STATUS); in setStatus() 110 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); in getTo() 120 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); in setTo()
|
D | MultimediaMessagePdu.java | 44 public MultimediaMessagePdu(PduHeaders header, PduBody body) { in MultimediaMessagePdu() 54 MultimediaMessagePdu(PduHeaders headers) { in MultimediaMessagePdu() 82 return mPduHeaders.getEncodedStringValue(PduHeaders.SUBJECT); in getSubject() 92 mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT); in setSubject() 101 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); in getTo() 111 mPduHeaders.appendEncodedStringValue(value, PduHeaders.TO); in addTo() 120 return mPduHeaders.getOctet(PduHeaders.PRIORITY); in getPriority() 130 mPduHeaders.setOctet(value, PduHeaders.PRIORITY); in setPriority() 139 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 148 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate()
|
D | ReadRecInd.java | 40 setMessageType(PduHeaders.MESSAGE_TYPE_READ_REC_IND); in ReadRecInd() 53 ReadRecInd(PduHeaders headers) { in ReadRecInd() 63 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 72 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 81 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 91 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 100 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); in getTo() 110 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); in setTo() 119 return mPduHeaders.getOctet(PduHeaders.READ_STATUS); in getReadStatus() 129 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS); in setReadStatus()
|
D | SendConf.java | 33 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_CONF); in SendConf() 41 SendConf(PduHeaders headers) { in SendConf() 51 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 61 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 70 return mPduHeaders.getOctet(PduHeaders.RESPONSE_STATUS); in getResponseStatus() 80 mPduHeaders.setOctet(value, PduHeaders.RESPONSE_STATUS); in setResponseStatus() 89 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); in getTransactionId() 99 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | NotifyRespInd.java | 40 setMessageType(PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND); in NotifyRespInd() 51 NotifyRespInd(PduHeaders headers) { in NotifyRespInd() 61 return mPduHeaders.getOctet(PduHeaders.REPORT_ALLOWED); in getReportAllowed() 72 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); in setReportAllowed() 83 mPduHeaders.setOctet(value, PduHeaders.STATUS); in setStatus() 92 return mPduHeaders.getOctet(PduHeaders.STATUS); in getStatus() 101 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); in getTransactionId() 112 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | AcknowledgeInd.java | 38 setMessageType(PduHeaders.MESSAGE_TYPE_ACKNOWLEDGE_IND); in AcknowledgeInd() 48 AcknowledgeInd(PduHeaders headers) { in AcknowledgeInd() 58 return mPduHeaders.getOctet(PduHeaders.REPORT_ALLOWED); in getReportAllowed() 68 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); in setReportAllowed() 77 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); in getTransactionId() 87 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | PduHeaders.java | 25 public class PduHeaders { class 330 public PduHeaders() { in PduHeaders() method in PduHeaders
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 19 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_DELIVERY_IND; 20 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND; 21 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_READ_ORIG_IND; 57 import com.google.android.mms.pdu.PduHeaders; 502 Integer.toString(PduHeaders.MESSAGE_TYPE_SEND_REQ) in getDeliveryOrReadReportThreadId() 535 Integer.toString(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND), in isDuplicateNotification()
|