/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPdu.java | 155 ByteArrayInputStream pdu = new ByteArrayInputStream(mData); in cdmaGetParameterOffset() local 160 pdu.skip(1); // Skip the message type in cdmaGetParameterOffset() 162 while (pdu.available() > 0) { in cdmaGetParameterOffset() 163 int currentId = pdu.read(); in cdmaGetParameterOffset() 164 int currentLen = pdu.read(); in cdmaGetParameterOffset() 171 pdu.skip(currentLen); in cdmaGetParameterOffset() 175 pdu.close(); in cdmaGetParameterOffset() 189 ByteArrayInputStream pdu = new ByteArrayInputStream(mData); in cdmaGetSubParameterOffset() local 193 pdu.skip(offset); in cdmaGetSubParameterOffset() 196 while (pdu.available() > 0) { in cdmaGetSubParameterOffset() [all …]
|
D | MmsFileProvider.java | 28 import com.google.android.mms.pdu.GenericPdu; 29 import com.google.android.mms.pdu.PduComposer; 30 import com.google.android.mms.pdu.PduPersister; 113 GenericPdu pdu = null; in writeDataToPipe() local 119 pdu = pduPersister.load(uri); in writeDataToPipe() 120 byte[] bytes = (new PduComposer(getContext(), pdu)).make(); in writeDataToPipe()
|
D | BluetoothMapbMessageSms.java | 82 for (SmsPdu pdu : mSmsBodyPdus) { in encode() 84 bodyFragments.add(encodeBinary(pdu.getData(),pdu.getScAddress()).getBytes("UTF-8")); in encode()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | SendRequest.java | 43 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 …]
|
D | MmsService.java | 46 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); in importMms() local 535 if (pdu == null) { in importMms() [all …]
|
D | DownloadRequest.java | 43 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()
|
D | MmsHttpClient.java | 113 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, in execute() argument 118 + ", PDU size=" + (pdu != null ? pdu.length : 0)); in execute() 164 if (pdu == null || pdu.length < 1) { in execute() 180 connection.setFixedLengthStreamingMode(pdu.length); in execute() 184 out.write(pdu); in execute()
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/ |
D | DialogSmsDisplayTests.java | 92 byte[] pdu = new byte[88]; in encodeCellBroadcast() 93 pdu[0] = (byte) ((serialNumber >> 8) & 0xff); in encodeCellBroadcast() 94 pdu[1] = (byte) (serialNumber & 0xff); in encodeCellBroadcast() 95 pdu[2] = (byte) ((messageId >> 8) & 0xff); in encodeCellBroadcast() 96 pdu[3] = (byte) (messageId & 0xff); in encodeCellBroadcast() 97 pdu[4] = (byte) (dcs & 0xff); in encodeCellBroadcast() 98 pdu[5] = 0x11; // single page message in encodeCellBroadcast() 103 System.arraycopy(encodedString, 0, pdu, 6, encodedString.length); in encodeCellBroadcast() 107 System.arraycopy(encodedString, 1, pdu, 6, encodedString.length-1); in encodeCellBroadcast() 109 return pdu; in encodeCellBroadcast() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsSender.java | 32 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 …]
|
D | MmsUtils.java | 56 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/ |
D | SendTestMessages.java | 392 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/ |
D | MmsRequest.java | 28 import android.support.v7.mms.pdu.GenericPdu; 29 import android.support.v7.mms.pdu.PduHeaders; 30 import android.support.v7.mms.pdu.PduParser; 31 import android.support.v7.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()
|
D | MmsHttpClient.java | 112 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()
|
D | DownloadRequest.java | 80 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/ |
D | DebugUtils.java | 255 final byte[] pdu = message.getPdu(); 256 dos.writeInt(pdu.length); 257 dos.write(pdu, 0, pdu.length); 292 final byte[] pdu = new byte[length]; 293 dis.read(pdu, 0, length); 294 messagesTemp[i] = SmsMessage.createFromPdu(pdu);
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/ |
D | PduCacheEntry.java | 20 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/ |
D | PduPersister.java | 18 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 …]
|
D | PduComposer.java | 18 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()
|
D | PduContentTypes.java | 18 package com.android.messaging.mmslib.pdu;
|
D | PduBody.java | 18 package com.android.messaging.mmslib.pdu;
|
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
D | PduContentTypes.java | 18 package android.support.v7.mms.pdu;
|
D | InvalidHeaderValueException.java | 18 package android.support.v7.mms.pdu;
|
D | MmsException.java | 18 package android.support.v7.mms.pdu;
|
D | AcknowledgeInd.java | 18 package android.support.v7.mms.pdu;
|
D | SendConf.java | 18 package android.support.v7.mms.pdu;
|