Searched refs:pdus (Results 1 – 8 of 8) sorted by relevance
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestMessages.java | 392 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 …]
|
D | GsmSmsCbMessage.java | 94 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/ |
D | GsmCellBroadcastHandler.java | 623 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 …]
|
D | GsmSmsCbMessage.java | 98 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/ |
D | GsmSmsCbMessageTest.java | 123 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/ |
D | SmsMessageReceiver.java | 40 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/ |
D | DialogSmsDisplayTests.java | 127 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/ |
D | BluetoothMapSmsPdu.java | 536 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()
|