/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmCellBroadcastHandler.java | 88 * @param ar the AsyncResult containing the received PDUs 140 byte[][] pdus; 147 pdus = mSmsCbPageMap.get(concatInfo); 149 if (pdus == null) { 152 pdus = new byte[pageCount][]; 154 mSmsCbPageMap.put(concatInfo, pdus); 158 pdus[header.getPageIndex() - 1] = receivedPdu; 160 for (byte[] pdu : pdus) { 171 pdus = new byte[1][]; 172 pdus[0] = receivedPdu [all...] |
GsmSmsCbMessage.java | 58 * Create a new SmsCbMessage object from a header object plus one or more received PDUs. 60 * @param pdus PDU bytes 63 byte[][] pdus) throws IllegalArgumentException { 73 for (byte[] pdu : pdus) { 89 * Create a new SmsCbMessage object from one or more received PDUs. This is used by some 93 * @param pdus PDU bytes 95 public static SmsCbMessage createSmsCbMessage(SmsCbLocation location, byte[][] pdus) 97 SmsCbHeader header = new SmsCbHeader(pdus[0]); 98 return createSmsCbMessage(header, location, pdus);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessageReceiver.java | 38 Object[] pdus = (Object[]) extras.get("pdus"); 40 for (int i = 0; i < pdus.length; i++) { 41 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]);
|
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/ |
SmsMessageReceiver.java | 40 Object[] pdus = (Object[]) extras.get("pdus"); 42 for (int i = 0; i < pdus.length; i++) { 43 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]);
|
/packages/apps/Mms/tests/SmsAutoReply/src/com/android/smsautoreply/ |
AutoReplyActivity.java | 63 Object[] pdus = (Object[]) extras.get("pdus"); 65 for (int i = 0; i < pdus.length; i++) { 66 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]);
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/ |
DialogSmsDisplayTests.java | 116 byte[][] pdus = new byte[1][]; 117 pdus[0] = pdu; 118 return GsmSmsCbMessage.createSmsCbMessage(sEmptyLocation, pdus);
|
/external/qemu/telephony/ |
sms.c | 1235 smspdu_free_list( SmsPDU* pdus ) 1237 if (pdus) { 1239 for (nn = 0; pdus[nn] != NULL; nn++) 1240 smspdu_free( pdus[nn] ); 1242 free( pdus ); 1271 /* count the number of SMS PDUs we'll need */ 1387 SmsPDU* pdus; member in struct:SmsFragmentRec [all...] |
sms.h | 69 extern void smspdu_free_list( SmsPDU* pdus ); 105 ** collects one or more SMS-SUBMIT PDUs to generate a single message to deliver
|
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/ |
DialogSmsDisplayTests.java | 127 Object[] pdus = (Object[]) extras.get("pdus"); 129 for (int i = 0; i < pdus.length; i++) { 130 SmsMessage message = SmsMessage.createFromPdu((byte[]) pdus[i]);
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
SendTestMessages.java | 389 byte[][] pdus = new byte[1][]; 390 pdus[0] = pdu; 391 return createFromPdus(pdus, serialNumber, category); 394 private static SmsCbMessage createFromPdus(byte[][] pdus, int serialNumber, int category) { 396 for (byte[] pdu : pdus) { 419 return GsmSmsCbMessage.createSmsCbMessage(sEmptyLocation, pdus); 454 byte[][] pdus = new byte[2][]; 455 pdus[0] = gsm7BitTestMultipage1; 456 pdus[1] = gsm7BitTestMultipage2; 457 intent.putExtra("message", createFromPdus(pdus, serialNumber, category)) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
InboundSmsHandler.java | 64 * of a multi-part SMS), we broadcast the completed PDUs as an ordered broadcast, then transition to 250 * notify the state machine to broadcast any complete PDUs that might not have been broadcast. 591 byte[][] pdus; 596 pdus = new byte[][]{tracker.getPdu()}; 622 pdus = new byte[messageCount][]; 627 pdus[index] = HexDump.hexStringToByteArray(cursor.getString(PDU_COLUMN)); 655 for (byte[] pdu : pdus) { 687 intent.putExtra("pdus", pdus); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapSmsPdu.java | 485 ArrayList<SmsPdu> pdus = new ArrayList<SmsPdu>(msgCount); local 501 pdus.add(newPdu); 550 pdus.add(newPdu); 554 return pdus; 558 * Generate a list of deliver PDUs. The messageText and address parameters must be different from null, 569 * For CDMA the only difference between deliver and submit pdus are the messageType, 596 * from the MAP client. (As the Android system has no interface to send pre encoded PDUs) 602 /* This is able to handle both submit and deliver PDUs */ 605 /* For GSM, there is no submit pdu decoder, and most parser utils are private, and only minded for submit pdus */
|
/external/qemu/android/ |
console.c | 1581 SmsPDU* pdus; local [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GsmSmsCbTest.java | 41 byte[][] pdus = new byte[1][]; 42 pdus[0] = pdu; 43 return GsmSmsCbMessage.createSmsCbMessage(header, sTestLocation, pdus); [all...] |