Lines Matching refs:sendReq
29 import com.google.android.mms.pdu.SendReq;
73 SendReq sendReq = (SendReq) pdu;
76 updatePreferencesHeaders(sendReq);
79 sendReq.setMessageClass(DEFAULT_MESSAGE_CLASS.getBytes());
82 sendReq.setDate(System.currentTimeMillis() / 1000L);
84 sendReq.setMessageSize(mMessageSize);
86 p.updateHeaders(mMessageUri, sendReq);
99 private void updatePreferencesHeaders(SendReq sendReq) throws MmsException {
103 sendReq.setExpiry(prefs.getLong(
107 sendReq.setPriority(prefs.getInt(MessagingPreferenceActivity.PRIORITY, DEFAULT_PRIORITY));
112 sendReq.setDeliveryReport(dr?PduHeaders.VALUE_YES:PduHeaders.VALUE_NO);
117 sendReq.setReadReport(rr?PduHeaders.VALUE_YES:PduHeaders.VALUE_NO);