/frameworks/base/telephony/common/com/google/android/mms/pdu/ |
D | PduParser.java | 65 private PduHeaders mHeaders = null; 126 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in parse() 134 if ((PduHeaders.MESSAGE_TYPE_SEND_REQ == messageType) || in parse() 135 (PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF == messageType)) { in parse() 145 case PduHeaders.MESSAGE_TYPE_SEND_REQ: in parse() 151 case PduHeaders.MESSAGE_TYPE_SEND_CONF: in parse() 157 case PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND: in parse() 164 case PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND: in parse() 171 case PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF: in parse() 199 case PduHeaders.MESSAGE_TYPE_DELIVERY_IND: in parse() [all …]
|
D | SendReq.java | 33 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_REQ); in SendReq() 34 setMmsVersion(PduHeaders.CURRENT_MMS_VERSION); in SendReq() 38 setFrom(new EncodedStringValue(PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes())); in SendReq() 67 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_REQ); in SendReq() 79 SendReq(PduHeaders headers) { in SendReq() 90 SendReq(PduHeaders headers, PduBody body) { in SendReq() 101 return mPduHeaders.getEncodedStringValues(PduHeaders.BCC); in getBcc() 112 mPduHeaders.appendEncodedStringValue(value, PduHeaders.BCC); in addBcc() 123 mPduHeaders.setEncodedStringValues(value, PduHeaders.BCC); in setBcc() 133 return mPduHeaders.getEncodedStringValues(PduHeaders.CC); in getCc() [all …]
|
D | RetrieveConf.java | 39 setMessageType(PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF); in RetrieveConf() 47 RetrieveConf(PduHeaders headers) { in RetrieveConf() 58 RetrieveConf(PduHeaders headers, PduBody body) { in RetrieveConf() 69 return mPduHeaders.getEncodedStringValues(PduHeaders.CC); in getCc() 80 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); in addCc() 90 return mPduHeaders.getTextString(PduHeaders.CONTENT_TYPE); in getContentType() 101 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType() 111 return mPduHeaders.getOctet(PduHeaders.DELIVERY_REPORT); in getDeliveryReport() 122 mPduHeaders.setOctet(value, PduHeaders.DELIVERY_REPORT); in setDeliveryReport() 134 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() [all …]
|
D | PduComposer.java | 119 private PduHeaders mPduHeader = null; 166 case PduHeaders.MESSAGE_TYPE_SEND_REQ: in make() 167 case PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF: in make() 172 case PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND: in make() 177 case PduHeaders.MESSAGE_TYPE_ACKNOWLEDGE_IND: in make() 182 case PduHeaders.MESSAGE_TYPE_READ_REC_IND: in make() 505 case PduHeaders.MMS_VERSION: in appendHeader() 510 appendShortInteger(PduHeaders.CURRENT_MMS_VERSION); in appendHeader() 517 case PduHeaders.MESSAGE_ID: in appendHeader() 518 case PduHeaders.TRANSACTION_ID: in appendHeader() [all …]
|
D | NotificationInd.java | 40 setMessageType(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND); in NotificationInd() 49 NotificationInd(PduHeaders headers) { in NotificationInd() 60 return mPduHeaders.getOctet(PduHeaders.CONTENT_CLASS); in getContentClass() 72 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS); in setContentClass() 84 return mPduHeaders.getTextString(PduHeaders.CONTENT_LOCATION); in getContentLocation() 96 mPduHeaders.setTextString(value, PduHeaders.CONTENT_LOCATION); in setContentLocation() 109 return mPduHeaders.getLongInteger(PduHeaders.EXPIRY); in getExpiry() 120 mPduHeaders.setLongInteger(value, PduHeaders.EXPIRY); in setExpiry() 132 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() 144 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom() [all …]
|
D | ReadOrigInd.java | 35 setMessageType(PduHeaders.MESSAGE_TYPE_READ_ORIG_IND); in ReadOrigInd() 44 ReadOrigInd(PduHeaders headers) { in ReadOrigInd() 54 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 63 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 74 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() 84 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom() 94 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 104 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 114 return mPduHeaders.getOctet(PduHeaders.READ_STATUS); in getReadStatus() 124 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS); in setReadStatus() [all …]
|
D | GenericPdu.java | 29 PduHeaders mPduHeaders = null; 36 mPduHeaders = new PduHeaders(); in GenericPdu() 44 GenericPdu(PduHeaders headers) { in GenericPdu() 54 PduHeaders getPduHeaders() { in getPduHeaders() 65 return mPduHeaders.getOctet(PduHeaders.MESSAGE_TYPE); in getMessageType() 77 mPduHeaders.setOctet(value, PduHeaders.MESSAGE_TYPE); in setMessageType() 86 return mPduHeaders.getOctet(PduHeaders.MMS_VERSION); in getMmsVersion() 97 mPduHeaders.setOctet(value, PduHeaders.MMS_VERSION); in setMmsVersion() 109 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); in getFrom() 120 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom()
|
D | DeliveryInd.java | 38 setMessageType(PduHeaders.MESSAGE_TYPE_DELIVERY_IND); in DeliveryInd() 47 DeliveryInd(PduHeaders headers) { in DeliveryInd() 58 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 67 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 77 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 87 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 97 return mPduHeaders.getOctet(PduHeaders.STATUS); in getStatus() 107 mPduHeaders.setOctet(value, PduHeaders.STATUS); in setStatus() 117 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); in getTo() 127 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); in setTo()
|
D | PduPersister.java | 101 PduHeaders.BCC, 102 PduHeaders.CC, 103 PduHeaders.FROM, 104 PduHeaders.TO 215 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT_CHARSET); in CHARSET_COLUMN_INDEX_MAP.put() 216 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT_CHARSET); in CHARSET_COLUMN_INDEX_MAP.put() 219 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.SUBJECT, Mms.SUBJECT_CHARSET); in CHARSET_COLUMN_NAME_MAP.put() 220 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.RETRIEVE_TEXT, Mms.RETRIEVE_TEXT_CHARSET); in CHARSET_COLUMN_NAME_MAP.put() 224 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT); in ENCODED_STRING_COLUMN_INDEX_MAP.put() 225 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT); in ENCODED_STRING_COLUMN_INDEX_MAP.put() [all …]
|
D | ReadRecInd.java | 43 setMessageType(PduHeaders.MESSAGE_TYPE_READ_REC_IND); in ReadRecInd() 57 ReadRecInd(PduHeaders headers) { in ReadRecInd() 67 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 77 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 87 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 97 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 106 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); in getTo() 116 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); in setTo() 125 return mPduHeaders.getOctet(PduHeaders.READ_STATUS); in getReadStatus() 135 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS); in setReadStatus()
|
D | MultimediaMessagePdu.java | 48 public MultimediaMessagePdu(PduHeaders header, PduBody body) { in MultimediaMessagePdu() 58 MultimediaMessagePdu(PduHeaders headers) { in MultimediaMessagePdu() 89 return mPduHeaders.getEncodedStringValue(PduHeaders.SUBJECT); in getSubject() 100 mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT); in setSubject() 110 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); in getTo() 121 mPduHeaders.appendEncodedStringValue(value, PduHeaders.TO); in addTo() 131 return mPduHeaders.getOctet(PduHeaders.PRIORITY); in getPriority() 142 mPduHeaders.setOctet(value, PduHeaders.PRIORITY); in setPriority() 152 return mPduHeaders.getLongInteger(PduHeaders.DATE); in getDate() 162 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate()
|
D | SendConf.java | 36 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_CONF); in SendConf() 45 SendConf(PduHeaders headers) { in SendConf() 56 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); in getMessageId() 66 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 76 return mPduHeaders.getOctet(PduHeaders.RESPONSE_STATUS); in getResponseStatus() 86 mPduHeaders.setOctet(value, PduHeaders.RESPONSE_STATUS); in setResponseStatus() 96 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); in getTransactionId() 106 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | NotifyRespInd.java | 43 setMessageType(PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND); in NotifyRespInd() 55 NotifyRespInd(PduHeaders headers) { in NotifyRespInd() 65 return mPduHeaders.getOctet(PduHeaders.REPORT_ALLOWED); in getReportAllowed() 77 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); in setReportAllowed() 89 mPduHeaders.setOctet(value, PduHeaders.STATUS); in setStatus() 98 return mPduHeaders.getOctet(PduHeaders.STATUS); in getStatus() 107 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); in getTransactionId() 119 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | AcknowledgeInd.java | 41 setMessageType(PduHeaders.MESSAGE_TYPE_ACKNOWLEDGE_IND); in AcknowledgeInd() 52 AcknowledgeInd(PduHeaders headers) { in AcknowledgeInd() 62 return mPduHeaders.getOctet(PduHeaders.REPORT_ALLOWED); in getReportAllowed() 73 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); in setReportAllowed() 82 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); in getTransactionId() 93 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | PduHeaders.java | 27 public class PduHeaders { class 333 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; 62 import com.google.android.mms.pdu.PduHeaders; 584 Integer.toString(PduHeaders.MESSAGE_TYPE_SEND_REQ) in getDeliveryOrReadReportThreadId() 616 Integer.toString(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND), in isDuplicateNotification()
|