Home
last modified time | relevance | path

Searched refs:pduData (Results 1 – 3 of 3) sorted by relevance

/packages/services/Mms/src/com/android/mms/service/
DMmsService.java506 byte[] pduData = new byte[2];
507 int bytesRead = readPduBytesFromContentUri(contentUri, pduData);
511 && (pduData[0] & 0xFF) == MESSAGE_TYPE
512 && (pduData[1] & 0xFF) == MESSAGE_TYPE_SEND_REQ) {
703 byte[] pduData = readPduFromContentUri(contentUri, MAX_MMS_FILE_SIZE); in importMms()
704 if (pduData == null || pduData.length < 1) { in importMms()
713 final GenericPdu pdu = parsePduForAnyCarrier(pduData); in importMms()
877 byte[] pduData = readPduFromContentUri(contentUri, MAX_MMS_FILE_SIZE); in addMmsDraft()
878 if (pduData == null || pduData.length < 1) { in addMmsDraft()
887 final GenericPdu pdu = parsePduForAnyCarrier(pduData); in addMmsDraft()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java939 protected String encodeBinary(byte[] pduData, byte[] scAddressData) { in encodeBinary() argument
940 StringBuilder out = new StringBuilder((pduData.length + scAddressData.length) * 2); in encodeBinary()
945 for (int i = 0; i < pduData.length; i++) { in encodeBinary()
946 out.append(Integer.toString((pduData[i] >> 4) & 0x0f, 16)); // MS-nibble first in encodeBinary()
947 out.append(Integer.toString(pduData[i] & 0x0f, 16)); in encodeBinary()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java2531 byte[] pduData = null;
2554 pduData = new PduComposer(context, notification).make();
2555 if (pduData == null || pduData.length < 1) {
2563 return pduData;