Searched defs:pdu (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessageStatusService.java56 byte[] pdu = intent.getByteArrayExtra("pdu");
59 SmsMessage message = updateMessageStatus(this, messageUri, pdu, format);
68 private SmsMessage updateMessageStatus(Context context, Uri messageUri, byte[] pdu, argument
70 SmsMessage message = SmsMessage.createFromPdu(pdu, format);
H A DPushReceiver.java21 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;
28 import com.google.android.mms.pdu.DeliveryInd;
29 import com.google.android.mms.pdu.GenericPdu;
30 import com.google.android.mms.pdu.NotificationInd;
31 import com.google.android.mms.pdu.PduHeaders;
32 import com.google.android.mms.pdu.PduParser;
33 import com.google.android.mms.pdu.PduPersister;
34 import com.google.android.mms.pdu
169 findThreadId(Context context, GenericPdu pdu, int type) argument
[all...]
H A DHttpUtils.java90 * @param pdu The data to be POST. Null when the method is HTTP_GET_METHOD.
98 String url, byte[] pdu, int method, boolean isProxySet,
115 //Log.v(TAG, "\tpdu\t\t= " + Arrays.toString(pdu));
132 context, token, pdu);
97 httpConnection(Context context, long token, String url, byte[] pdu, int method, boolean isProxySet, String proxyHost, int proxyPort) argument
H A DTransaction.java115 * @param pdu A byte array which contains the data of the PDU.
120 * @throws MmsException if pdu is null.
122 protected byte[] sendPdu(byte[] pdu) throws IOException, MmsException { argument
123 return sendPdu(SendingProgressTokenManager.NO_TOKEN, pdu,
130 * @param pdu A byte array which contains the data of the PDU.
136 * @throws MmsException if pdu is null.
138 protected byte[] sendPdu(byte[] pdu, String mmscUrl) throws IOException, MmsException { argument
139 return sendPdu(SendingProgressTokenManager.NO_TOKEN, pdu, mmscUrl);
146 * @param pdu A byte array which contains the data of the PDU.
151 * @throws MmsException if pdu i
153 sendPdu(long token, byte[] pdu) argument
169 sendPdu(long token, byte[] pdu, String mmscUrl) argument
[all...]
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/
H A DDialogSmsDisplayTests.java85 byte[] pdu = new byte[88];
86 pdu[0] = (byte) ((serialNumber >> 8) & 0xff);
87 pdu[1] = (byte) (serialNumber & 0xff);
88 pdu[2] = (byte) ((messageId >> 8) & 0xff);
89 pdu[3] = (byte) (messageId & 0xff);
90 pdu[4] = (byte) (dcs & 0xff);
91 pdu[5] = 0x11; // single page message
96 System.arraycopy(encodedString, 0, pdu, 6, encodedString.length);
100 System.arraycopy(encodedString, 1, pdu, 6, encodedString.length-1);
102 return pdu;
114 createFromPdu(byte[] pdu) argument
[all...]
/packages/apps/Mms/src/com/android/mms/util/
H A DPduLoaderManager.java28 import com.google.android.mms.pdu.GenericPdu;
29 import com.google.android.mms.pdu.MultimediaMessagePdu;
30 import com.google.android.mms.pdu.PduPersister;
46 * PduLoaderManager is used to asynchronously load mms pdu's and then build a slideshow model
47 * from that loaded pdu. Then it will call the passed in callback with the result. This class
169 GenericPdu pdu = null;
173 pdu = mPduPersister.load(mUri);
174 if (pdu != null && mRequestSlideshow) {
176 ((MultimediaMessagePdu)pdu).getBody());
182 final GenericPdu resultPdu = pdu;
219 PduLoaded(GenericPdu pdu, SlideshowModel slideshow) argument
[all...]
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
H A DSendTestMessages.java388 private static SmsCbMessage createFromPdu(byte[] pdu) { argument
391 pdus[0] = pdu;

Completed in 117 milliseconds