Searched refs:pduData (Results 1 – 4 of 4) sorted by relevance
595 byte[] pduData = new byte[2];596 int bytesRead = readPduBytesFromContentUri(contentUri, pduData);600 && (pduData[0] & 0xFF) == MESSAGE_TYPE601 && (pduData[1] & 0xFF) == MESSAGE_TYPE_SEND_REQ) {809 byte[] pduData = readPduFromContentUri(contentUri, MAX_MMS_FILE_SIZE); in importMms()810 if (pduData == null || pduData.length < 1) { in importMms()819 final GenericPdu pdu = parsePduForAnyCarrier(pduData); in importMms()983 byte[] pduData = readPduFromContentUri(contentUri, MAX_MMS_FILE_SIZE); in addMmsDraft()984 if (pduData == null || pduData.length < 1) { in addMmsDraft()993 final GenericPdu pdu = parsePduForAnyCarrier(pduData); in addMmsDraft()[all …]
453 protected static String encodeHexString(byte[] pduData) { in encodeHexString() argument454 StringBuilder out = new StringBuilder(pduData.length * 2); in encodeHexString()455 for (int i = 0; i < pduData.length; i++) { in encodeHexString()457 out.append(Integer.toString((pduData[i] >> 4) & 0x0f, 16)); in encodeHexString()458 out.append(Integer.toString(pduData[i] & 0x0f, 16)); in encodeHexString()
892 protected String encodeBinary(byte[] pduData, byte[] scAddressData) { in encodeBinary() argument893 StringBuilder out = new StringBuilder((pduData.length + scAddressData.length) * 2); in encodeBinary()898 for (int i = 0; i < pduData.length; i++) { in encodeBinary()899 out.append(Integer.toString((pduData[i] >> 4) & 0x0f, 16)); // MS-nibble first in encodeBinary()900 out.append(Integer.toString(pduData[i] & 0x0f, 16)); in encodeBinary()
2531 byte[] pduData = null;2554 pduData = new PduComposer(context, notification).make();2555 if (pduData == null || pduData.length < 1) {2563 return pduData;