Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendTestMessages.java392 byte[][] pdus = new byte[1][]; in createFromPdu()
393 pdus[0] = pdu; in createFromPdu()
394 return createFromPdus(context, pdus, serialNumber, category); in createFromPdu()
397 private static SmsCbMessage createFromPdus(Context context, byte[][] pdus, int serialNumber, in createFromPdus() argument
400 for (byte[] pdu : pdus) { in createFromPdus()
423 return GsmSmsCbMessage.createSmsCbMessage(context, new SmsCbHeader(pdus[0]), in createFromPdus()
424 sEmptyLocation, pdus, 0 /* slotIndex */); in createFromPdus()
463 byte[][] pdus = new byte[2][]; in testSendMessage7bitMultipageGsm()
464 pdus[0] = gsm7BitTestMultipage1; in testSendMessage7bitMultipageGsm()
465 pdus[1] = gsm7BitTestMultipage2; in testSendMessage7bitMultipageGsm()
[all …]
DGsmSmsCbMessage.java94 SmsCbLocation location, byte[][] pdus, int slotIndex) in createSmsCbMessage() argument
118 byte[] pdu = pdus[0]; in createSmsCbMessage()
153 for (byte[] pdu : pdus) { in createSmsCbMessage()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmCellBroadcastHandler.java623 byte[][] pdus; in handleGsmBroadcastSms()
630 pdus = mSmsCbPageMap.get(concatInfo); in handleGsmBroadcastSms()
632 if (pdus == null) { in handleGsmBroadcastSms()
635 pdus = new byte[pageCount][]; in handleGsmBroadcastSms()
637 mSmsCbPageMap.put(concatInfo, pdus); in handleGsmBroadcastSms()
640 if (VDBG) log("pdus size=" + pdus.length); in handleGsmBroadcastSms()
642 pdus[header.getPageIndex() - 1] = receivedPdu; in handleGsmBroadcastSms()
644 for (byte[] pdu : pdus) { in handleGsmBroadcastSms()
656 pdus = new byte[1][]; in handleGsmBroadcastSms()
657 pdus[0] = receivedPdu; in handleGsmBroadcastSms()
[all …]
DGsmSmsCbMessage.java98 SmsCbLocation location, byte[][] pdus, int slotIndex) in createSmsCbMessage() argument
122 byte[] pdu = pdus[0]; in createSmsCbMessage()
157 for (byte[] pdu : pdus) { in createSmsCbMessage()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmSmsCbMessageTest.java123 byte[][] pdus = new byte[1][]; in testCreateMessageFromBinary()
124 pdus[0] = pdu; in testCreateMessageFromBinary()
126 SmsCbMessage msg = GsmSmsCbMessage.createSmsCbMessage(mMockedContext, header, null, pdus, in testCreateMessageFromBinary()
186 byte[][] pdus = new byte[1][]; in createFromPdu()
187 pdus[0] = pdu; in createFromPdu()
189 TEST_LOCATION, pdus, /* slotIndex */ 0); in createFromPdu()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DSmsMessageReceiver.java40 Object[] pdus = (Object[]) extras.get("pdus"); in onReceive()
42 for (int i = 0; i < pdus.length; i++) { in onReceive()
43 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); in onReceive()
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java127 Object[] pdus = (Object[]) extras.get("pdus"); in setUp()
129 for (int i = 0; i < pdus.length; i++) { in setUp()
130 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java536 ArrayList<SmsPdu> pdus = new ArrayList<SmsPdu>(msgCount); in getSubmitPdus() local
554 pdus.add(newPdu); in getSubmitPdus()
563 pdus.add(newPdu); in getSubmitPdus()
567 return pdus; in getSubmitPdus()