/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]);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmSmsCbMessage.java | 57 * Create a new SmsCbMessage object from a header object plus one or more received PDUs. 59 * @param pdus PDU bytes 62 byte[][] pdus) throws IllegalArgumentException { 72 for (byte[] pdu : pdus) { 88 * Create a new SmsCbMessage object from one or more received PDUs. This is used by some 92 * @param pdus PDU bytes 94 public static SmsCbMessage createSmsCbMessage(SmsCbLocation location, byte[][] pdus) 96 SmsCbHeader header = new SmsCbHeader(pdus[0]); 97 return createSmsCbMessage(header, location, pdus);
|
GsmSMSDispatcher.java | 375 * @param ar the AsyncResult containing the received PDUs 418 byte[][] pdus; 425 pdus = mSmsCbPageMap.get(concatInfo); 427 if (pdus == null) { 430 pdus = new byte[pageCount][]; 432 mSmsCbPageMap.put(concatInfo, pdus); 436 pdus[header.getPageIndex() - 1] = receivedPdu; 438 for (int i = 0; i < pdus.length; i++) { 439 if (pdus[i] == null) { 449 pdus = new byte[1][] [all...] |
SmsCbHeader.java | 62 * Length of GSM pdus 67 * Maximum length of ETWS primary message GSM pdus 121 // GSM pdus are no more than 88 bytes 140 // UMTS pdus are always at least 90 bytes since the payload includes
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SMSDispatcher.java | 476 byte[][] pdus = new byte[1][]; 477 pdus[0] = sms.getPdu(); 485 dispatchPortAddressedPdus(pdus, smsHeader.portAddrs.destPort); 489 dispatchPdus(pdus); 525 byte[][] pdus = null; 574 pdus = new byte[messageCount][]; 582 pdus[cursorSequence] = HexDump.hexStringToByteArray( 594 pdus[sequenceNumber] = pdu; 596 pdus[sequenceNumber - 1] = pdu; 614 output.write(pdus[i], 0, pdus[i].length) [all...] |
/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/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 | 128 Object[] pdus = (Object[]) extras.get("pdus"); 130 for (int i = 0; i < pdus.length; i++) { 131 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 */
|
atmdev.h | 124 #define __ATM_LM_AAL 1 /* loop back PDUs --' | | | */
|
/external/qemu/hw/ |
bt.c | 29 /* Slaves should never receive these PDUs */
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
SendTestMessages.java | 390 byte[][] pdus = new byte[1][]; 391 pdus[0] = pdu; 392 return GsmSmsCbMessage.createSmsCbMessage(sEmptyLocation, pdus); 398 private static SmsCbMessage createFromPdus(byte[][] pdus) { 400 return GsmSmsCbMessage.createSmsCbMessage(sEmptyLocation, pdus); 432 byte[][] pdus = new byte[2][]; 433 pdus[0] = gsm7BitTestMultipage1; 434 pdus[1] = gsm7BitTestMultipage2; 435 intent.putExtra("message", createFromPdus(pdus));
|
/external/bluetooth/bluez/ |
TODO | 132 - Implement ATT PDU validation. Malformed PDUs can cause division by zero 133 when decoding PDUs. A proper error PDU should be returned for this case.
|
/frameworks/base/core/java/android/provider/ |
Telephony.java | 530 * <li><em>pdus</em> - An Object[] od byte[]s containing the PDUs 550 * <li><em>pdus</em> - An Object[] of byte[]s containing the PDUs 680 * Read the PDUs out of an {@link #SMS_RECEIVED_ACTION} or a 684 * @return an array of SmsMessages for the PDUs 688 Object[] messages = (Object[]) intent.getSerializableExtra("pdus"); 695 byte[][] pdus = new byte[pduObjs.length][]; 696 int pduCount = pdus.length; 699 pdus[i] = pduObjs[i] [all...] |
/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
|
/frameworks/base/core/java/com/google/android/mms/ |
ContentType.java | 24 // The phony content type for generic PDUs (e.g. ReadOrig.ind,
|