/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]);
|
/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);
|
SmsCbHeader.java | 62 * Length of GSM pdus 67 * Maximum length of ETWS primary message GSM pdus 126 // GSM pdus are no more than 88 bytes 143 // UMTS pdus are always at least 90 bytes since the payload includes
|
/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]);
|
/external/qemu/telephony/ |
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
|
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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessageSms.java | 55 if(D) Log.d(TAG, "Only submit PDUs are supported"); 56 throw new IllegalArgumentException("Only submit PDUs are supported");
|
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 */
|
/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);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsMessageTest.java | 78 // TODO: temp workaround, need to adjust test to use CDMA pdus 157 // TODO: temp workaround, need to adjust test to use CDMA pdus 199 // TODO: temp workaround, need to adjust test to use CDMA pdus 261 // TODO: temp workaround, need to adjust test to use CDMA pdus
|
/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]);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
atmmpc.h | 63 /* RFC 1483 LLC/SNAP encapsulation for routed IP PDUs */
|
atmdev.h | 124 #define __ATM_LM_AAL 1 /* loop back PDUs --' | | | */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
atmmpc.h | 63 /* RFC 1483 LLC/SNAP encapsulation for routed IP PDUs */
|
atmdev.h | 124 #define __ATM_LM_AAL 1 /* loop back PDUs --' | | | */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
atmmpc.h | 63 /* RFC 1483 LLC/SNAP encapsulation for routed IP PDUs */
|
/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...] |
SmsBroadcastUndelivered.java | 95 * Scan the raw table for complete SMS messages to broadcast, and old PDUs to delete.
|
/external/qemu/hw/ |
bt.c | 29 /* Slaves should never receive these PDUs */
|
/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...] |
/external/libnfc-nci/src/nfc/llcp/ |
llcp_sdp.c | 178 /* if LM is waiting for PDUs from upper layer */ 281 /* if LM is waiting for PDUs from upper layer */
|
/packages/apps/Mms/src/com/android/mms/util/ |
BackgroundLoaderManager.java | 37 * items (images, thumbnails, pdus, etc.) in the background off of the UI thread.
|
PduLoaderManager.java | 42 * request lots of pdus around the same time, and AsyncTask may reject tasks
|