/frameworks/opt/mms/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/mms/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 | 73 for (byte[] pdu : pdus) { 74 Pair<String, String> p = parseBody(header, pdu); 107 * @param pdu the PDU to decode 110 private static Pair<String, String> parseBody(SmsCbHeader header, byte[] pdu) { argument 186 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; 188 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) 190 throw new IllegalArgumentException("Pdu length " + pdu.length + " does not match " 200 int length = pdu[offset + PDU_BODY_PAGE_LENGTH]; 207 Pair<String, String> p = unpackBody(pdu, encoding, offset, length, 216 int length = pdu 236 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument [all...] |
H A D | GsmSMSDispatcher.java | 145 fillIn.putExtra("pdu", IccUtils.hexStringToBytes(pduString)); 242 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 244 if (pdu != null) { 245 sendRawPdu(pdu.encodedScAddress, pdu.encodedMessage, sentIntent, deliveryIntent, 256 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 258 if (pdu != null) { 259 sendRawPdu(pdu.encodedScAddress, pdu.encodedMessage, sentIntent, deliveryIntent, 278 SmsMessage.SubmitPdu pdu [all...] |
/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...] |
H A D | SmsMessage.java | 151 public static SmsMessage createFromPdu(byte[] pdu) { argument 156 wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.createFromPdu(pdu); 158 wrappedMessage = com.android.internal.telephony.gsm.SmsMessage.createFromPdu(pdu); 170 public static int getTPLayerLengthForPDU(String pdu) { argument 174 return com.android.internal.telephony.cdma.SmsMessage.getTPLayerLengthForPDU(pdu); 176 return com.android.internal.telephony.gsm.SmsMessage.getTPLayerLengthForPDU(pdu);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SimSmsTest.java | 43 byte[] pdu = null; 48 pdu = data.getBytes(); 59 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...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GsmSmsCbTest.java | 38 private static SmsCbMessage createFromPdu(byte[] pdu) { argument 40 SmsCbHeader header = new SmsCbHeader(pdu); 42 pdus[0] = pdu; 49 private static void doTestGeographicalScopeValue(byte[] pdu, byte b, int expectedGs) { argument 50 pdu[0] = b; 51 SmsCbMessage msg = createFromPdu(pdu); 59 assertNull("createFromPdu(byte[] with null pdu should return null", msg); 63 byte[] pdu = new byte[4]; 64 SmsCbMessage msg = createFromPdu(pdu); 66 assertNull("createFromPdu(byte[] with too short pdu shoul [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ISms.aidl | 51 * @param pdu the raw PDU to store 56 in byte[] pdu); 61 * @param pdu the raw PDU to store 67 boolean copyMessageToIccEf(String callingPkg, int status, in byte[] pdu, in byte[] smsc); 90 * raw pdu of the status report is in the extended data ("pdu"). 116 * raw pdu of the status report is in the extended data ("pdu"). 140 * to the recipient. The raw pdu of the status report is in the 141 * extended data ("pdu") [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccSmsInterfaceManagerProxy.java | 41 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { argument 42 return mIccSmsInterfaceManager.updateMessageOnIccEf(callingPackage, index, status, pdu); 46 public boolean copyMessageToIccEf(String callingPackage, int status, byte[] pdu, argument 48 return mIccSmsInterfaceManager.copyMessageToIccEf(callingPackage, status, pdu, smsc);
|
H A D | WapPushOverSms.java | 132 * @param pdu The WAP PDU, made up of one or more SMS PDUs 137 public int dispatchWapPdu(byte[] pdu) { argument 139 if (DBG) Rlog.d(LOG_TAG, "Rx: " + IccUtils.bytesToHexString(pdu)); 142 int transactionId = pdu[index++] & 0xFF; 143 int pduType = pdu[index++] & 0xFF; 152 pduDecoder = new WspTypeDecoder(pdu); 191 System.arraycopy(pdu, headerStartIndex, header, 0, header.length); 196 intentData = pdu; 199 intentData = new byte[pdu.length - dataIndex]; 200 System.arraycopy(pdu, dataInde [all...] |
H A D | IccSmsInterfaceManager.java | 157 * @param pdu the raw PDU to store 163 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { argument 166 "("+ Arrays.toString(pdu) + ")"); 189 byte[] record = makeSmsRecordData(status, pdu); 206 * @param pdu the raw PDU to store 213 public boolean copyMessageToIccEf(String callingPackage, int status, byte[] pdu, byte[] smsc) { argument 216 "pdu=("+ Arrays.toString(pdu) + 228 writeSms(status, smsc, pdu, response); 301 * raw pdu o 452 makeSmsRecordData(int status, byte[] pdu) argument 470 writeSms(int status, byte[] pdu, byte[] smsc, Message response) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 98 fillIn.putExtra("pdu", sms.getPdu()); 234 * @param pdu The WAP-WDP PDU segment 239 protected int processCdmaWapPdu(byte[] pdu, int referenceNumber, String address) { argument 242 int msgType = (0xFF & pdu[index++]); 247 int totalSegments = (0xFF & pdu[index++]); // >= 1 248 int segment = (0xFF & pdu[index++]); // >= 0 260 sourcePort = (0xFF & pdu[index++]) << 8; 261 sourcePort |= 0xFF & pdu[index++]; 262 destinationPort = (0xFF & pdu[index++]) << 8; 263 destinationPort |= 0xFF & pdu[inde 336 sendSubmitPdu(SmsMessage.SubmitPdu pdu, PendingIntent sentIntent, PendingIntent deliveryIntent, String destAddr) argument [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsManager.java | 41 * 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"). 140 * to the recipient. The raw pdu of the status report is in the 141 * extended data ("pdu"). 203 * raw pdu of the status report is in the extended data ("pdu"). 249 * @param pdu the raw PDU to store 254 * @throws IllegalArgumentException if pdu is NULL 257 public boolean copyMessageToIcc(byte[] smsc, byte[] pdu, in argument 319 updateMessageOnIcc(int messageIndex, int newStatus, byte[] pdu) argument [all...] |
H A D | SmsMessage.java | 136 public static SmsMessage createFromPdu(byte[] pdu) { argument 140 return createFromPdu(pdu, format); 149 * @param pdu the message PDU from the SMS_RECEIVED_ACTION intent 153 public static SmsMessage createFromPdu(byte[] pdu, String format) { argument 157 wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.createFromPdu(pdu); 159 wrappedMessage = com.android.internal.telephony.gsm.SmsMessage.createFromPdu(pdu); 171 * +CMT: [<alpha>],<length><CR><LF><pdu> 226 public static int getTPLayerLengthForPDU(String pdu) { argument 230 return com.android.internal.telephony.cdma.SmsMessage.getTPLayerLengthForPDU(pdu); 232 return com.android.internal.telephony.gsm.SmsMessage.getTPLayerLengthForPDU(pdu); [all...] |