Searched refs:pdu (Results 26 - 50 of 65) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java110 public static SmsMessage createFromPdu(byte[] pdu) { argument
114 msg.parsePdu(pdu);
259 byte[] pdu = new byte[size];
260 System.arraycopy(data, 2, pdu, 0, size);
263 msg.parsePduFromEfRecord(pdu);
275 public static int getTPLayerLengthForPDU(String pdu) { argument
506 * Decodes pdu to an empty SMS object.
507 * In the CDMA case the pdu is just an internal byte stream representation
511 private void parsePdu(byte[] pdu) { argument
512 ByteArrayInputStream bais = new ByteArrayInputStream(pdu);
577 parsePduFromEfRecord(byte[] pdu) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java116 byte[] pdu = smsMessage.getPdu(); // includes SC address
118 int scAddressLength = pdu[0] & 0xff;
120 int tpduLength = pdu.length - tpduIndex;
148 System.arraycopy(pdu, 1, envelope, index, scAddressLength);
158 System.arraycopy(pdu, tpduIndex, envelope, index, tpduLength);
H A DSmsMessage.java98 public static SmsMessage createFromPdu(byte[] pdu) { argument
101 msg.parsePdu(pdu);
123 * +CMT: [&lt;alpha>],<length><CR><LF><pdu>
183 byte[] pdu = new byte[size];
184 System.arraycopy(data, 1, pdu, 0, size);
185 msg.parsePdu(pdu);
197 public static int getTPLayerLengthForPDU(String pdu) { argument
198 int len = pdu.length() / 2;
199 int smscLen = Integer.parseInt(pdu.substring(0, 2), 16);
505 PduParser(byte[] pdu) { argument
923 parsePdu(byte[] pdu) argument
[all...]
H A DGsmCellBroadcastHandler.java97 StringBuilder sb = new StringBuilder("SMS CB pdu data: ");
160 for (byte[] pdu : pdus) {
161 if (pdu == null) {
191 loge("Error in decoding SMS CB pdu", e);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsManager.java51 * Manages SMS operations such as sending data, text, and pdu SMS messages.
234 * raw pdu of the status report is in the extended data ("pdu").
264 * @param pdu is the byte array of pdu to be injected into android application framework
265 * @param format is the format of SMS pdu (3gpp or 3gpp2)
274 public void injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) { argument
278 "Invalid pdu format. format must be either 3gpp or 3gpp2");
283 iccISms.injectSmsPdu(pdu, format, receivedIntent);
367 * to the recipient. The raw pdu o
537 copyMessageToIcc(byte[] smsc, byte[] pdu,int status) argument
599 updateMessageOnIcc(int messageIndex, int newStatus, byte[] pdu) argument
1036 updateMmsSendStatus(Context context, int messageRef, byte[] pdu, int status, Uri contentUri) argument
[all...]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DWapPushTest.java1293 // sample pdu
1519 byte[] pdu = createPDU(1);
1520 int headerLen = pdu.length -
1560 byte[] pdu = createPDU(1);
1561 int headerLen = pdu.length - (mGsmHeader.length +
1602 byte[] pdu = createPDU(1);
1603 int headerLen = pdu.length -
1672 byte[] pdu = createPDU(1);
1673 int headerLen = pdu.length -
1732 pdu
2070 dispatchWapPdu(byte[] pdu, IWapPushManager wapPushMan) argument
[all...]
H A DClientTest.java118 EditText pdu = (EditText) findViewById(R.id.pdu);
123 // wap.dispatchWapPdu(strToHex(pdu.getText().toString()));
129 HexDump.hexStringToByteArray(pdu.getText().toString()));
131 HexDump.hexStringToByteArray(pdu.getText().toString()));
137 //HexDump.hexStringToByteArray(pdu.getText().toString()), 0, 6, 5, 5);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsTracker.java68 * @param pdu the message PDU
74 InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, argument
76 mPdu = pdu;
95 * @param pdu the message PDU
105 public InboundSmsTracker(byte[] pdu, long timestamp, int destPort, boolean is3gpp2, argument
108 mPdu = pdu;
179 values.put("pdu", HexDump.toHexString(mPdu));
H A DIccSmsInterfaceManager.java189 * @param pdu the raw PDU to store
195 updateMessageOnIccEf(String callingPackage, int index, int status, byte[] pdu) { argument
198 "("+ Arrays.toString(pdu) + ")");
225 byte[] record = makeSmsRecordData(status, pdu);
242 * @param pdu the raw PDU to store
248 public boolean copyMessageToIccEf(String callingPackage, int status, byte[] pdu, byte[] smsc) { argument
251 "pdu=("+ Arrays.toString(pdu) +
265 IccUtils.bytesToHexString(pdu), response);
267 mPhone.mCi.writeSmsToRuim(status, IccUtils.bytesToHexString(pdu),
417 injectSmsPdu(byte[] pdu, String format, PendingIntent receivedIntent) argument
561 makeSmsRecordData(int status, byte[] pdu) argument
[all...]
H A DCommandsInterface.java1049 * pdu is SMS in PDU format as an ASCII hex string
1052 void sendSMS (String smscPDU, String pdu, Message response); argument
1059 * pdu is SMS in PDU format as an ASCII hex string
1062 void sendSMSExpectMore (String smscPDU, String pdu, Message response); argument
1065 * @param pdu is CDMA-SMS in internal pseudo-PDU format
1068 void sendCdmaSms(byte[] pdu, Message response); argument
1074 * @param pdu is SMS in PDU format as an ASCII hex string
1081 void sendImsGsmSms (String smscPDU, String pdu, int retry, int messageRef, argument
1086 * @param pdu is CDMA-SMS in internal pseudo-PDU format
1093 void sendImsCdmaSms(byte[] pdu, in argument
1124 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
1126 writeSmsToRuim(int status, String pdu, Message response) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DMultimediaMessagePdu.java18 package com.google.android.mms.pdu;
H A DReadOrigInd.java18 package com.google.android.mms.pdu;
H A DReadRecInd.java18 package com.google.android.mms.pdu;
24 * Constructor, used when composing a M-ReadRec.ind pdu.
H A DBase64.java18 package com.google.android.mms.pdu;
H A DNotificationInd.java18 package com.google.android.mms.pdu;
H A DRetrieveConf.java18 package com.google.android.mms.pdu;
H A DPduPersister.java18 package com.google.android.mms.pdu;
65 import com.google.android.mms.pdu.EncodedStringValue;
529 GenericPdu pdu = null;
623 pdu = new NotificationInd(headers);
626 pdu = new DeliveryInd(headers);
629 pdu = new ReadOrigInd(headers);
632 pdu = new RetrieveConf(headers, body);
635 pdu = new SendReq(headers, body);
638 pdu = new AcknowledgeInd(headers);
641 pdu
1240 persist(GenericPdu pdu, Uri uri, boolean createThreadId, boolean groupMmsEnabled, HashMap<Uri, InputStream> preOpenedFiles) argument
[all...]
H A DCharacterSets.java18 package com.google.android.mms.pdu;
H A DPduBody.java18 package com.google.android.mms.pdu;
152 * Get pdu part by content id.
155 * @return the pdu part.
162 * Get pdu part by Content-Location. Content-Location of part is
166 * @return the pdu part.
173 * Get pdu part by name.
176 * @return the pdu part.
183 * Get pdu part by filename.
186 * @return the pdu part.
H A DSendReq.java18 package com.google.android.mms.pdu;
51 * Constructor, used when composing a M-Send.req pdu.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java215 public void sendSMS (String smscPDU, String pdu, Message result) { argument
219 public void sendSMSExpectMore (String smscPDU, String pdu, Message result) { argument
223 public void sendCdmaSms(byte[] pdu, Message result) { argument
227 public void sendImsGsmSms (String smscPDU, String pdu, argument
232 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
249 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument
253 public void writeSmsToRuim(int status, String pdu, Message response) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java217 public void sendSMS (String smscPDU, String pdu, Message result) { argument
221 public void sendSMSExpectMore (String smscPDU, String pdu, Message result) { argument
225 public void sendCdmaSms(byte[] pdu, Message result) { argument
229 public void sendImsGsmSms (String smscPDU, String pdu, argument
234 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
251 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument
255 public void writeSmsToRuim(int status, String pdu, Message response) { argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIMms.aidl72 * @param pdu non-empty (contains the SendConf PDU) if the message was sent successfully,
79 void updateMmsSendStatus(int messageRef, in byte[] pdu, in int status);
H A DGsmAlphabet.java449 * @param pdu the raw data from the pdu
454 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
456 return gsm7BitPackedToString(pdu, offset, lengthSeptets, 0, 0, 0);
465 * @param pdu the raw data from the pdu
475 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift));
516 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java350 public void sendSMS(String smscPDU, String pdu, Message response) { argument
354 public void sendSMSExpectMore(String smscPDU, String pdu, Message response) { argument
358 public void sendCdmaSms(byte[] pdu, Message response) { argument
362 public void sendImsGsmSms (String smscPDU, String pdu, argument
367 public void sendImsCdmaSms(byte[] pdu, int retry, int messageRef, argument
380 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument
384 public void writeSmsToRuim(int status, String pdu, Message response) { argument

Completed in 320 milliseconds

123