Lines Matching refs:pdu

100     public static SmsMessage createFromPdu(byte[] pdu) {
103 msg.parsePdu(pdu);
122 * +CMT: [&lt;alpha>],<length><CR><LF><pdu>
199 byte[] pdu = new byte[size];
200 System.arraycopy(data, 1, pdu, 0, size);
201 msg.parsePdu(pdu);
213 public static int getTPLayerLengthForPDU(String pdu) {
214 int len = pdu.length() / 2;
215 int smscLen = Integer.parseInt(pdu.substring(0, 2), 16);
486 byte pdu[];
497 PduParser(byte[] pdu) {
498 this.pdu = pdu;
521 .calledPartyBCDToString(pdu, cur, len);
537 return pdu[cur++] & 0xff;
551 int addressLength = pdu[cur] & 0xff;
554 ret = new GsmSmsAddress(pdu, cur, lengthBytes);
568 int year = IccUtils.gsmBcdByteToInt(pdu[cur++]);
569 int month = IccUtils.gsmBcdByteToInt(pdu[cur++]);
570 int day = IccUtils.gsmBcdByteToInt(pdu[cur++]);
571 int hour = IccUtils.gsmBcdByteToInt(pdu[cur++]);
572 int minute = IccUtils.gsmBcdByteToInt(pdu[cur++]);
573 int second = IccUtils.gsmBcdByteToInt(pdu[cur++]);
580 byte tzByte = pdu[cur++];
612 int userDataLength = pdu[offset++] & 0xff;
617 userDataHeaderLength = pdu[offset++] & 0xff;
620 System.arraycopy(pdu, offset, udh, 0, userDataHeaderLength);
634 * the pdu minus the user data header, since userDataLength means
637 bufferLen = pdu.length - offset;
650 System.arraycopy(pdu, offset, userData, 0, userData.length);
704 ret = GsmAlphabet.gsm7BitPackedToString(pdu, cur, septetCount,
723 ret = new String(pdu, cur, byteCount, "utf-16");
734 return (pdu.length > cur);
839 * TS 27.005 3.1, <pdu> definition "In the case of SMS: 3GPP TS 24.011 [6]
846 private void parsePdu(byte[] pdu) {
847 mPdu = pdu;
851 PduParser p = new PduParser(pdu);