Home
last modified time | relevance | path

Searched refs:pdu (Results 1 – 25 of 75) sorted by relevance

123

/packages/services/Mms/src/com/android/mms/service/
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(); in persistIfRequired() local
168 if (pdu == null) { in persistIfRequired()
[all …]
DMmsService.java50 import com.google.android.mms.pdu.DeliveryInd;
51 import com.google.android.mms.pdu.GenericPdu;
52 import com.google.android.mms.pdu.NotificationInd;
53 import com.google.android.mms.pdu.PduParser;
54 import com.google.android.mms.pdu.PduPersister;
55 import com.google.android.mms.pdu.ReadOrigInd;
56 import com.google.android.mms.pdu.RetrieveConf;
57 import com.google.android.mms.pdu.SendReq;
591 final GenericPdu pdu = parsePduForAnyCarrier(pduData); in importMms() local
592 if (pdu == null) { in importMms()
[all …]
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(); in persistIfRequired() local
120 if (pdu == null || !(pdu instanceof RetrieveConf)) { in persistIfRequired()
124 final RetrieveConf retrieveConf = (RetrieveConf) pdu; in persistIfRequired()
146 pdu, in persistIfRequired()
DMmsHttpClient.java119 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, in execute() argument
124 + ", PDU size=" + (pdu != null ? pdu.length : 0)); in execute()
179 if (pdu == null || pdu.length < 1) { in execute()
195 connection.setFixedLengthStreamingMode(pdu.length); in execute()
199 out.write(pdu); in execute()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java165 ByteArrayInputStream pdu = new ByteArrayInputStream(mData); in cdmaGetParameterOffset() local
170 pdu.skip(1); // Skip the message type in cdmaGetParameterOffset()
172 while (pdu.available() > 0) { in cdmaGetParameterOffset()
173 int currentId = pdu.read(); in cdmaGetParameterOffset()
174 int currentLen = pdu.read(); in cdmaGetParameterOffset()
180 pdu.skip(currentLen); in cdmaGetParameterOffset()
184 pdu.close(); in cdmaGetParameterOffset()
199 ByteArrayInputStream pdu = new ByteArrayInputStream(mData); in cdmaGetSubParameterOffset() local
204 pdu.skip(offset); in cdmaGetSubParameterOffset()
207 while (pdu.available() > 0) { in cdmaGetSubParameterOffset()
[all …]
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;
116 GenericPdu pdu = null; in writeDataToPipe() local
122 pdu = pduPersister.load(uri); in writeDataToPipe()
123 byte[] bytes = (new PduComposer(getContext(), pdu)).make(); in writeDataToPipe()
DBluetoothMapbMessageSms.java109 for (SmsPdu pdu : mSmsBodyPdus) { in encode()
112 encodeBinary(pdu.getData(), pdu.getScAddress()).getBytes("UTF-8")); in encode()
/packages/apps/Messaging/src/com/android/messaging/sms/
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.SendReq;
[all …]
DMmsUtils.java56 import com.android.messaging.mmslib.pdu.CharacterSets;
57 import com.android.messaging.mmslib.pdu.EncodedStringValue;
58 import com.android.messaging.mmslib.pdu.GenericPdu;
59 import com.android.messaging.mmslib.pdu.NotificationInd;
60 import com.android.messaging.mmslib.pdu.PduBody;
61 import com.android.messaging.mmslib.pdu.PduComposer;
62 import com.android.messaging.mmslib.pdu.PduHeaders;
63 import com.android.messaging.mmslib.pdu.PduParser;
64 import com.android.messaging.mmslib.pdu.PduPart;
65 import com.android.messaging.mmslib.pdu.PduPersister;
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java392 private static SmsCbMessage createFromPdu(Context context, byte[] pdu, int serialNumber, in createFromPdu() argument
395 pdus[0] = pdu; in createFromPdu()
402 for (byte[] pdu : pdus) { in createFromPdus()
403 if (pdu.length <= 88) { in createFromPdus()
406 pdu[0] = (byte) ((serialNumber >>> 8) & 0xff); in createFromPdus()
407 pdu[1] = (byte) (serialNumber & 0xff); in createFromPdus()
410 pdu[2] = (byte) ((category >>> 8) & 0xff); in createFromPdus()
411 pdu[3] = (byte) (category & 0xff); in createFromPdus()
416 pdu[3] = (byte) ((serialNumber >>> 8) & 0xff); in createFromPdus()
417 pdu[4] = (byte) (serialNumber & 0xff); in createFromPdus()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsRequest.java28 import androidx.appcompat.mms.pdu.GenericPdu;
29 import androidx.appcompat.mms.pdu.PduHeaders;
30 import androidx.appcompat.mms.pdu.PduParser;
31 import androidx.appcompat.mms.pdu.SendConf;
226 final GenericPdu pdu = new PduParser( in isWrongApnResponse() local
234 if (pdu != null && pdu instanceof SendConf) { in isWrongApnResponse()
235 final SendConf sendConf = (SendConf) pdu; in isWrongApnResponse()
DMmsHttpClient.java112 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, in execute() argument
117 + ", PDU size=" + (pdu != null ? pdu.length : 0)); in execute()
153 if (pdu == null || pdu.length < 1) { in execute()
171 connection.setFixedLengthStreamingMode(pdu.length); in execute()
175 out.write(pdu); in execute()
DDownloadRequest.java80 final byte[] pdu) { in writePduToContentUri() argument
81 if (contentUri == null || pdu == null) { in writePduToContentUri()
91 outStream.write(pdu); in writePduToContentUri()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java265 final byte[] pdu = message.getPdu();
266 dos.writeInt(pdu.length);
267 dos.write(pdu, 0, pdu.length);
302 final byte[] pdu = new byte[length];
303 dis.read(pdu, 0, length);
304 messagesTemp[i] = SmsMessage.createFromPdu(pdu);
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DPduCacheEntry.java20 import com.android.messaging.mmslib.pdu.GenericPdu;
27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { in PduCacheEntry() argument
28 mPdu = pdu; in PduCacheEntry()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduPersister.java18 package com.android.messaging.mmslib.pdu;
563 GenericPdu pdu = null; in load() local
620 pdu = createPdu(msgType, headers, body); in load()
623 if (pdu != null) { in load()
626 cacheEntry = new PduCacheEntry(pdu, msgBox, threadId); in load()
633 return pdu; in load()
1304 public Uri persist(final GenericPdu pdu, final Uri uri, final int subId, in persist() argument
1342 final PduHeaders header = pdu.getPduHeaders(); in persist()
1403 final int msgType = pdu.getMessageType(); in persist()
1449 if (pdu instanceof MultimediaMessagePdu) { in persist()
[all …]
DPduComposer.java18 package com.android.messaging.mmslib.pdu;
137 public PduComposer(final Context context, final GenericPdu pdu) { in PduComposer() argument
138 mPdu = pdu; in PduComposer()
140 mPduHeader = pdu.getPduHeaders(); in PduComposer()
DPduContentTypes.java18 package com.android.messaging.mmslib.pdu;
DPduBody.java18 package com.android.messaging.mmslib.pdu;
DAcknowledgeInd.java18 package com.android.messaging.mmslib.pdu;
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduContentTypes.java18 package androidx.appcompat.mms.pdu;
DInvalidHeaderValueException.java18 package androidx.appcompat.mms.pdu;
DMmsException.java18 package androidx.appcompat.mms.pdu;
DAcknowledgeInd.java18 package androidx.appcompat.mms.pdu;
DSendConf.java18 package androidx.appcompat.mms.pdu;

123