/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 geographicalScope = (pdu[0] & 0xc0) >>> 6; 104 serialNumber = ((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 | SmsMessage.java | 102 public static SmsMessage createFromPdu(byte[] pdu) { argument 105 msg.parsePdu(pdu); 124 * +CMT: [<alpha>],<length><CR><LF><pdu> 184 byte[] pdu = new byte[size]; 185 System.arraycopy(data, 1, pdu, 0, size); 186 msg.parsePdu(pdu); 198 public static int getTPLayerLengthForPDU(String pdu) { argument 199 int len = pdu.length() / 2; 200 int smscLen = Integer.parseInt(pdu.substring(0, 2), 16); 500 byte pdu[]; field in class:SmsMessage.PduParser 507 PduParser(byte[] pdu) argument 899 parsePdu(byte[] pdu) argument [all...] |
H A D | GsmSMSDispatcher.java | 143 fillIn.putExtra("pdu", IccUtils.hexStringToBytes(pduString)); 240 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 242 if (pdu != null) { 243 sendRawPdu(pdu.encodedScAddress, pdu.encodedMessage, sentIntent, deliveryIntent, 254 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu( 256 if (pdu != null) { 257 sendRawPdu(pdu.encodedScAddress, pdu.encodedMessage, sentIntent, deliveryIntent, 276 SmsMessage.SubmitPdu pdu [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | SimSmsTest.java | 42 byte[] pdu = null; 47 pdu = data.getBytes(); 58 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/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/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/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | RuimSmsInterfaceManager.java | 108 * @param pdu the raw PDU to store 113 updateMessageOnIccEf(int index, int status, byte[] pdu) { argument 116 "("+ pdu + ")"); 127 byte[] record = makeSmsRecordData(status, pdu); 143 * @param pdu the raw PDU to store 149 public boolean copyMessageToIccEf(int status, byte[] pdu, byte[] smsc) { argument 152 "pdu=("+ Arrays.toString(pdu) + ")"); 158 mPhone.mCM.writeSmsToRuim(status, IccUtils.bytesToHexString(pdu),
|
H A D | CdmaSMSDispatcher.java | 100 fillIn.putExtra("pdu", sms.getPdu()); 236 * @param pdu The WAP-WDP PDU segment 241 protected int processCdmaWapPdu(byte[] pdu, int referenceNumber, String address) { argument 244 int msgType = (0xFF & pdu[index++]); 249 int totalSegments = (0xFF & pdu[index++]); // >= 1 250 int segment = (0xFF & pdu[index++]); // >= 0 262 sourcePort = (0xFF & pdu[index++]) << 8; 263 sourcePort |= 0xFF & pdu[index++]; 264 destinationPort = (0xFF & pdu[index++]) << 8; 265 destinationPort |= 0xFF & pdu[inde 338 sendSubmitPdu(SmsMessage.SubmitPdu pdu, PendingIntent sentIntent, PendingIntent deliveryIntent, String destAddr) argument [all...] |
/frameworks/opt/telephony/src/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(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...] |
H A D | IccSmsInterfaceManagerProxy.java | 40 updateMessageOnIccEf(int index, int status, byte[] pdu) throws android.os.RemoteException { argument 41 return mIccSmsInterfaceManager.updateMessageOnIccEf(index, status, pdu); 44 public boolean copyMessageToIccEf(int status, byte[] pdu, argument 46 return mIccSmsInterfaceManager.copyMessageToIccEf(status, pdu, smsc);
|
H A D | WapPushOverSms.java | 130 * @param pdu The WAP PDU, made up of one or more SMS PDUs 135 public int dispatchWapPdu(byte[] pdu) { argument 137 if (false) Log.d(LOG_TAG, "Rx: " + IccUtils.bytesToHexString(pdu)); 140 int transactionId = pdu[index++] & 0xFF; 141 int pduType = pdu[index++] & 0xFF; 150 pduDecoder = new WspTypeDecoder(pdu); 189 System.arraycopy(pdu, headerStartIndex, header, 0, header.length); 194 intentData = pdu; 197 intentData = new byte[pdu.length - dataIndex]; 198 System.arraycopy(pdu, dataInde [all...] |
H A D | IccSmsInterfaceManager.java | 74 * raw pdu of the status report is in the extended data ("pdu"). 111 * raw pdu of the status report is in the extended data ("pdu"). 148 * to the recipient. The raw pdu of the status report is in the 149 * extended data ("pdu"). 204 * @param pdu Raw message PDU. 207 protected byte[] makeSmsRecordData(int status, byte[] pdu) { argument 213 System.arraycopy(pdu, 0, data, 1, pdu [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsManager.java | 40 * Manages SMS operations such as sending data, text, and pdu SMS messages. 69 * raw pdu of the status report is in the extended data ("pdu"). 138 * to the recipient. The raw pdu of the status report is in the 139 * extended data ("pdu"). 200 * raw pdu of the status report is in the extended data ("pdu"). 245 * @param pdu the raw PDU to store 250 * @throws IllegalArgumentException if pdu is NULL 253 public boolean copyMessageToIcc(byte[] smsc, byte[] pdu, in argument 313 updateMessageOnIcc(int messageIndex, int newStatus, byte[] pdu) argument [all...] |