/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadHandler.java | 78 byte[] pdu = smsMessage.getPdu(); // includes SC address 80 int scAddressLength = pdu[0] & 0xff; 82 int tpduLength = pdu.length - tpduIndex; 110 System.arraycopy(pdu, 1, envelope, index, scAddressLength); 120 System.arraycopy(pdu, tpduIndex, envelope, index, tpduLength);
|
H A D | SmsMessage.java | 93 public static SmsMessage createFromPdu(byte[] pdu) { argument 96 msg.parsePdu(pdu); 115 * +CMT: [<alpha>],<length><CR><LF><pdu> 175 byte[] pdu = new byte[size]; 176 System.arraycopy(data, 1, pdu, 0, size); 177 msg.parsePdu(pdu); 189 public static int getTPLayerLengthForPDU(String pdu) { argument 190 int len = pdu.length() / 2; 191 int smscLen = Integer.parseInt(pdu.substring(0, 2), 16); 497 PduParser(byte[] pdu) { argument 877 parsePdu(byte[] pdu) argument [all...] |
H A D | SimSmsInterfaceManager.java | 70 protected void writeSms(int status, byte[] pdu, byte[] smsc, Message response) { argument 72 IccUtils.bytesToHexString(pdu), response);
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | WapPushTest.java | 1274 // sample pdu 1500 byte[] pdu = createPDU(1); 1501 int headerLen = pdu.length - 1541 byte[] pdu = createPDU(1); 1542 int headerLen = pdu.length - (mGsmHeader.length + 1583 byte[] pdu = createPDU(1); 1584 int headerLen = pdu.length - 1653 byte[] pdu = createPDU(1); 1654 int headerLen = pdu.length - 1713 pdu 2051 dispatchWapPdu(byte[] pdu, IWapPushManager wapPushMan) argument [all...] |
H A D | ClientTest.java | 118 EditText pdu = (EditText) findViewById(R.id.pdu); 123 // wap.dispatchWapPdu(strToHex(pdu.getText().toString())); 129 HexDump.hexStringToByteArray(pdu.getText().toString())); 131 HexDump.hexStringToByteArray(pdu.getText().toString())); 137 //HexDump.hexStringToByteArray(pdu.getText().toString()), 0, 6, 5, 5);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | MultimediaMessagePdu.java | 18 package com.google.android.mms.pdu;
|
H A D | ReadOrigInd.java | 18 package com.google.android.mms.pdu;
|
H A D | ReadRecInd.java | 18 package com.google.android.mms.pdu; 24 * Constructor, used when composing a M-ReadRec.ind pdu.
|
H A D | Base64.java | 18 package com.google.android.mms.pdu;
|
H A D | NotificationInd.java | 18 package com.google.android.mms.pdu;
|
H A D | RetrieveConf.java | 18 package com.google.android.mms.pdu;
|
H A D | PduPersister.java | 18 package com.google.android.mms.pdu; 65 import com.google.android.mms.pdu.EncodedStringValue; 526 GenericPdu pdu = null; 620 pdu = new NotificationInd(headers); 623 pdu = new DeliveryInd(headers); 626 pdu = new ReadOrigInd(headers); 629 pdu = new RetrieveConf(headers, body); 632 pdu = new SendReq(headers, body); 635 pdu = new AcknowledgeInd(headers); 638 pdu 1234 persist(GenericPdu pdu, Uri uri, boolean createThreadId, boolean groupMmsEnabled, HashMap<Uri, InputStream> preOpenedFiles) argument [all...] |
H A D | CharacterSets.java | 18 package com.google.android.mms.pdu;
|
H A D | PduBody.java | 18 package com.google.android.mms.pdu; 152 * Get pdu part by content id. 155 * @return the pdu part. 162 * Get pdu part by Content-Location. Content-Location of part is 166 * @return the pdu part. 173 * Get pdu part by name. 176 * @return the pdu part. 183 * Get pdu part by filename. 186 * @return the pdu part.
|
H A D | SendReq.java | 18 package com.google.android.mms.pdu; 51 * Constructor, used when composing a M-Send.req pdu.
|
H A D | EncodedStringValue.java | 18 package com.google.android.mms.pdu;
|
H A D | PduComposer.java | 18 package com.google.android.mms.pdu; 111 * Header of this pdu. 133 * @param pdu the pdu to be composed 135 public PduComposer(Context context, GenericPdu pdu) { argument 136 mPdu = pdu; 138 mPduHeader = pdu.getPduHeaders();
|
H A D | PduPart.java | 18 package com.google.android.mms.pdu; 26 * The pdu part.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | SmsMessage.java | 107 public static SmsMessage createFromPdu(byte[] pdu) { argument 111 msg.parsePdu(pdu); 253 byte[] pdu = new byte[size]; 254 System.arraycopy(data, 2, pdu, 0, size); 257 msg.parsePduFromEfRecord(pdu); 269 public static int getTPLayerLengthForPDU(String pdu) { argument 492 * Decodes pdu to an empty SMS object. 493 * In the CDMA case the pdu is just an internal byte stream representation 497 private void parsePdu(byte[] pdu) { argument 498 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); 547 parsePduFromEfRecord(byte[] pdu) argument [all...] |
H A D | RuimSmsInterfaceManager.java | 67 protected void writeSms(int status, byte[] pdu, byte[] smsc, Message response) { argument 69 mPhone.mCi.writeSmsToRuim(status, IccUtils.bytesToHexString(pdu),
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 216 public void sendSMS (String smscPDU, String pdu, Message result) { argument 220 public void sendCdmaSms(byte[] pdu, Message result) { argument 232 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument 236 public void writeSmsToRuim(int status, String pdu, Message response) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | GsmAlphabet.java | 449 * @param pdu the raw data from the pdu 454 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument 456 return gsm7BitPackedToString(pdu, offset, lengthSeptets, 0, 0, 0); 465 * @param pdu the raw data from the pdu 475 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument 509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); 516 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SMSDispatcher.java | 104 "pdu" 109 "pdu", 584 * @param pdu the message PDU, or the datagram portion of a CDMA WDP datagram segment 592 * @param isCdmaWapPush true if pdu is a CDMA WDP datagram segment and not an SM PDU 598 protected int processMessagePart(byte[] pdu, String address, int referenceNumber, argument 619 if (!Arrays.equals(oldPdu, pdu)) { 620 Rlog.e(TAG, "Warning: dup message segment PDU of length " + pdu.length 637 values.put("pdu", HexDump.toHexString(pdu)); 670 pdus[sequenceNumber] = pdu; 936 sendRawPdu(byte[] smsc, byte[] pdu, PendingIntent sentIntent, PendingIntent deliveryIntent, String destAddr) argument [all...] |
H A D | CommandsInterface.java | 991 * pdu is SMS in PDU format as an ASCII hex string 994 void sendSMS (String smscPDU, String pdu, Message response); argument 997 * @param pdu is CDMA-SMS in internal pseudo-PDU format 1000 void sendCdmaSms(byte[] pdu, Message response); argument 1026 * @param pdu message PDU, as hex string 1031 void writeSmsToSim(int status, String smsc, String pdu, Message response); argument 1033 void writeSmsToRuim(int status, String pdu, Message response); argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
H A D | CdmaSmsTest.java | 119 String pdu = "00031040900112488ea794e074d69e1b7392c270326cde9e98"; 120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); 126 String pdu = "0003100160010610262d5ab500"; 127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); 133 String pdu = "00031001d00109104539b4d052ebb3d0"; 134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); 140 String pdu = "00031002100109184539b4d052ebb3d0"; 141 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); 267 String pdu = "0003200010010410168d2002010503060812011101590501c706069706180000000701c108" + 269 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); [all...] |