/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
RetrieveConf.java | 36 setMessageType(PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF); 44 RetrieveConf(PduHeaders headers) { 54 RetrieveConf(PduHeaders headers, PduBody body) { 64 return mPduHeaders.getEncodedStringValues(PduHeaders.CC); 74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); 83 return mPduHeaders.getTextString(PduHeaders.CONTENT_TYPE); 93 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); 102 return mPduHeaders.getOctet(PduHeaders.DELIVERY_REPORT); 112 mPduHeaders.setOctet(value, PduHeaders.DELIVERY_REPORT); 123 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM) [all...] |
DeliveryInd.java | 36 setMessageType(PduHeaders.MESSAGE_TYPE_DELIVERY_IND); 44 DeliveryInd(PduHeaders headers) { 54 return mPduHeaders.getLongInteger(PduHeaders.DATE); 63 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 72 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); 82 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 91 return mPduHeaders.getOctet(PduHeaders.STATUS); 101 mPduHeaders.setOctet(value, PduHeaders.STATUS); 110 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); 120 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO) [all...] |
GenericPdu.java | 26 PduHeaders mPduHeaders = null; 32 mPduHeaders = new PduHeaders(); 40 GenericPdu(PduHeaders headers) { 47 * @return A PduHeaders of this PDU. 49 PduHeaders getPduHeaders() { 59 return mPduHeaders.getOctet(PduHeaders.MESSAGE_TYPE); 70 mPduHeaders.setOctet(value, PduHeaders.MESSAGE_TYPE); 79 return mPduHeaders.getOctet(PduHeaders.MMS_VERSION); 90 mPduHeaders.setOctet(value, PduHeaders.MMS_VERSION); 101 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM) [all...] |
NotificationInd.java | 37 setMessageType(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND); 45 NotificationInd(PduHeaders headers) { 55 return mPduHeaders.getOctet(PduHeaders.CONTENT_CLASS); 66 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS); 77 return mPduHeaders.getTextString(PduHeaders.CONTENT_LOCATION); 88 mPduHeaders.setTextString(value, PduHeaders.CONTENT_LOCATION); 100 return mPduHeaders.getLongInteger(PduHeaders.EXPIRY); 110 mPduHeaders.setLongInteger(value, PduHeaders.EXPIRY); 121 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); 132 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM) [all...] |
SendReq.java | 31 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_REQ); 32 setMmsVersion(PduHeaders.CURRENT_MMS_VERSION); 36 setFrom(new EncodedStringValue(PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes())); 65 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_REQ); 77 SendReq(PduHeaders headers) { 87 SendReq(PduHeaders headers, PduBody body) { 97 return mPduHeaders.getEncodedStringValues(PduHeaders.BCC); 107 mPduHeaders.appendEncodedStringValue(value, PduHeaders.BCC); 117 mPduHeaders.setEncodedStringValues(value, PduHeaders.BCC); 126 return mPduHeaders.getEncodedStringValues(PduHeaders.CC) [all...] |
AcknowledgeInd.java | 38 setMessageType(PduHeaders.MESSAGE_TYPE_ACKNOWLEDGE_IND); 48 AcknowledgeInd(PduHeaders headers) { 58 return mPduHeaders.getOctet(PduHeaders.REPORT_ALLOWED); 68 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); 77 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); 87 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID);
|
NotifyRespInd.java | 40 setMessageType(PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND); 51 NotifyRespInd(PduHeaders headers) { 61 return mPduHeaders.getOctet(PduHeaders.REPORT_ALLOWED); 72 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); 83 mPduHeaders.setOctet(value, PduHeaders.STATUS); 92 return mPduHeaders.getOctet(PduHeaders.STATUS); 101 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); 112 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID);
|
SendConf.java | 33 setMessageType(PduHeaders.MESSAGE_TYPE_SEND_CONF); 41 SendConf(PduHeaders headers) { 51 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); 61 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 70 return mPduHeaders.getOctet(PduHeaders.RESPONSE_STATUS); 80 mPduHeaders.setOctet(value, PduHeaders.RESPONSE_STATUS); 89 return mPduHeaders.getTextString(PduHeaders.TRANSACTION_ID); 99 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID);
|
ReadOrigInd.java | 33 setMessageType(PduHeaders.MESSAGE_TYPE_READ_ORIG_IND); 41 ReadOrigInd(PduHeaders headers) { 51 return mPduHeaders.getLongInteger(PduHeaders.DATE); 60 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 71 return mPduHeaders.getEncodedStringValue(PduHeaders.FROM); 81 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); 90 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); 100 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 109 return mPduHeaders.getOctet(PduHeaders.READ_STATUS); 119 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS) [all...] |
MultimediaMessagePdu.java | 44 public MultimediaMessagePdu(PduHeaders header, PduBody body) { 54 MultimediaMessagePdu(PduHeaders headers) { 82 return mPduHeaders.getEncodedStringValue(PduHeaders.SUBJECT); 92 mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT); 101 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); 111 mPduHeaders.appendEncodedStringValue(value, PduHeaders.TO); 120 return mPduHeaders.getOctet(PduHeaders.PRIORITY); 130 mPduHeaders.setOctet(value, PduHeaders.PRIORITY); 139 return mPduHeaders.getLongInteger(PduHeaders.DATE); 148 mPduHeaders.setLongInteger(value, PduHeaders.DATE) [all...] |
ReadRecInd.java | 40 setMessageType(PduHeaders.MESSAGE_TYPE_READ_REC_IND); 53 ReadRecInd(PduHeaders headers) { 63 return mPduHeaders.getLongInteger(PduHeaders.DATE); 72 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 81 return mPduHeaders.getTextString(PduHeaders.MESSAGE_ID); 91 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 100 return mPduHeaders.getEncodedStringValues(PduHeaders.TO); 110 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); 119 return mPduHeaders.getOctet(PduHeaders.READ_STATUS); 129 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS) [all...] |
PduParser.java | 64 private PduHeaders mHeaders = null; 123 int messageType = mHeaders.getOctet(PduHeaders.MESSAGE_TYPE); 131 if ((PduHeaders.MESSAGE_TYPE_SEND_REQ == messageType) || 132 (PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF == messageType)) { 142 case PduHeaders.MESSAGE_TYPE_SEND_REQ: 148 case PduHeaders.MESSAGE_TYPE_SEND_CONF: 154 case PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND: 161 case PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND: 168 case PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF: 196 case PduHeaders.MESSAGE_TYPE_DELIVERY_IND [all...] |
PduComposer.java | 113 private PduHeaders mPduHeader = null; 157 case PduHeaders.MESSAGE_TYPE_SEND_REQ: 162 case PduHeaders.MESSAGE_TYPE_NOTIFYRESP_IND: 167 case PduHeaders.MESSAGE_TYPE_ACKNOWLEDGE_IND: 172 case PduHeaders.MESSAGE_TYPE_READ_REC_IND: 483 case PduHeaders.MMS_VERSION: 488 appendShortInteger(PduHeaders.CURRENT_MMS_VERSION); 495 case PduHeaders.MESSAGE_ID: 496 case PduHeaders.TRANSACTION_ID: 506 case PduHeaders.TO [all...] |
PduPersister.java | 99 PduHeaders.BCC, 100 PduHeaders.CC, 101 PduHeaders.FROM, 102 PduHeaders.TO 206 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT_CHARSET); 207 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT_CHARSET); 210 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.SUBJECT, Mms.SUBJECT_CHARSET); 211 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.RETRIEVE_TEXT, Mms.RETRIEVE_TEXT_CHARSET); 215 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT); 216 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MmsWapPushReceiver.java | 28 import com.google.android.mms.pdu.PduHeaders; 55 case PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND: { 67 case PduHeaders.MESSAGE_TYPE_DELIVERY_IND: { 71 case PduHeaders.MESSAGE_TYPE_READ_ORIG_IND: {
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
MmsMessageSender.java | 40 import com.google.android.mms.pdu.PduHeaders; 57 private static final int DEFAULT_PRIORITY = PduHeaders.PRIORITY_NORMAL; 58 private static final String DEFAULT_MESSAGE_CLASS = PduHeaders.MESSAGE_CLASS_PERSONAL_STR; 78 if (pdu.getMessageType() != PduHeaders.MESSAGE_TYPE_SEND_REQ) { 143 sendReq.setDeliveryReport(dr?PduHeaders.VALUE_YES:PduHeaders.VALUE_NO); 148 sendReq.setReadReport(rr?PduHeaders.VALUE_YES:PduHeaders.VALUE_NO); 157 new EncodedStringValue(PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes()), 159 PduHeaders.CURRENT_MMS_VERSION [all...] |
RetryScheduler.java | 40 import com.google.android.mms.pdu.PduHeaders; 131 (msgType == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND); 138 case PduHeaders.RESPONSE_STATUS_ERROR_SENDING_ADDRESS_UNRESOLVED: 141 case PduHeaders.RESPONSE_STATUS_ERROR_SERVICE_DENIED: 142 case PduHeaders.RESPONSE_STATUS_ERROR_PERMANENT_SERVICE_DENIED: 145 case PduHeaders.RESPONSE_STATUS_ERROR_NETWORK_PROBLEM: 148 case PduHeaders.RESPONSE_STATUS_ERROR_TRANSIENT_MESSAGE_NOT_FOUND: 149 case PduHeaders.RESPONSE_STATUS_ERROR_PERMANENT_MESSAGE_NOT_FOUND: 162 PduHeaders.RESPONSE_STATUS_ERROR_PERMANENT_MESSAGE_NOT_FOUND) {
|
NotificationTransaction.java | 23 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF; 24 import static com.google.android.mms.pdu.PduHeaders.STATUS_DEFERRED; 25 import static com.google.android.mms.pdu.PduHeaders.STATUS_RETRIEVED; 26 import static com.google.android.mms.pdu.PduHeaders.STATUS_UNRECOGNIZED; 49 import com.google.android.mms.pdu.PduHeaders; 253 PduHeaders.CURRENT_MMS_VERSION,
|
PushReceiver.java | 21 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_DELIVERY_IND; 22 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND; 23 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_READ_ORIG_IND; 47 import com.google.android.mms.pdu.PduHeaders; 195 sb.append(PduHeaders.MESSAGE_TYPE_SEND_REQ);
|
/packages/apps/Mms/src/com/android/mms/util/ |
AddressUtils.java | 31 import com.google.android.mms.pdu.PduHeaders; 49 Addr.TYPE + "=" + PduHeaders.FROM, null, null);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
DeliveryReportActivity.java | 45 import com.google.android.mms.pdu.PduHeaders; 231 case PduHeaders.READ_STATUS_READ: 233 case PduHeaders.READ_STATUS__DELETED_WITHOUT_BEING_READ: 242 case PduHeaders.STATUS_FORWARDED: 243 case PduHeaders.STATUS_RETRIEVED: 245 case PduHeaders.STATUS_REJECTED: 382 mIsDeliveryReportRequsted = drValue == PduHeaders.VALUE_YES; 383 mIsReadReportRequested = rrValue == PduHeaders.VALUE_YES;
|
MessageItem.java | 50 import com.google.android.mms.pdu.PduHeaders; 189 boolean loadSlideshow = mMessageType != PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND; 222 return (mMessageType != PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND); 314 if (PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND == mMessageType) { 330 if (mMessageType == PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF) { 362 if (reportInt == PduHeaders.VALUE_YES) { 381 mReadReport = (reportInt == PduHeaders.VALUE_YES); 389 if (PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND == mMessageType) {
|
MessageUtils.java | 72 import com.google.android.mms.pdu.PduHeaders; 158 case PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND: 160 case PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF: 161 case PduHeaders.MESSAGE_TYPE_SEND_REQ: 232 if (type == PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND) { 395 case PduHeaders.PRIORITY_HIGH: 397 case PduHeaders.PRIORITY_LOW: 399 case PduHeaders.PRIORITY_NORMAL: 725 + PduHeaders.MESSAGE_TYPE_RETRIEVE_CONF 727 + " AND " + Mms.READ_REPORT + " = " + PduHeaders.VALUE_YES) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
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; 51 import com.google.android.mms.pdu.PduHeaders; 423 Integer.toString(PduHeaders.MESSAGE_TYPE_SEND_REQ) 456 Integer.toString(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND),
|
/packages/services/Mms/src/com/android/mms/service/ |
DownloadRequest.java | 47 import com.google.android.mms.pdu.PduHeaders; 126 if (status != PduHeaders.RETRIEVE_STATUS_OK) { 139 Integer.toString(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND), 180 Integer.toString(PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND),
|