Home
last modified time | relevance | path

Searched refs:EncodedStringValue (Results 1 – 13 of 13) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DEncodedStringValue.java30 public class EncodedStringValue implements Cloneable { class
52 public EncodedStringValue(int charset, byte[] data) { in EncodedStringValue() method in EncodedStringValue
69 public EncodedStringValue(byte[] data) { in EncodedStringValue() method in EncodedStringValue
73 public EncodedStringValue(String data) { in EncodedStringValue() method in EncodedStringValue
197 return new EncodedStringValue(mCharacterSet, dstBytes); in clone()
212 public EncodedStringValue[] split(String pattern) { in split()
214 EncodedStringValue[] ret = new EncodedStringValue[temp.length]; in split()
217 ret[i] = new EncodedStringValue(mCharacterSet, in split()
230 public static EncodedStringValue[] extract(String src) { in extract()
233 ArrayList<EncodedStringValue> list = new ArrayList<EncodedStringValue>(); in extract()
[all …]
DSendReq.java36 setFrom(new EncodedStringValue(PduHeaders.FROM_INSERT_ADDRESS_TOKEN_STR.getBytes())); in SendReq()
61 EncodedStringValue from, in SendReq()
96 public EncodedStringValue[] getBcc() { in getBcc()
106 public void addBcc(EncodedStringValue value) { in addBcc()
116 public void setBcc(EncodedStringValue[] value) { in setBcc()
125 public EncodedStringValue[] getCc() { in getCc()
135 public void addCc(EncodedStringValue value) { in addCc()
145 public void setCc(EncodedStringValue[] value) { in setCc()
274 public void setTo(EncodedStringValue[] value) { in setTo()
DRetrieveConf.java63 public EncodedStringValue[] getCc() { in getCc()
73 public void addCc(EncodedStringValue value) { in addCc()
122 public EncodedStringValue getFrom() { in getFrom()
132 public void setFrom(EncodedStringValue value) { in setFrom()
219 public EncodedStringValue getRetrieveText() { in getRetrieveText()
229 public void setRetrieveText(EncodedStringValue value) { in setRetrieveText()
DPduHeaders.java551 protected EncodedStringValue getEncodedStringValue(int field) { in getEncodedStringValue()
552 return (EncodedStringValue) mHeaderMap.get(field); in getEncodedStringValue()
562 protected EncodedStringValue[] getEncodedStringValues(int field) { in getEncodedStringValues()
563 ArrayList<EncodedStringValue> list = in getEncodedStringValues()
564 (ArrayList<EncodedStringValue>) mHeaderMap.get(field); in getEncodedStringValues()
568 EncodedStringValue[] values = new EncodedStringValue[list.size()]; in getEncodedStringValues()
581 protected void setEncodedStringValue(EncodedStringValue value, int field) { in setEncodedStringValue()
618 protected void setEncodedStringValues(EncodedStringValue[] value, int field) { in setEncodedStringValues()
637 ArrayList<EncodedStringValue> list = new ArrayList<EncodedStringValue>(); in setEncodedStringValues()
651 protected void appendEncodedStringValue(EncodedStringValue value, in appendEncodedStringValue()
[all …]
DReadOrigInd.java70 public EncodedStringValue getFrom() { in getFrom()
80 public void setFrom(EncodedStringValue value) { in setFrom()
127 public EncodedStringValue[] getTo() { in getTo()
137 public void setTo(EncodedStringValue[] value) { in setTo()
DMultimediaMessagePdu.java81 public EncodedStringValue getSubject() { in getSubject()
91 public void setSubject(EncodedStringValue value) { in setSubject()
100 public EncodedStringValue[] getTo() { in getTo()
110 public void addTo(EncodedStringValue value) { in addTo()
DReadRecInd.java34 public ReadRecInd(EncodedStringValue from, in ReadRecInd()
38 EncodedStringValue[] to) throws InvalidHeaderValueException { in ReadRecInd()
99 public EncodedStringValue[] getTo() { in getTo()
109 public void setTo(EncodedStringValue[] value) { in setTo()
DNotificationInd.java120 public EncodedStringValue getFrom() { in getFrom()
131 public void setFrom(EncodedStringValue value) { in setFrom()
182 public EncodedStringValue getSubject() { in getSubject()
193 public void setSubject(EncodedStringValue value) { in setSubject()
DGenericPdu.java100 public EncodedStringValue getFrom() { in getFrom()
110 public void setFrom(EncodedStringValue value) { in setFrom()
DDeliveryInd.java109 public EncodedStringValue[] getTo() { in getTo()
119 public void setTo(EncodedStringValue[] value) { in setTo()
DPduComposer.java320 protected void appendEncodedString(EncodedStringValue enStr) { in appendEncodedString()
455 private EncodedStringValue appendAddressType(EncodedStringValue address) { in appendAddressType()
456 EncodedStringValue temp = null; in appendAddressType()
460 temp = EncodedStringValue.copy(address); in appendAddressType()
509 EncodedStringValue[] addr = mPduHeader.getEncodedStringValues(field); in appendHeader()
515 EncodedStringValue temp; in appendHeader()
531 EncodedStringValue from = mPduHeader.getEncodedStringValue(field); in appendHeader()
587 EncodedStringValue enString = in appendHeader()
DPduParser.java429 EncodedStringValue value = in parseHeaders()
453 EncodedStringValue value = in parseHeaders()
531 EncodedStringValue from = null; in parseHeaders()
559 from = new EncodedStringValue( in parseHeaders()
670 EncodedStringValue previouslySentBy = in parseHeaders()
1024 protected static EncodedStringValue parseEncodedStringValue(ByteArrayInputStream pduDataStream){ in parseEncodedStringValue()
1031 EncodedStringValue returnValue = null; in parseEncodedStringValue()
1037 return new EncodedStringValue(""); in parseEncodedStringValue()
1051 returnValue = new EncodedStringValue(charset, textString); in parseEncodedStringValue()
1053 returnValue = new EncodedStringValue(textString); in parseEncodedStringValue()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java22 import com.example.android.mmslib.pdu.EncodedStringValue;
339 req.setFrom(new EncodedStringValue(lineNumber)); in buildPdu()
342 EncodedStringValue[] encodedNumbers = in buildPdu()
343 EncodedStringValue.encodeStrings(recipients.split(" ")); in buildPdu()
349 req.setSubject(new EncodedStringValue(subject)); in buildPdu()
414 for (EncodedStringValue to : retrieveConf.getTo()) { in getRecipients()
422 for (EncodedStringValue cc : retrieveConf.getCc()) { in getRecipients()
433 final EncodedStringValue subject = retrieveConf.getSubject(); in getSubject()