Searched refs:pdu (Results 26 - 50 of 58) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java78 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 DSmsMessage.java93 public static SmsMessage createFromPdu(byte[] pdu) { argument
96 msg.parsePdu(pdu);
115 * +CMT: [&lt;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 DSimSmsInterfaceManager.java70 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 DWapPushTest.java1274 // 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 DClientTest.java118 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 DMultimediaMessagePdu.java18 package com.google.android.mms.pdu;
H A DReadOrigInd.java18 package com.google.android.mms.pdu;
H A DReadRecInd.java18 package com.google.android.mms.pdu;
24 * Constructor, used when composing a M-ReadRec.ind pdu.
H A DBase64.java18 package com.google.android.mms.pdu;
H A DNotificationInd.java18 package com.google.android.mms.pdu;
H A DRetrieveConf.java18 package com.google.android.mms.pdu;
H A DPduPersister.java18 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 DCharacterSets.java18 package com.google.android.mms.pdu;
H A DPduBody.java18 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 DSendReq.java18 package com.google.android.mms.pdu;
51 * Constructor, used when composing a M-Send.req pdu.
H A DEncodedStringValue.java18 package com.google.android.mms.pdu;
H A DPduComposer.java18 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 DPduPart.java18 package com.google.android.mms.pdu;
26 * The pdu part.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java107 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 DRuimSmsInterfaceManager.java67 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 DSipCommandInterface.java216 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 DGsmAlphabet.java449 * @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 DSMSDispatcher.java104 "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 DCommandsInterface.java991 * 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 DCdmaSmsTest.java119 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...]

Completed in 2768 milliseconds

123