Lines Matching refs:field

98      * X-Mms-Message-Type field types.
137 * field types.
145 * field type components.
151 * X-Mms-MMS-Version field types.
162 * From field type components.
183 * MM-Flags field type components.
190 * X-Mms-Message-Class field types.
203 * X-Mms-Priority field types.
210 * X-Mms-Response-Status field types.
245 * X-Mms-Retrieve-Status field types.
258 * X-Mms-Sender-Visibility field types.
264 * X-Mms-Read-Status field types.
270 * X-Mms-Cancel-Status field types.
276 * X-Mms-Reply-Charging field types.
284 * X-Mms-MM-State field types.
293 * X-Mms-Recommended-Retrieval-Mode field types.
298 * X-Mms-Content-Class field types.
310 * X-Mms-Store-Status field types.
335 * Get octet value by header field.
337 * @param field the field
339 * with specified header field. Return 0 if
342 protected int getOctet(int field) {
343 Integer octet = (Integer) mHeaderMap.get(field);
352 * Set octet value to pdu header by header field.
355 * @param field the field
358 protected void setOctet(int value, int field)
361 * Check whether this field can be set for specific
362 * header and check validity of the field.
364 switch (field) {
490 throw new RuntimeException("Invalid header field!");
492 mHeaderMap.put(field, value);
496 * Get TextString value by header field.
498 * @param field the field
500 * with specified header field
502 protected byte[] getTextString(int field) {
503 return (byte[]) mHeaderMap.get(field);
507 * Set TextString value to pdu header by header field.
510 * @param field the field
512 * with specified header field
515 protected void setTextString(byte[] value, int field) {
517 * Check whether this field can be set for specific
518 * header and check validity of the field.
524 switch (field) {
539 throw new RuntimeException("Invalid header field!");
541 mHeaderMap.put(field, value);
545 * Get EncodedStringValue value by header field.
547 * @param field the field
549 * with specified header field
551 protected EncodedStringValue getEncodedStringValue(int field) {
552 return (EncodedStringValue) mHeaderMap.get(field);
558 * @param field the field
560 * with specified header field
562 protected EncodedStringValue[] getEncodedStringValues(int field) {
564 (ArrayList<EncodedStringValue>) mHeaderMap.get(field);
573 * Set EncodedStringValue value to pdu header by header field.
576 * @param field the field
578 * with specified header field
581 protected void setEncodedStringValue(EncodedStringValue value, int field) {
583 * Check whether this field can be set for specific
584 * header and check validity of the field.
590 switch (field) {
603 throw new RuntimeException("Invalid header field!");
606 mHeaderMap.put(field, value);
613 * @param field the field
615 * with specified header field
618 protected void setEncodedStringValues(EncodedStringValue[] value, int field) {
620 * Check whether this field can be set for specific
621 * header and check validity of the field.
627 switch (field) {
634 throw new RuntimeException("Invalid header field!");
641 mHeaderMap.put(field, list);
648 * @param field the field
652 int field) {
657 switch (field) {
663 throw new RuntimeException("Invalid header field!");
667 (ArrayList<EncodedStringValue>) mHeaderMap.get(field);
672 mHeaderMap.put(field, list);
676 * Get LongInteger value by header field.
678 * @param field the field
680 * with specified header field. if return -1, the
681 * field is not existed in pdu header.
683 protected long getLongInteger(int field) {
684 Long longInteger = (Long) mHeaderMap.get(field);
693 * Set LongInteger value to pdu header by header field.
696 * @param field the field
698 protected void setLongInteger(long value, int field) {
700 * Check whether this field can be set for specific
701 * header and check validity of the field.
703 switch (field) {
717 throw new RuntimeException("Invalid header field!");
719 mHeaderMap.put(field, value);