Home
last modified time | relevance | path

Searched refs:pdus (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java140 byte[][] pdus; in handleGsmBroadcastSms()
147 pdus = mSmsCbPageMap.get(concatInfo); in handleGsmBroadcastSms()
149 if (pdus == null) { in handleGsmBroadcastSms()
152 pdus = new byte[pageCount][]; in handleGsmBroadcastSms()
154 mSmsCbPageMap.put(concatInfo, pdus); in handleGsmBroadcastSms()
158 pdus[header.getPageIndex() - 1] = receivedPdu; in handleGsmBroadcastSms()
160 for (byte[] pdu : pdus) { in handleGsmBroadcastSms()
171 pdus = new byte[1][]; in handleGsmBroadcastSms()
172 pdus[0] = receivedPdu; in handleGsmBroadcastSms()
188 return GsmSmsCbMessage.createSmsCbMessage(mContext, header, location, pdus); in handleGsmBroadcastSms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java117 public static boolean filter(Context context, byte[][] pdus, String format, int destPort, in filter() argument
136 FullMessage fullMessage = getFullMessage(pdus, format); in filter()
142 String asciiMessage = parseAsciiPduMessage(pdus); in filter()
258 private static FullMessage getFullMessage(byte[][] pdus, String format) { in getFullMessage() argument
262 for (byte pdu[] : pdus) { in getFullMessage()
293 private static String parseAsciiPduMessage(byte[][] pdus) { in parseAsciiPduMessage() argument
295 for (byte pdu[] : pdus) { in parseAsciiPduMessage()
DInboundSmsHandler.java736 byte[][] pdus; in processMessagePart()
742 pdus = new byte[][]{tracker.getPdu()}; in processMessagePart()
769 pdus = new byte[messageCount][]; in processMessagePart()
775 pdus[index] = HexDump.hexStringToByteArray(cursor.getString( in processMessagePart()
814 List<byte[]> pduList = Arrays.asList(pdus); in processMessagePart()
824 return processMessagePartWithUserLocked(tracker, pdus, destPort, resultReceiver); in processMessagePart()
830 for (byte[] pdu : pdus) { in processMessagePart()
862 pdus, destPort, tracker, resultReceiver, true /* userUnlocked */); in processMessagePart()
865 dispatchSmsDeliveryIntent(pdus, tracker.getFormat(), destPort, resultReceiver); in processMessagePart()
881 byte[][] pdus, int destPort, SmsBroadcastReceiver resultReceiver) { in processMessagePartWithUserLocked() argument
[all …]
DCarrierServicesSmsFilter.java60 byte[][] pdus, in CarrierServicesSmsFilter() argument
67 mPdus = pdus; in CarrierServicesSmsFilter()
186 CarrierSmsFilter(byte[][] pdus, int destPort, String smsFormat) { in CarrierSmsFilter() argument
187 mPdus = pdus; in CarrierSmsFilter()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DVisualVoicemailSmsFilterTest.java105 byte[][] pdus = { in testUnsupportedPdu()
109 VisualVoicemailSmsFilter.filter(mContext, pdus, SmsConstants.FORMAT_3GPP, 0, 0)); in testUnsupportedPdu()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsCbTest.java44 byte[][] pdus = new byte[1][]; in createFromPdu()
45 pdus[0] = pdu; in createFromPdu()
46 return GsmSmsCbMessage.createSmsCbMessage(getContext(), header, sTestLocation, pdus); in createFromPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmSmsCbMessage.java98 SmsCbLocation location, byte[][] pdus) in createSmsCbMessage() argument
113 for (byte[] pdu : pdus) { in createSmsCbMessage()