/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | SmsMessage.java | 110 public static SmsMessage createFromPdu(byte[] pdu) { argument 114 msg.parsePdu(pdu); 259 byte[] pdu = new byte[size]; 260 System.arraycopy(data, 2, pdu, 0, size); 263 msg.parsePduFromEfRecord(pdu); 275 public static int getTPLayerLengthForPDU(String pdu) { argument 506 * Decodes pdu to an empty SMS object. 507 * In the CDMA case the pdu is just an internal byte stream representation 511 private void parsePdu(byte[] pdu) { argument 512 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); 577 parsePduFromEfRecord(byte[] pdu) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadHandler.java | 116 byte[] pdu = smsMessage.getPdu(); // includes SC address 118 int scAddressLength = pdu[0] & 0xff; 120 int tpduLength = pdu.length - tpduIndex; 148 System.arraycopy(pdu, 1, envelope, index, scAddressLength); 158 System.arraycopy(pdu, tpduIndex, envelope, index, tpduLength);
|
H A D | SmsMessage.java | 98 public static SmsMessage createFromPdu(byte[] pdu) { argument 101 msg.parsePdu(pdu); 123 * +CMT: [<alpha>],<length><CR><LF><pdu> 183 byte[] pdu = new byte[size]; 184 System.arraycopy(data, 1, pdu, 0, size); 185 msg.parsePdu(pdu); 197 public static int getTPLayerLengthForPDU(String pdu) { argument 198 int len = pdu.length() / 2; 199 int smscLen = Integer.parseInt(pdu.substring(0, 2), 16); 505 PduParser(byte[] pdu) { argument 923 parsePdu(byte[] pdu) argument [all...] |
H A D | GsmCellBroadcastHandler.java | 97 StringBuilder sb = new StringBuilder("SMS CB pdu data: "); 160 for (byte[] pdu : pdus) { 161 if (pdu == null) { 191 loge("Error in decoding SMS CB pdu", e);
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | SmsManager.java | 51 * Manages SMS operations such as sending data, text, and pdu SMS messages. 234 * raw pdu of the status report is in the extended data ("pdu"). 264 * @param pdu is the byte array of pdu to be injected into android application framework 265 * @param format is the format of SMS pdu (3gpp or 3gpp2) 274 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument 278 "Invalid pdu format. format must be either 3gpp or 3gpp2"); 283 iccISms.injectSmsPdu(pdu, format, receivedIntent); 367 * to the recipient. The raw pdu o 537 copyMessageToIcc(byte[] smsc, byte[] pdu,int status) argument 599 updateMessageOnIcc(int messageIndex, int newStatus, byte[] pdu) argument 1036 updateMmsSendStatus(Context context, int messageRef, byte[] pdu, int status, Uri contentUri) argument [all...] |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | WapPushTest.java | 1293 // sample pdu 1519 byte[] pdu = createPDU(1); 1520 int headerLen = pdu.length - 1560 byte[] pdu = createPDU(1); 1561 int headerLen = pdu.length - (mGsmHeader.length + 1602 byte[] pdu = createPDU(1); 1603 int headerLen = pdu.length - 1672 byte[] pdu = createPDU(1); 1673 int headerLen = pdu.length - 1732 pdu 2070 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/telephony/src/java/com/android/internal/telephony/ |
H A D | InboundSmsTracker.java | 68 * @param pdu the message PDU 74 InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, argument 76 mPdu = pdu; 95 * @param pdu the message PDU 105 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, argument 108 mPdu = pdu; 179 values.put("pdu", HexDump.toHexString(mPdu));
|
H A D | IccSmsInterfaceManager.java | 189 * @param pdu the raw PDU to store 195 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { argument 198 "("+ Arrays.toString(pdu) + ")"); 225 byte[] record = makeSmsRecordData(status, pdu); 242 * @param pdu the raw PDU to store 248 public boolean copyMessageToIccEf(String callingPackage, int status, byte[] pdu, byte[] smsc) { argument 251 "pdu=("+ Arrays.toString(pdu) + 265 IccUtils.bytesToHexString(pdu), response); 267 mPhone.mCi.writeSmsToRuim(status, IccUtils.bytesToHexString(pdu), 417 injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) argument 561 makeSmsRecordData(int status, byte[] pdu) argument [all...] |
H A D | CommandsInterface.java | 1049 * pdu is SMS in PDU format as an ASCII hex string 1052 void sendSMS (String smscPDU, String pdu, Message response); argument 1059 * pdu is SMS in PDU format as an ASCII hex string 1062 void sendSMSExpectMore (String smscPDU, String pdu, Message response); argument 1065 * @param pdu is CDMA-SMS in internal pseudo-PDU format 1068 void sendCdmaSms(byte[] pdu, Message response); argument 1074 * @param pdu is SMS in PDU format as an ASCII hex string 1081 void sendImsGsmSms (String smscPDU, String pdu, int retry, int messageRef, argument 1086 * @param pdu is CDMA-SMS in internal pseudo-PDU format 1093 void sendImsCdmaSms(byte[] pdu, in argument 1124 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 1126 writeSmsToRuim(int status, String pdu, Message response) argument [all...] |
/frameworks/opt/telephony/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; 529 GenericPdu pdu = null; 623 pdu = new NotificationInd(headers); 626 pdu = new DeliveryInd(headers); 629 pdu = new ReadOrigInd(headers); 632 pdu = new RetrieveConf(headers, body); 635 pdu = new SendReq(headers, body); 638 pdu = new AcknowledgeInd(headers); 641 pdu 1240 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.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCommandInterface.java | 215 public void sendSMS (String smscPDU, String pdu, Message result) { argument 219 public void sendSMSExpectMore (String smscPDU, String pdu, Message result) { argument 223 public void sendCdmaSms(byte[] pdu, Message result) { argument 227 public void sendImsGsmSms (String smscPDU, String pdu, argument 232 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument 249 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument 253 public void writeSmsToRuim(int status, String pdu, Message response) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 217 public void sendSMS (String smscPDU, String pdu, Message result) { argument 221 public void sendSMSExpectMore (String smscPDU, String pdu, Message result) { argument 225 public void sendCdmaSms(byte[] pdu, Message result) { argument 229 public void sendImsGsmSms (String smscPDU, String pdu, argument 234 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument 251 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument 255 public void writeSmsToRuim(int status, String pdu, Message response) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IMms.aidl | 72 * @param pdu non-empty (contains the SendConf PDU) if the message was sent successfully, 79 void updateMmsSendStatus(int messageRef, in byte[] pdu, in int status);
|
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/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 350 public void sendSMS(String smscPDU, String pdu, Message response) { argument 354 public void sendSMSExpectMore(String smscPDU, String pdu, Message response) { argument 358 public void sendCdmaSms(byte[] pdu, Message response) { argument 362 public void sendImsGsmSms (String smscPDU, String pdu, argument 367 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument 380 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument 384 public void writeSmsToRuim(int status, String pdu, Message response) { argument
|