/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduContentTypes.java | 18 package com.google.android.mms.pdu;
|
H A D | AcknowledgeInd.java | 18 package com.google.android.mms.pdu; 27 * Constructor, used when composing a M-Acknowledge.ind pdu.
|
H A D | DeliveryInd.java | 18 package com.google.android.mms.pdu;
|
H A D | GenericPdu.java | 18 package com.google.android.mms.pdu; 24 * The headers of pdu.
|
H A D | NotifyRespInd.java | 18 package com.google.android.mms.pdu; 27 * Constructor, used when composing a M-NotifyResp.ind pdu.
|
H A D | QuotedPrintable.java | 18 package com.google.android.mms.pdu;
|
H A D | SendConf.java | 18 package com.google.android.mms.pdu;
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | IDataVerify.aidl | 26 boolean verifyData(in byte[] pdu);
|
H A D | DataVerify.java | 66 * Compare pdu and received pdu 68 public synchronized boolean verifyData(byte[] pdu) { argument 82 Log.v(LOG_TAG, "verify pdu"); 83 boolean ret = arrayCompare(pdu, mLastReceivedPdu); 107 public static void SetLastReceivedPdu(byte[] pdu) { argument 108 mLastReceivedPdu = pdu;
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | PduCacheEntry.java | 20 import com.google.android.mms.pdu.GenericPdu; 27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { argument 28 mPdu = pdu;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SmsCbHeader.java | 42 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1 47 * UMTS pdu format, as defined in 3gpp TS 23.041, section 9.4.2 52 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1.3 93 public SmsCbHeader(byte[] pdu) throws IllegalArgumentException { argument 94 if (pdu == null || pdu.length < PDU_HEADER_LENGTH) { 98 if (pdu.length <= PDU_LENGTH_GSM) { 103 mGeographicalScope = (pdu[0] & 0xc0) >>> 6; 104 mSerialNumber = ((pdu[0] & 0xff) << 8) | (pdu[ [all...] |
H A D | GsmSmsCbMessage.java | 78 for (byte[] pdu : pdus) { 79 Pair<String, String> p = parseBody(header, pdu); 112 * @param pdu the PDU to decode 115 private static Pair<String, String> parseBody(SmsCbHeader header, byte[] pdu) { argument 191 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; 193 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) 195 throw new IllegalArgumentException("Pdu length " + pdu.length + " does not match " 205 int length = pdu[offset + PDU_BODY_PAGE_LENGTH]; 212 Pair<String, String> p = unpackBody(pdu, encoding, offset, length, 221 int length = pdu 241 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument [all...] |
H A D | GsmSMSDispatcher.java | 137 fillIn.putExtra("pdu", IccUtils.hexStringToBytes(pduString)); 155 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 157 if (pdu != null) { 158 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); 183 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 185 if (pdu != null) { 186 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu); 207 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument 225 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu(scAddress, destinationAddress, 228 if (pdu ! [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WapPushOverSms.java | 19 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_DELIVERY_IND; 20 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND; 21 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_READ_ORIG_IND; 56 import com.google.android.mms.pdu.DeliveryInd; 57 import com.google.android.mms.pdu.GenericPdu; 58 import com.google.android.mms.pdu.NotificationInd; 59 import com.google.android.mms.pdu.PduHeaders; 60 import com.google.android.mms.pdu.PduParser; 61 import com.google.android.mms.pdu.PduPersister; 62 import com.google.android.mms.pdu 166 decodeWapPdu(byte[] pdu, InboundSmsHandler handler) argument 327 dispatchWapPdu(byte[] pdu, BroadcastReceiver receiver, InboundSmsHandler handler) argument 423 isWapPushForMms(byte[] pdu, InboundSmsHandler handler) argument 436 writeInboxMessage(int subId, GenericPdu pdu) argument 526 getDeliveryOrReadReportThreadId(Context context, GenericPdu pdu) argument [all...] |
H A D | TelephonyComponentFactory.java | 87 public WspTypeDecoder makeWspTypeDecoder(byte[] pdu) { argument 88 return new WspTypeDecoder(pdu); 94 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort, argument 97 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, is3gpp2WapPdu, address, 104 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort, argument 107 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, address, displayAddr,
|
H A D | VisualVoicemailSmsFilter.java | 158 for (byte pdu[] : pdus) { 159 SmsMessage message = SmsMessage.createFromPdu(pdu, format); 175 for (byte pdu[] : pdus) { 176 builder.append(new String(pdu, StandardCharsets.US_ASCII));
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
H A D | SmsManager.java | 25 * Manages SMS operations such as sending data, text, and pdu SMS messages. 70 * raw pdu of the status report is in the extended data ("pdu"). 121 * to the recipient. The raw pdu of the status report is in the 122 * extended data ("pdu"). 155 * raw pdu of the status report is in the extended data ("pdu"). 172 * @param pdu the raw PDU to store 180 public final boolean copyMessageToSim(byte[] smsc, byte[] pdu, int status) { argument 181 return mSmsMgrProxy.copyMessageToIcc(smsc, pdu, statu 210 updateMessageOnSim(int messageIndex, int newStatus, byte[] pdu) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInboundSmsHandler.java | 256 * @param pdu The WAP-WDP PDU segment 261 private int processCdmaWapPdu(byte[] pdu, int referenceNumber, String address, String dispAddr, argument 265 int msgType = (0xFF & pdu[index++]); 270 int totalSegments = (0xFF & pdu[index++]); // >= 1 271 int segment = (0xFF & pdu[index++]); // >= 0 283 sourcePort = (0xFF & pdu[index++]) << 8; 284 sourcePort |= 0xFF & pdu[index++]; 285 destinationPort = (0xFF & pdu[index++]) << 8; 286 destinationPort |= 0xFF & pdu[index++]; 290 if (checkDuplicatePortOmadmWapPush(pdu, inde [all...] |
H A D | CdmaSMSDispatcher.java | 97 fillIn.putExtra("pdu", sms.getPdu()); 111 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 113 if (pdu != null) { 114 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu); 145 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 147 if (pdu != null) { 148 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu); 175 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument 254 byte[] pdu = (byte[]) tracker.getData().get("pdu"); [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SimSmsTest.java | 45 byte[] pdu = null; 50 pdu = data.getBytes(); 61 assertNotNull(pdu);
|
H A D | GsmSmsTest.java | 32 String pdu = "07914151551512f2040B916105551511f100006060605130308A04D4F29C0E"; 33 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); 38 pdu = "07914151551512f2040B916105551511f100036060924180008A0DA" 40 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); 48 String pdu = "07914140279510F6440A8111110301003BF56080207130138A8C0B05040B8423F" 54 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); 67 pdu = "07914140279510F6440A8111110301003BF56080207130238A3B0B05040B8423F" 70 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); 86 String pdu = "07912160130300F4040B914151245584F600087010807121352B1021220" 88 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); [all...] |
H A D | WapPushOverSmsTest.java | 76 byte[] pdu = new byte[]{ 86 mWapPushOverSmsUT.dispatchWapPdu(pdu, null, mInboundSmsHandler); 107 assertEquals(pdu.length, data.length); 108 for (int i = 0; i < pdu.length; i++) { 109 assertEquals(pdu[i], data[i]); 128 byte pdu[] = {1, 6, 0, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 139 mWapPushOverSmsUT.dispatchWapPdu(pdu, null, mInboundSmsHandler));
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GsmSmsCbTest.java | 41 private static SmsCbMessage createFromPdu(byte[] pdu) { argument 43 SmsCbHeader header = new SmsCbHeader(pdu); 45 pdus[0] = pdu; 52 private static void doTestGeographicalScopeValue(byte[] pdu, byte b, int expectedGs) { argument 53 pdu[0] = b; 54 SmsCbMessage msg = createFromPdu(pdu); 63 assertNull("createFromPdu(byte[] with null pdu should return null", msg); 68 byte[] pdu = new byte[4]; 69 SmsCbMessage msg = createFromPdu(pdu); 71 assertNull("createFromPdu(byte[] with too short pdu shoul [all...] |
/frameworks/base/core/java/android/service/carrier/ |
H A D | ICarrierMessagingService.aidl | 33 * @param pdu the PDUs of the message 40 in MessagePdu pdu, String format, int destPort, int subId,
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ISms.aidl | 52 * @param pdu the raw PDU to store 58 int messageIndex, int newStatus, in byte[] pdu); 63 * @param pdu the raw PDU to store 71 in byte[] pdu, in byte[] smsc); 94 * raw pdu of the status report is in the extended data ("pdu"). 122 * raw pdu of the status report is in the extended data ("pdu"). 150 * raw pdu of the status report is in the extended data ("pdu") [all...] |