Searched refs:pdu (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduContentTypes.java18 package com.google.android.mms.pdu;
H A DAcknowledgeInd.java18 package com.google.android.mms.pdu;
27 * Constructor, used when composing a M-Acknowledge.ind pdu.
H A DDeliveryInd.java18 package com.google.android.mms.pdu;
H A DGenericPdu.java18 package com.google.android.mms.pdu;
24 * The headers of pdu.
H A DNotifyRespInd.java18 package com.google.android.mms.pdu;
27 * Constructor, used when composing a M-NotifyResp.ind pdu.
H A DQuotedPrintable.java18 package com.google.android.mms.pdu;
H A DSendConf.java18 package com.google.android.mms.pdu;
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DIDataVerify.aidl26 boolean verifyData(in byte[] pdu);
H A DDataVerify.java66 * Compare pdu and received pdu
68 public synchronized boolean verifyData(byte[] pdu) { argument
82 Log.v(LOG_TAG, "verify pdu");
83 boolean ret = arrayCompare(pdu, mLastReceivedPdu);
107 public static void SetLastReceivedPdu(byte[] pdu) { argument
108 mLastReceivedPdu = pdu;
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DPduCacheEntry.java20 import com.google.android.mms.pdu.GenericPdu;
27 public PduCacheEntry(GenericPdu pdu, int msgBox, long threadId) { argument
28 mPdu = pdu;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsCbHeader.java42 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1
47 * UMTS pdu format, as defined in 3gpp TS 23.041, section 9.4.2
52 * GSM pdu format, as defined in 3gpp TS 23.041, section 9.4.1.3
93 public SmsCbHeader(byte[] pdu) throws IllegalArgumentException { argument
94 if (pdu == null || pdu.length < PDU_HEADER_LENGTH) {
98 if (pdu.length <= PDU_LENGTH_GSM) {
103 mGeographicalScope = (pdu[0] & 0xc0) >>> 6;
104 mSerialNumber = ((pdu[0] & 0xff) << 8) | (pdu[
[all...]
H A DGsmSmsCbMessage.java78 for (byte[] pdu : pdus) {
79 Pair<String, String> p = parseBody(header, pdu);
112 * @param pdu the PDU to decode
115 private static Pair<String, String> parseBody(SmsCbHeader header, byte[] pdu) { argument
191 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH];
193 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1)
195 throw new IllegalArgumentException("Pdu length " + pdu.length + " does not match "
205 int length = pdu[offset + PDU_BODY_PAGE_LENGTH];
212 Pair<String, String> p = unpackBody(pdu, encoding, offset, length,
221 int length = pdu
241 unpackBody(byte[] pdu, int encoding, int offset, int length, boolean hasLanguageIndicator, String language) argument
[all...]
H A DGsmSMSDispatcher.java137 fillIn.putExtra("pdu", IccUtils.hexStringToBytes(pduString));
155 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu(
157 if (pdu != null) {
158 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu);
183 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu(
185 if (pdu != null) {
186 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu);
207 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
225 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu(scAddress, destinationAddress,
228 if (pdu !
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java19 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_DELIVERY_IND;
20 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_NOTIFICATION_IND;
21 import static com.google.android.mms.pdu.PduHeaders.MESSAGE_TYPE_READ_ORIG_IND;
54 import com.google.android.mms.pdu.DeliveryInd;
55 import com.google.android.mms.pdu.GenericPdu;
56 import com.google.android.mms.pdu.NotificationInd;
57 import com.google.android.mms.pdu.PduHeaders;
58 import com.google.android.mms.pdu.PduParser;
59 import com.google.android.mms.pdu.PduPersister;
60 import com.google.android.mms.pdu
123 decodeWapPdu(byte[] pdu, InboundSmsHandler handler) argument
284 dispatchWapPdu(byte[] pdu, BroadcastReceiver receiver, InboundSmsHandler handler) argument
378 isWapPushForMms(byte[] pdu, InboundSmsHandler handler) argument
391 writeInboxMessage(int subId, GenericPdu pdu) argument
481 getDeliveryOrReadReportThreadId(Context context, GenericPdu pdu) argument
[all...]
H A DTelephonyComponentFactory.java87 public WspTypeDecoder makeWspTypeDecoder(byte[] pdu) { argument
88 return new WspTypeDecoder(pdu);
94 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort, argument
96 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, is3gpp2WapPdu, address,
103 public InboundSmsTracker makeInboundSmsTracker(byte[] pdu, long timestamp, int destPort, argument
106 return new InboundSmsTracker(pdu, timestamp, destPort, is3gpp2, address, referenceNumber,
/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsManager.java25 * Manages SMS operations such as sending data, text, and pdu SMS messages.
70 * raw pdu of the status report is in the extended data ("pdu").
121 * to the recipient. The raw pdu of the status report is in the
122 * extended data ("pdu").
155 * raw pdu of the status report is in the extended data ("pdu").
172 * @param pdu the raw PDU to store
180 public final boolean copyMessageToSim(byte[] smsc, byte[] pdu, int status) { argument
181 return mSmsMgrProxy.copyMessageToIcc(smsc, pdu, statu
210 updateMessageOnSim(int messageIndex, int newStatus, byte[] pdu) argument
[all...]
H A DSmsMessage.java151 public static SmsMessage createFromPdu(byte[] pdu) { argument
156 wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.createFromPdu(pdu);
158 wrappedMessage = com.android.internal.telephony.gsm.SmsMessage.createFromPdu(pdu);
170 public static int getTPLayerLengthForPDU(String pdu) { argument
174 return com.android.internal.telephony.cdma.SmsMessage.getTPLayerLengthForPDU(pdu);
176 return com.android.internal.telephony.gsm.SmsMessage.getTPLayerLengthForPDU(pdu);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java255 * @param pdu The WAP-WDP PDU segment
260 private int processCdmaWapPdu(byte[] pdu, int referenceNumber, String address, argument
264 int msgType = (0xFF & pdu[index++]);
269 int totalSegments = (0xFF & pdu[index++]); // >= 1
270 int segment = (0xFF & pdu[index++]); // >= 0
282 sourcePort = (0xFF & pdu[index++]) << 8;
283 sourcePort |= 0xFF & pdu[index++];
284 destinationPort = (0xFF & pdu[index++]) << 8;
285 destinationPort |= 0xFF & pdu[index++];
289 if (checkDuplicatePortOmadmWapPush(pdu, inde
[all...]
H A DCdmaSMSDispatcher.java97 fillIn.putExtra("pdu", sms.getPdu());
111 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu(
113 if (pdu != null) {
114 HashMap map = getSmsTrackerMap(destAddr, scAddr, destPort, data, pdu);
145 SmsMessage.SubmitPdu pdu = SmsMessage.getSubmitPdu(
147 if (pdu != null) {
148 HashMap map = getSmsTrackerMap(destAddr, scAddr, text, pdu);
175 protected void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
254 byte[] pdu = (byte[]) tracker.getData().get("pdu");
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSimSmsTest.java45 byte[] pdu = null;
50 pdu = data.getBytes();
61 assertNotNull(pdu);
H A DGsmSmsTest.java32 String pdu = "07914151551512f2040B916105551511f100006060605130308A04D4F29C0E";
33 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu));
38 pdu = "07914151551512f2040B916105551511f100036060924180008A0DA"
40 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu));
48 String pdu = "07914140279510F6440A8111110301003BF56080207130138A8C0B05040B8423F"
54 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu));
67 pdu = "07914140279510F6440A8111110301003BF56080207130238A3B0B05040B8423F"
70 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu));
86 String pdu = "07912160130300F4040B914151245584F600087010807121352B1021220"
88 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu));
[all...]
H A DWapPushOverSmsTest.java76 byte[] pdu = new byte[]{
86 mWapPushOverSmsUT.dispatchWapPdu(pdu, null, mInboundSmsHandler);
107 assertEquals(pdu.length, data.length);
108 for (int i = 0; i < pdu.length; i++) {
109 assertEquals(pdu[i], data[i]);
128 byte pdu[] = {1, 6, 0, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47,
139 mWapPushOverSmsUT.dispatchWapPdu(pdu, null, mInboundSmsHandler));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGsmSmsCbTest.java41 private static SmsCbMessage createFromPdu(byte[] pdu) { argument
43 SmsCbHeader header = new SmsCbHeader(pdu);
45 pdus[0] = pdu;
52 private static void doTestGeographicalScopeValue(byte[] pdu, byte b, int expectedGs) { argument
53 pdu[0] = b;
54 SmsCbMessage msg = createFromPdu(pdu);
63 assertNull("createFromPdu(byte[] with null pdu should return null", msg);
68 byte[] pdu = new byte[4];
69 SmsCbMessage msg = createFromPdu(pdu);
71 assertNull("createFromPdu(byte[] with too short pdu shoul
[all...]
/frameworks/base/core/java/android/service/carrier/
H A DICarrierMessagingService.aidl33 * @param pdu the PDUs of the message
40 in MessagePdu pdu, String format, int destPort, int subId,
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DISms.aidl52 * @param pdu the raw PDU to store
58 int messageIndex, int newStatus, in byte[] pdu);
63 * @param pdu the raw PDU to store
71 in byte[] pdu, in byte[] smsc);
94 * raw pdu of the status report is in the extended data ("pdu").
122 * raw pdu of the status report is in the extended data ("pdu").
150 * raw pdu of the status report is in the extended data ("pdu")
[all...]

Completed in 384 milliseconds

123