/build/soong/cmd/extract_apks/ |
D | main_test.go | 46 value { min { value: 29 } } } } 53 value { density_alias: LDPI } } 55 value { min { value: 21 } } } } 61 value { density_alias: MDPI } } 63 value { min { value: 21 } } } } 69 value { min { value: 21 } } } } 75 value { alias: ARMEABI_V7A } 80 value { min { value: 21 } } } } 86 value { alias: ARM64_V8A } 91 value { min { value: 21 } } } } [all …]
|
/build/soong/android/ |
D | onceper.go | 28 func (once *OncePer) maybeWaitFor(key OnceKey, value interface{}) interface{} { 29 if wait, isWaiter := value.(onceValueWaiter); isWaiter { 33 value, _ = once.values.Load(key) 34 if _, isWaiter := value.(onceValueWaiter); isWaiter { 39 return value 45 func (once *OncePer) Once(key OnceKey, value func() interface{}) interface{} { 66 v = value() 83 func (once *OncePer) OnceStringSlice(key OnceKey, value func() []string) []string { 84 return once.Once(key, func() interface{} { return value() }).([]string) 88 func (once *OncePer) Once2StringSlice(key OnceKey, value func() ([]string, []string)) ([]string, []… [all …]
|
D | neverallow.go | 290 func (m *equalMatcher) Test(value string) bool { 291 return m.expected == value 301 func (m *anyMatcher) Test(value string) bool { 315 func (m *startsWithMatcher) Test(value string) bool { 316 return strings.HasPrefix(value, m.prefix) 327 func (m *regexMatcher) Test(value string) bool { 328 return m.re.MatchString(value) 337 func (m *isSetMatcher) Test(value string) bool { 338 return value != "" 366 With(properties, value string) Rule [all …]
|
D | makevars.go | 78 StrictRaw(name, value string) 79 CheckRaw(name, value string) 166 value string member 277 fmt.Fprintf(buf, "SOONG_%s := %s\n", v.name, v.value) 300 fmt.Fprintf(buf, "SOONG_%s := %s\n", v.name, v.value) 352 func (c *makeVarsContext) addVariableRaw(name, value string, strict, sort bool) { 355 value: value, 362 value, err := c.Eval(ninjaStr) 366 c.addVariableRaw(name, value, strict, sort) 386 func (c *makeVarsContext) StrictRaw(name, value string) { [all …]
|
D | expand.go | 54 value, ninjaVariable, w, err := getMapping(s[j+1:], mapping) 59 value = proptools.NinjaEscape(value) 61 buf = append(buf, value...)
|
/build/soong/ui/build/ |
D | environment.go | 61 func (e *Environment) Set(key, value string) { 63 *e = append(*e, key+"="+value) 117 if value, ok := e.Get(key); ok { 118 return value == "1" || value == "y" || value == "yes" || value == "on" || value == "true" 125 if value, ok := e.Get(key); ok { 126 return value == "0" || value == "n" || value == "no" || value == "off" || value == "false" 164 key, value, ok := decodeKeyValue(cmd[1]) 173 value, ok = singleUnquote(value) 178 e.Set(key, value)
|
/build/make/tools/ |
D | post_process_props.py | 60 if len(p.value) > PROP_VALUE_MAX and not p.name.startswith("ro."): 64 sys.stderr.write("%s (%d)\n" % (p.value, len(p.value))) 90 if all(overriding_props[0].value == p.value for p in overriding_props): 121 def __init__(self, name, value, optional=False, comment=None): argument 123 self.value = value.strip() 136 name, value = line.split("?=", 1) 137 return Prop(name, value, optional=True) 139 name, value = line.split("=", 1) 140 return Prop(name, value, optional=False) 158 self.value = "" [all …]
|
D | test_post_process_props.py | 29 self.assertEqual("", p.value) 37 self.assertEqual("b", p.value) 45 self.assertEqual("b", p.value) 86 self.assertEqual(expected[i][1], p.value) 105 self.assertEqual("30", last_prop.value) 114 self.assertEqual("NewValue", foo_prop.value) 125 self.assertEqual("2", last_prop.value) 148 self.assertTrue("true", props_to_be_overridden.value) 156 self.assertEqual("true", self.props.get_props("foo")[0].value) 176 self.assertEqual("2", props_to_be_overridden.value) [all …]
|
D | generate-notice-files.py | 85 for value in file_hash: 86 for filename in value: 113 for value in file_hash: 114 print >> output_file, '<tr id="id%d"><td class="same-license">' % id_table.get(value[0]) 117 for filename in value: 122 print >> output_file, html_escape(open(value[0]).read()) 140 for value in file_hash: 143 for filename in value: 146 print >> output_file, open(value[0]).read()
|
/build/soong/sdk/ |
D | bp.go | 36 func (s *bpPropertySet) AddProperty(name string, value interface{}) { 41 s.properties[name] = value 45 func (s *bpPropertySet) AddPropertyWithTag(name string, value interface{}, tag android.BpPropertyTa… 46 s.AddProperty(name, value) 67 value := s.properties[name] 71 if propertySet, ok := value.(*bpPropertySet); ok { 80 newValue, newTag = transformer.transformProperty(name, value, tag) 106 func (s *bpPropertySet) setProperty(name string, value interface{}) { 108 s.AddProperty(name, value) 110 s.properties[name] = value [all …]
|
/build/blueprint/proptools/ |
D | tag.go | 24 func HasTag(field reflect.StructField, name, value string) bool { 27 if entry == value { 37 func PropertyIndexesWithTag(ps interface{}, key, value string) [][]int { 44 return propertyIndexesWithTag(t, key, value) 46 func propertyIndexesWithTag(t reflect.Type, key, value string) [][]int { 56 subIndexes := propertyIndexesWithTag(ft, key, value) 61 } else if HasTag(field, key, value) {
|
D | unpack.go | 315 value := reflect.MakeSlice(sliceType, 0, len(exprs)) 317 return value, true 325 value, err := propertyToValue(t, property) 328 return value, false 330 return value, true 364 value = reflect.Append(value, ptrValue) 368 value = reflect.Append(value, itemValue) 372 return value, true 377 var value reflect.Value 390 return value, fmt.Errorf("%s: can't assign %s value to bool property %q", [all …]
|
/build/blueprint/ |
D | ninja_defs.go | 157 value, err := parseNinjaString(scope, params.Command) 161 r.Variables["command"] = value 164 value, err = parseNinjaString(scope, params.Depfile) 168 r.Variables["depfile"] = value 176 value, err = parseNinjaString(scope, params.Description) 180 r.Variables["description"] = value 192 value, err = parseNinjaString(scope, params.Rspfile) 196 r.Variables["rspfile"] = value 200 value, err = parseNinjaString(scope, params.RspfileContent) 205 r.Variables["rspfile_content"] = value [all …]
|
D | live_tracker.go | 76 for _, value := range def.Variables { 77 err = l.addNinjaStringDeps(value) 83 for _, value := range def.Args { 84 err = l.addNinjaStringDeps(value) 122 for _, value := range def.Variables { 123 err = l.addNinjaStringDeps(value) 156 value, err := v.value(l.config) 167 l.variables[v] = value 169 err = l.addNinjaStringDeps(value)
|
/build/blueprint/parser/ |
D | parser.go | 214 value := p.parseExpression() 218 assignment.Value = value 219 assignment.OrigValue = value 320 value := p.parseExpression() 324 property.Value = value 330 func (p *parser) parseExpression() (value Expression) { 331 value = p.parseValue() 334 return p.parseOperator(value) 337 return value 339 return value [all …]
|
/build/soong/scripts/ |
D | manifest_fixer.py | 107 min_attr.value = min_sdk_version 110 if compare_version_gt(min_sdk_version, min_attr.value): 111 min_attr.value = min_sdk_version 124 target_attr.value = '15' 126 target_attr.value = target_sdk_version 250 attr.value = 'true' 270 attr.value = 'true' 272 elif attr.value != 'true': 289 value = str(extract_native_libs).lower() 293 attr.value = value [all …]
|
D | manifest.py | 36 attr_name, value): argument 39 if attr is not None and attr.value == value: 61 attr.value = android_ns 63 elif ns.value != android_ns: 65 ns.value)
|
D | generate-notice-files.py | 85 for value in file_hash: 86 for filename in value: 113 for value in file_hash: 114 print >> output_file, '<tr id="id%d"><td class="same-license">' % id_table.get(value[0]) 117 for filename in value: 122 print >> output_file, html_escape(open(value[0]).read()) 140 for value in file_hash: 143 for filename in value: 146 print >> output_file, open(value[0]).read()
|
/build/soong/androidmk/parser/ |
D | parser.go | 234 value := SimpleMakeString("", p.pos()) 240 value.appendString(p.scanner.TokenText()) 250 value.appendString(" ") 256 value.appendString(`\` + string(p.tok)) 268 value.appendString(p.scanner.TokenText()) 273 return value, p.pos() 283 value := SimpleMakeString("", p.pos()) 297 value.appendString(")") 312 value.appendString(p.scanner.TokenText()) 318 value.appendString(" ") [all …]
|
/build/make/tools/releasetools/ |
D | check_partition_sizes.py | 44 def __init__(self, desc, expr, value=None): argument 50 self.value = int(expr) if value is None else value 53 format_args = (self.desc, other.desc, self.expr, self.value, 54 other.expr, other.value) 55 if self.value <= other.value: 66 format_args = (self.desc, other.desc, self.expr, self.value, 67 other.expr, other.value) 68 if self.value == other.value:
|
/build/make/tools/warn/ |
D | severity.py | 25 def __init__(self, value, color, column_header, header): argument 26 self.value = value 59 levels = sorted(levels, key=lambda severity: severity.value)
|
D | html_writer.py | 146 warnings = {p: {s.value: 0 for s in Severity.levels} for p in project_names} 148 s = i['severity'].value 158 p: sum(warnings[p][s.value] for s in Severity.levels) 167 s.value: sum(warnings[p][s.value] for p in project_names) 177 if total_by_severity[s.value]: 207 if total_by_severity[s.value]: 208 one_row.append(warnings[p][s.value]) 230 if total_by_severity[s.value]: 231 one_row.append(total_by_severity[s.value]) 232 total_all_severities += total_by_severity[s.value] [all …]
|
/build/make/tools/fs_config/ |
D | fs_config_generator.py | 77 def in_any_range(value, ranges): argument 91 return any(lower <= value <= upper for (lower, upper) in ranges) 143 def __init__(self, identifier, value, found, login_shell): argument 157 self.value = value 162 self.normalized_value = str(int(value, 0)) 165 'Invalid "value", not aid number, got: \"%s\"' % value) 178 and self.value == other.value and self.found == other.found \ 286 value = match.group(2) 290 self.caps[cap] = int(value, 0) 293 % (cap, value)) [all …]
|
/build/soong/androidmk/androidmk/ |
D | android.go | 222 func emptyList(value bpparser.Expression) bool { 223 if list, ok := value.(*bpparser.List); ok { 264 key, value, err := keyFunc(val) 268 if value.Type() == bpparser.ListType { 269 lists[key] = value 272 Values: []bpparser.Expression{value}, 277 key, value, err := keyFunc(v) 285 l.(*bpparser.List).Values = append(l.(*bpparser.List).Values, value) 297 func classifyLocalOrGlobalPath(value bpparser.Expression) (string, bpparser.Expression, error) { 298 switch v := value.(type) { [all …]
|
/build/make/tools/droiddoc/test/stubs/expected/com/android/stubs/ |
D | Annot.java | 3 @java.lang.annotation.Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) 4 @java.lang.annotation.Target(value={java.lang.annotation.ElementType.TYPE}) 7 java.lang.String value() default "yo\u1234"; in value() method
|