Searched refs:pdu (Results 1 - 25 of 74) sorted by relevance

123

/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DPduContentTypes.java18 package android.support.v7.mms.pdu;
H A DInvalidHeaderValueException.java18 package android.support.v7.mms.pdu;
H A DMmsException.java18 package android.support.v7.mms.pdu;
H A DAcknowledgeInd.java18 package android.support.v7.mms.pdu;
25 * Constructor, used when composing a M-Acknowledge.ind pdu.
H A DSendConf.java18 package android.support.v7.mms.pdu;
H A DDeliveryInd.java18 package android.support.v7.mms.pdu;
H A DGenericPdu.java18 package android.support.v7.mms.pdu;
22 * The headers of pdu.
H A DNotifyRespInd.java18 package android.support.v7.mms.pdu;
25 * Constructor, used when composing a M-NotifyResp.ind pdu.
H A DQuotedPrintable.java18 package android.support.v7.mms.pdu;
H A DReadOrigInd.java18 package android.support.v7.mms.pdu;
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DPduContentTypes.java18 package com.android.messaging.mmslib.pdu;
H A DAcknowledgeInd.java18 package com.android.messaging.mmslib.pdu;
27 * Constructor, used when composing a M-Acknowledge.ind pdu.
H A DPduBody.java18 package com.android.messaging.mmslib.pdu;
H A DDeliveryInd.java18 package com.android.messaging.mmslib.pdu;
H A DGenericPdu.java18 package com.android.messaging.mmslib.pdu;
24 * The headers of pdu.
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
H A DPduCacheEntry.java20 import com.android.messaging.mmslib.pdu.GenericPdu;
27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { argument
28 mPdu = pdu;
/packages/apps/CellBroadcastReceiver/tests/testapp/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/services/Mms/src/com/android/mms/service/
H A DSendRequest.java43 import com.google.android.mms.pdu.EncodedStringValue;
44 import com.google.android.mms.pdu.GenericPdu;
45 import com.google.android.mms.pdu.PduComposer;
46 import com.google.android.mms.pdu.PduHeaders;
47 import com.google.android.mms.pdu.PduParser;
48 import com.google.android.mms.pdu.PduPersister;
49 import com.google.android.mms.pdu.SendConf;
50 import com.google.android.mms.pdu.SendReq;
167 GenericPdu pdu = (new PduParser(mPduData, supportContentDisposition)).parse();
168 if (pdu
238 updateDestinationAddress(final GenericPdu pdu) argument
258 updateDestinationAddressPerType(SendReq pdu, int type) argument
[all...]
H A DDownloadRequest.java43 import com.google.android.mms.pdu.GenericPdu;
44 import com.google.android.mms.pdu.PduHeaders;
45 import com.google.android.mms.pdu.PduParser;
46 import com.google.android.mms.pdu.PduPersister;
47 import com.google.android.mms.pdu.RetrieveConf;
119 final GenericPdu pdu = (new PduParser(response, supportMmsContentDisposition)).parse();
120 if (pdu == null || !(pdu instanceof RetrieveConf)) {
124 final RetrieveConf retrieveConf = (RetrieveConf) pdu;
146 pdu,
[all...]
H A DMmsService.java46 import com.google.android.mms.pdu.DeliveryInd;
47 import com.google.android.mms.pdu.GenericPdu;
48 import com.google.android.mms.pdu.NotificationInd;
49 import com.google.android.mms.pdu.PduParser;
50 import com.google.android.mms.pdu.PduPersister;
51 import com.google.android.mms.pdu.ReadOrigInd;
52 import com.google.android.mms.pdu.RetrieveConf;
53 import com.google.android.mms.pdu.SendReq;
534 final GenericPdu pdu = parsePduForAnyCarrier(pduData);
535 if (pdu
839 writePduToContentUri(final Uri contentUri, final byte[] pdu) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsSender.java32 import com.android.messaging.mmslib.pdu.AcknowledgeInd;
33 import com.android.messaging.mmslib.pdu.EncodedStringValue;
34 import com.android.messaging.mmslib.pdu.GenericPdu;
35 import com.android.messaging.mmslib.pdu.NotifyRespInd;
36 import com.android.messaging.mmslib.pdu.PduComposer;
37 import com.android.messaging.mmslib.pdu.PduHeaders;
38 import com.android.messaging.mmslib.pdu.PduParser;
39 import com.android.messaging.mmslib.pdu.RetrieveConf;
40 import com.android.messaging.mmslib.pdu.SendConf;
41 import com.android.messaging.mmslib.pdu
146 sendMms(final Context context, final int subId, final Uri messageUri, final String locationUrl, final GenericPdu pdu, final boolean responseImportant, final Bundle sentIntentExtras) argument
173 writePduToTempFile(final Context context, final GenericPdu pdu, int subId) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapSmsPdu.java75 /* Members used for pdu decoding */
89 * Create a pdu instance based on the data generated on this device.
155 * @return the offset in number of bytes to the parameterID entry in the pdu data.
160 ByteArrayInputStream pdu = new ByteArrayInputStream(mData);
165 pdu.skip(1); // Skip the message type
167 while (pdu.available() > 0) {
168 int currentId = pdu.read();
169 int currentLen = pdu.read();
176 pdu.skip(currentLen);
180 pdu
[all...]
H A DMmsFileProvider.java28 import com.google.android.mms.pdu.GenericPdu;
29 import com.google.android.mms.pdu.PduComposer;
30 import com.google.android.mms.pdu.PduPersister;
114 GenericPdu pdu = null;
120 pdu = pduPersister.load(uri);
121 byte[] bytes = (new PduComposer(getContext(), pdu)).make();
H A DBluetoothMapbMessageSms.java82 for (SmsPdu pdu : mSmsBodyPdus) {
84 bodyFragments.add(encodeBinary(pdu.getData(),pdu.getScAddress()).getBytes("UTF-8"));
/packages/apps/Messaging/src/android/support/v7/mms/
H A DDownloadRequest.java61 return httpClient.execute(getHttpRequestUrl(apn), null/*pdu*/, MmsHttpClient.METHOD_GET,
73 * Write pdu bytes to content provider uri
76 * @param pdu Bytes to write
80 final byte[] pdu) {
81 if (contentUri == null || pdu == null) {
91 outStream.write(pdu);
79 writePduToContentUri(final Context context, final Uri contentUri, final byte[] pdu) argument

Completed in 2818 milliseconds

123