/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduHeaders.java | 358 protected void setOctet(int value, int field) in setOctet() argument 376 if ((VALUE_YES != value) && (VALUE_NO != value)) { in setOctet() 382 if ((READ_STATUS_READ != value) && in setOctet() 383 (READ_STATUS__DELETED_WITHOUT_BEING_READ != value)) { in setOctet() 389 if ((CANCEL_STATUS_REQUEST_SUCCESSFULLY_RECEIVED != value) && in setOctet() 390 (CANCEL_STATUS_REQUEST_CORRUPTED != value)) { in setOctet() 396 if ((value < PRIORITY_LOW) || (value > PRIORITY_HIGH)) { in setOctet() 402 if ((value < STATUS_EXPIRED) || (value > STATUS_UNREACHABLE)) { in setOctet() 408 if ((value < REPLY_CHARGING_REQUESTED) in setOctet() 409 || (value > REPLY_CHARGING_ACCEPTED_TEXT_ONLY)) { in setOctet() [all …]
|
D | NotificationInd.java | 65 public void setContentClass(int value) throws InvalidHeaderValueException { in setContentClass() argument 66 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS); in setContentClass() 87 public void setContentLocation(byte[] value) { in setContentLocation() argument 88 mPduHeaders.setTextString(value, PduHeaders.CONTENT_LOCATION); in setContentLocation() 109 public void setExpiry(long value) { in setExpiry() argument 110 mPduHeaders.setLongInteger(value, PduHeaders.EXPIRY); in setExpiry() 131 public void setFrom(EncodedStringValue value) { in setFrom() argument 132 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom() 153 public void setMessageClass(byte[] value) { in setMessageClass() argument 154 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_CLASS); in setMessageClass() [all …]
|
D | RetrieveConf.java | 73 public void addCc(EncodedStringValue value) { in addCc() argument 74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); in addCc() 92 public void setContentType(byte[] value) { in setContentType() argument 93 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType() 111 public void setDeliveryReport(int value) throws InvalidHeaderValueException { in setDeliveryReport() argument 112 mPduHeaders.setOctet(value, PduHeaders.DELIVERY_REPORT); in setDeliveryReport() 132 public void setFrom(EncodedStringValue value) { in setFrom() argument 133 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom() 153 public void setMessageClass(byte[] value) { in setMessageClass() argument 154 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_CLASS); in setMessageClass() [all …]
|
D | SendReq.java | 106 public void addBcc(EncodedStringValue value) { in addBcc() argument 107 mPduHeaders.appendEncodedStringValue(value, PduHeaders.BCC); in addBcc() 116 public void setBcc(EncodedStringValue[] value) { in setBcc() argument 117 mPduHeaders.setEncodedStringValues(value, PduHeaders.BCC); in setBcc() 135 public void addCc(EncodedStringValue value) { in addCc() argument 136 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); in addCc() 145 public void setCc(EncodedStringValue[] value) { in setCc() argument 146 mPduHeaders.setEncodedStringValues(value, PduHeaders.CC); in setCc() 164 public void setContentType(byte[] value) { in setContentType() argument 165 mPduHeaders.setTextString(value, PduHeaders.CONTENT_TYPE); in setContentType() [all …]
|
D | ReadOrigInd.java | 59 public void setDate(long value) { in setDate() argument 60 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 80 public void setFrom(EncodedStringValue value) { in setFrom() argument 81 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom() 99 public void setMessageId(byte[] value) { in setMessageId() argument 100 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 118 public void setReadStatus(int value) throws InvalidHeaderValueException { in setReadStatus() argument 119 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS); in setReadStatus() 137 public void setTo(EncodedStringValue[] value) { in setTo() argument 138 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); in setTo()
|
D | DeliveryInd.java | 62 public void setDate(long value) { in setDate() argument 63 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 81 public void setMessageId(byte[] value) { in setMessageId() argument 82 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 100 public void setStatus(int value) throws InvalidHeaderValueException { in setStatus() argument 101 mPduHeaders.setOctet(value, PduHeaders.STATUS); in setStatus() 119 public void setTo(EncodedStringValue[] value) { in setTo() argument 120 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); in setTo()
|
D | ReadRecInd.java | 71 public void setDate(long value) { in setDate() argument 72 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate() 90 public void setMessageId(byte[] value) { in setMessageId() argument 91 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 109 public void setTo(EncodedStringValue[] value) { in setTo() argument 110 mPduHeaders.setEncodedStringValues(value, PduHeaders.TO); in setTo() 128 public void setReadStatus(int value) throws InvalidHeaderValueException { in setReadStatus() argument 129 mPduHeaders.setOctet(value, PduHeaders.READ_STATUS); in setReadStatus()
|
D | MultimediaMessagePdu.java | 91 public void setSubject(EncodedStringValue value) { in setSubject() argument 92 mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT); in setSubject() 110 public void addTo(EncodedStringValue value) { in addTo() argument 111 mPduHeaders.appendEncodedStringValue(value, PduHeaders.TO); in addTo() 129 public void setPriority(int value) throws InvalidHeaderValueException { in setPriority() argument 130 mPduHeaders.setOctet(value, PduHeaders.PRIORITY); in setPriority() 147 public void setDate(long value) { in setDate() argument 148 mPduHeaders.setLongInteger(value, PduHeaders.DATE); in setDate()
|
D | SendConf.java | 60 public void setMessageId(byte[] value) { in setMessageId() argument 61 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); in setMessageId() 79 public void setResponseStatus(int value) throws InvalidHeaderValueException { in setResponseStatus() argument 80 mPduHeaders.setOctet(value, PduHeaders.RESPONSE_STATUS); in setResponseStatus() 98 public void setTransactionId(byte[] value) { in setTransactionId() argument 99 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | GenericPdu.java | 69 public void setMessageType(int value) throws InvalidHeaderValueException { in setMessageType() argument 70 mPduHeaders.setOctet(value, PduHeaders.MESSAGE_TYPE); in setMessageType() 89 public void setMmsVersion(int value) throws InvalidHeaderValueException { in setMmsVersion() argument 90 mPduHeaders.setOctet(value, PduHeaders.MMS_VERSION); in setMmsVersion() 110 public void setFrom(EncodedStringValue value) { in setFrom() argument 111 mPduHeaders.setEncodedStringValue(value, PduHeaders.FROM); in setFrom()
|
D | NotifyRespInd.java | 71 public void setReportAllowed(int value) throws InvalidHeaderValueException { in setReportAllowed() argument 72 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); in setReportAllowed() 82 public void setStatus(int value) throws InvalidHeaderValueException { in setStatus() argument 83 mPduHeaders.setOctet(value, PduHeaders.STATUS); in setStatus() 111 public void setTransactionId(byte[] value) { in setTransactionId() argument 112 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
D | AcknowledgeInd.java | 67 public void setReportAllowed(int value) throws InvalidHeaderValueException { in setReportAllowed() argument 68 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); in setReportAllowed() 86 public void setTransactionId(byte[] value) { in setTransactionId() argument 87 mPduHeaders.setTextString(value, PduHeaders.TRANSACTION_ID); in setTransactionId()
|
/development/tools/idegen/src/com/android/idegen/ |
D | MakeFileParser.java | 135 for (String value : valuesArr) { 136 appendValue(key, value); 160 String value = rawValue.trim(); in rawValue.trim() 162 if (value.isEmpty()) { in value.isEmpty() 168 value = findVariables(value); in calls() 170 String[] tokens = value.split(" "); 175 private String findVariables(String value) { 177 int variableStart = value.indexOf("$("); 181 sb.append(value.substring(0, variableStart)); 184 int variableEnd = findClosingParen(value, variableStart); [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | ShapeHolder.java | 37 public void setPaint(Paint value) { in setPaint() argument 38 paint = value; in setPaint() 44 public void setX(float value) { in setX() argument 45 x = value; in setX() 50 public void setY(float value) { in setY() argument 51 y = value; in setY() 56 public void setShape(ShapeDrawable value) { in setShape() argument 57 shape = value; in setShape() 65 public void setColor(int value) { in setColor() argument 66 shape.getPaint().setColor(value); in setColor() [all …]
|
/development/vndk/tools/header-checker/src/repr/json/ |
D | converter.cpp | 41 void JsonObject::Set(const std::string &key, bool value) { in Set() argument 42 SetOmissible(key, value, false); in Set() 46 void JsonObject::Set(const std::string &key, uint64_t value) { in Set() argument 47 SetOmissible<Json::UInt64>(key, value, 0); in Set() 51 void JsonObject::Set(const std::string &key, int64_t value) { in Set() argument 52 SetOmissible<Json::Int64>(key, value, 0); in Set() 56 void JsonObject::Set(const std::string &key, const std::string &value) { in Set() argument 57 SetOmissible<const std::string &>(key, value, ""); in Set() 61 void JsonObject::Set(const std::string &key, const JsonArray &value) { in Set() argument 62 SetOmissible(key, value, json_empty_array); in Set()
|
D | converter.h | 46 void Set(const std::string &key, bool value); 49 void Set(const std::string &key, uint64_t value); 52 void Set(const std::string &key, int64_t value); 55 void Set(const std::string &key, const std::string &value); 58 void Set(const std::string &key, const JsonArray &value); 62 inline void SetOmissible(const std::string &key, T value, T omissible_value) { in SetOmissible() argument 63 if (value != omissible_value) { in SetOmissible() 64 (*this)[key] = value; in SetOmissible()
|
/development/vndk/tools/elfcheck/elfcheck/ |
D | rewriter.py | 39 def __init__(self, value, locs): argument 40 self.value = value 45 return repr(self.value) 48 def append(self, value, locs): argument 50 self.value += value 114 for key, value in variables.items(): 115 self._add_var(key, value) 126 return os.path.join(self._mk_dirname, file_var.value) 130 return os.path.join(self._android_build_top, file_var.value) 150 check_elf_files_var.value == 'false': [all …]
|
/development/tools/winscope/src/flickerlib/ |
D | ObjectFormatter.ts | 53 const value: any = entry[1] 55 if (value) { 57 if (value.prettyPrint) { 58 result[key] = value.prettyPrint() 61 const translatedObject = this.translateObject(value) 65 } else if (value && typeof(value) == `object`) { 66 result[key] = this.format(value) 69 result[key] = this.translateIntDef(obj, key, value) 146 private static translateIntDef(parentObj: any, propertyName: string, value: any): string { 150 let translatedValue = value [all …]
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/ |
D | Utils.java | 46 public static int parseInt(String value, int defValue) { in parseInt() argument 47 return parseIntWithBase(value, 10, defValue); in parseInt() 51 public static int parseIntWithBase(String value, int base, int defValue) { in parseIntWithBase() argument 52 if (value == null) { in parseIntWithBase() 56 return Integer.parseInt(value, base); in parseIntWithBase()
|
/development/vndk/tools/header-checker/src/utils/ |
D | string_utils.cpp | 94 std::string value(s); in ParseBool() local 95 std::transform(value.begin(), value.end(), value.begin(), std::tolower); in ParseBool() 96 return (value == "true" || value == "on" || value == "1"); in ParseBool()
|
/development/vndk/tools/sourcedr/blueprint/ |
D | blueprint.py | 49 def __init__(self, name, value): argument 52 self.value = value 68 for key, value in attrs.iteritems(): 70 new_attrs[key] = value 72 item = _Enum(key, value) 404 def __init__(self, value): argument 406 self.value = value 411 return repr(self.value) 416 return self.value 423 return self.value == rhs.value [all …]
|
/development/vndk/tools/elfcheck/ |
D | fix_android_mk_prebuilt.py | 43 key, value = var.split('=', 1) 45 value = value.strip() 46 variables[key] = value
|
/development/gsi/gsi_util/gsi_util/commands/ |
D | dump.py | 57 def _output_dump_info(self, info_name, value): argument 58 print >> self._os, '{:30}: {}'.format(info_name, value) 67 value = dump_result_dict.get(info_name) 68 if not value: 71 value = self._UNKNOWN_VALUE 73 self._output_dump_info(info_name, value)
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/ |
D | DbQueryUtils.java | 31 public static String getEqualityClause(String table, String field, String value) { in getEqualityClause() argument 32 return getEqualityClause(table + "." + field, value); in getEqualityClause() 36 public static String getEqualityClause(String field, String value) { in getEqualityClause() argument 40 DatabaseUtils.appendEscapedSQLString(clause, value); in getEqualityClause()
|
/development/vndk/tools/elfcheck/bpflatten/ |
D | main.go | 34 func expandScalarTypeExpression(value parser.Expression) (scalar interface{}, isScalar bool) { 35 if s, ok := value.(*parser.Bool); ok { 37 } else if s, ok := value.(*parser.String); ok { 39 } else if s, ok := value.(*parser.Int64); ok { 51 value := prop.Value.Eval() 52 if s, isScalar := expandScalarTypeExpression(value); isScalar { 54 } else if list, ok := value.(*parser.List); ok { 62 } else if mm, ok := value.(*parser.Map); ok { 73 if value, ok := prop.Value.Eval().(*parser.String); ok { 74 flattened.Name = value.Value
|