Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java118 public static boolean filter(Context context, byte[][] pdus, String format, int destPort, in filter() argument
127 FullMessage fullMessage = getFullMessage(pdus, format); in filter()
147 FullMessage fullMessage = getFullMessage(pdus, format); in filter()
153 String asciiMessage = parseAsciiPduMessage(pdus); in filter()
283 private static FullMessage getFullMessage(byte[][] pdus, String format) { in getFullMessage() argument
287 for (byte pdu[] : pdus) { in getFullMessage()
318 private static String parseAsciiPduMessage(byte[][] pdus) { in parseAsciiPduMessage() argument
320 for (byte pdu[] : pdus) { in parseAsciiPduMessage()
DInboundSmsHandler.java911 byte[][] pdus; in processMessagePart()
926 pdus = new byte[][]{tracker.getPdu()}; in processMessagePart()
956 pdus = new byte[messageCount][]; in processMessagePart()
966 if (index >= pdus.length || index < 0) { in processMessagePart()
975 pdus[index] = HexDump.hexStringToByteArray(cursor.getString( in processMessagePart()
1024 List<byte[]> pduList = Arrays.asList(pdus); in processMessagePart()
1036 for (byte[] pdu : pdus) { in processMessagePart()
1064 (isWapPush ? new byte[][] {output.toByteArray()} : pdus), in processMessagePart()
1110 pdus, destPort, tracker, resultReceiver, true /* userUnlocked */, block); in processMessagePart()
1123 dispatchSmsDeliveryIntent(pdus, format, destPort, resultReceiver, in processMessagePart()
[all …]
DCarrierServicesSmsFilter.java85 byte[][] pdus, in CarrierServicesSmsFilter() argument
94 mPdus = pdus; in CarrierServicesSmsFilter()
241 CarrierSmsFilter(byte[][] pdus, int destPort, String smsFormat, String packageName) { in CarrierSmsFilter() argument
242 mPdus = pdus; in CarrierSmsFilter()
DMissedIncomingCallSmsFilter.java94 public boolean filter(byte[][] pdus, String format) { in filter() argument
96 if (pdus.length != 1) { in filter()
104 SmsMessage message = SmsMessage.createFromPdu(pdus[0], format); in filter()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMissedIncomingCallSmsFilterTest.java80 byte[][] pdus = {IccUtils.hexStringToBytes(smsPduString)}; in testMissedIncomingCallwithCallerId()
81 assertTrue(mFilterUT.filter(pdus, SmsConstants.FORMAT_3GPP)); in testMissedIncomingCallwithCallerId()
DVisualVoicemailSmsFilterTest.java122 byte[][] pdus = { in testUnsupportedPdu()
126 VisualVoicemailSmsFilter.filter(mContext, pdus, SmsConstants.FORMAT_3GPP, 0, 0)); in testUnsupportedPdu()