/build/make/tools/product_config/src/com/android/build/config/ |
D | Options.java | 31 private String mProduct; 32 private String mVariant; 33 private String mOutDir; 34 private String mCKatiBin; 40 public String getProduct() { in getProduct() 44 public String getVariant() { in getVariant() 48 public String getOutDir() { in getOutDir() 52 public String getCKatiBin() { in getCKatiBin() 83 out.println(String.format(" %-3d %s", category.getCode(), in printHelp() 91 public ParseException(String message) { in ParseException() [all …]
|
D | ConfigBase.java | 30 protected String mPhase; 31 protected List<String> mRootNodes; 36 protected Map<String, Str> mInitialVariables = new HashMap(); 41 protected Map<String, Str> mFinalVariables = new HashMap(); 47 protected final TreeMap<String, VarType> mProductVars = new TreeMap(); 49 public void setPhase(String phase) { in setPhase() 53 public String getPhase() { in getPhase() 57 public void setRootNodes(List<String> filenames) { in setRootNodes() 61 public List<String> getRootNodes() { in getRootNodes() 65 public void addProductVar(String name, VarType type) { in addProductVar() [all …]
|
D | OutputChecker.java | 48 private final TreeMap<String, Variable> mVariables; 54 public final String name; 59 public Variable(String name, VarType type, Str original) { in Variable() 63 public Variable(String name, VarType type, Str original, Value updated) { in Variable() 138 static TreeMap<String, Variable> getVariables(FlatConfig config) { in getVariables() 139 final TreeMap<String, Variable> result = new TreeMap(); in getVariables() 142 for (Map.Entry<String, Str> entry: getModifiedVars(config.getInitialVariables(), in getVariables() 144 final String name = entry.getKey(); in getVariables() 149 for (Map.Entry<String, Value> entry: config.getValues().entrySet()) { in getVariables() 150 final String name = entry.getKey(); in getVariables() [all …]
|
D | ErrorReporter.java | 53 FatalException(String message) { in FatalException() 57 FatalException(String message, Throwable chain) { in FatalException() 70 private final String mLabel; 72 Level(String label) { in Level() 76 String getLabel() { in getLabel() 88 private String mHelp; 93 public Category(int code, boolean isLevelSettable, Level level, String help) { in Category() 137 public String getHelp() { in getHelp() 144 public void add(String message) { in add() 151 public void add(Position pos, String message) { in add() [all …]
|
D | FlattenConfig.java | 31 private static final String PRODUCTS_PREFIX = "PRODUCTS"; 35 private final Map<String, GenericConfig.ConfigFile> mGenericConfigs; 37 private final Map<String, Value> mVariables; 69 final List<String> rootNodes = mGenericConfig.getRootNodes(); in flattenImpl() 76 for (final String rn: rootNodes) { in flattenImpl() 82 final String root = rootNodes.get(0); in flattenImpl() 117 private void forEachStatement(Str filename, VarType varType, Set<String> seen, in forEachStatement() 139 final String varName = assign.getName(); in forEachStatement() 171 private void forEachInheritAlpha(final Str filename, VarType varType, Set<String> seen, in forEachInheritAlpha() 194 private void flattenListVars(final String filename) { in flattenListVars() [all …]
|
D | GenericConfig.java | 32 protected final TreeMap<String, ConfigFile> mConfigFiles = new TreeMap(); 41 private final String mFilename; 49 public ConfigFile(String filename) { in ConfigFile() 53 public String getFilename() { in getFilename() 76 private final String mVarName; 82 public Assign(String varName, Str value) { in Assign() 92 public Assign(String varName, List<Str> value) { in Assign() 97 public String getName() { in getName() 128 public TreeMap<String, ConfigFile> getFiles() { in getFiles()
|
D | ConvertMakeToGenericConfig.java | 34 public GenericConfig convert(Map<String, MakeConfig> make) { in convert() argument 83 for (final Map.Entry<String, Str> entry: block.getVars().entrySet()) { in convert() 84 final String varName = entry.getKey(); in convert() 95 for (String prevName: prevBlock.getVars().keySet()) { in convert() 119 final Map<String, Str> productsFinal = products.getFinalVariables(); in convert() 120 final Map<String, Str> expandInitial = expand.getInitialVariables(); in convert() 121 final Map<String, Str> expandFinal = expand.getFinalVariables(); in convert() 122 final Map<String, Str> finalFinal = result.getFinalVariables(); in convert() 124 for (Map.Entry<String, Str> var: expandFinal.entrySet()) { in convert() 125 final String varName = var.getKey(); in convert() [all …]
|
D | KatiCommand.java | 24 private String mStderr; 26 public KatiException(List<String> cmd, String stderr) { in KatiException() 31 public String getStderr() { in getStderr() 42 public String run(String[] args) throws KatiException; in run()
|
D | DumpConfigParser.java | 50 private final String mFilename; 53 private final Map<String,MakeConfig> mResults = new HashMap(); 60 private DumpConfigParser(Errors errors, String filename, Reader reader) { in DumpConfigParser() 69 public static Map<String,MakeConfig> parse(Errors errors, String filename, Reader reader) in parse() 93 final List<String> fields = line.getFields(); in parseImpl() 119 Map<String, Str> initialVariables = new HashMap(); in parseImpl() 120 Map<String, Str> finalVariables = new HashMap(); in parseImpl() 125 final List<String> fields = line.getFields(); in parseImpl() 126 final String lineType = fields.get(0); in parseImpl() 159 final List<String> importStack = splitList(fields.get(1)); in parseImpl() [all …]
|
D | Position.java | 32 public static final String UNKNOWN = "<unknown>"; 34 private final String mFile; 42 public Position(String file) { in Position() 47 public Position(String file, int line) { in Position() 64 public String getFile() { in getFile() 76 public static Position parse(String str) { in parse() 81 String filename = m.group(1); in parse() 85 String lineString = m.group(2); in parse() 100 public String toString() { in toString()
|
/build/soong/java/ |
D | kotlin_test.go | 58 if len(fooKotlinc.Inputs) != 2 || fooKotlinc.Inputs[0].String() != "a.java" || 59 fooKotlinc.Inputs[1].String() != "b.kt" { 63 if len(fooJavac.Inputs) != 1 || fooJavac.Inputs[0].String() != "a.java" { 67 if !strings.Contains(fooJavac.Args["classpath"], fooKotlincHeaderClasses.String()) { 69 fooJavac.Args["classpath"], fooKotlincHeaderClasses.String()) 72 if !inList(fooKotlincClasses.String(), fooJar.Inputs.Strings()) { 74 fooJar.Inputs.Strings(), fooKotlincClasses.String()) 77 if !inList(kotlinStdlib.String(), fooJar.Inputs.Strings()) { 79 fooJar.Inputs.Strings(), kotlinStdlib.String()) 82 if !inList(kotlinAnnotations.String(), fooJar.Inputs.Strings()) { [all …]
|
D | genrule_test.go | 100 if g, w := jargen.Implicits.Strings(), foo.Output.String(); !android.InList(w, g) { 104 if !strings.Contains(bar.Args["classpath"], jargen.Output.String()) { 105 t.Errorf("bar classpath %v does not contain %q", bar.Args["classpath"], jargen.Output.String()) 108 if !strings.Contains(baz.Args["classpath"], jargen.Output.String()) { 109 t.Errorf("baz classpath %v does not contain %q", baz.Args["classpath"], jargen.Output.String()) 113 barCombined.Inputs[0].String() != bar.Output.String() || 114 barCombined.Inputs[1].String() != jargen.Output.String() { 116 barCombined.Inputs.Strings(), bar.Output.String(), jargen.Output.String())
|
D | proto.go | 46 rule.Command().Text("rm -rf").Flag(outDir.String()) 47 rule.Command().Text("mkdir -p").Flag(outDir.String()) 50 depFile := srcJarFile.InSameDir(ctx, protoFile.String()+".d") 51 rule.Command().Text("mkdir -p").Flag(filepath.Dir(depFile.String())) 62 FlagWithArg("-C ", outDir.String()). 63 FlagWithArg("-D ", outDir.String()) 65 rule.Command().Text("rm -rf").Flag(outDir.String()) 84 if String(p.Proto.Plugin) == "" { 85 switch String(p.Proto.Type) { 101 String(p.Proto.Type)) [all …]
|
D | dex_test.go | 54 appJavac.Args["classpath"], libHeader.String()) 56 appJavac.Args["classpath"], staticLibHeader.String()) 59 appR8.Args["r8Flags"], libHeader.String()) 61 appR8.Args["r8Flags"], staticLibHeader.String()) 95 fooJavac.Args["classpath"], libHeader.String()) 97 fooJavac.Args["classpath"], staticLibHeader.String()) 100 fooD8.Args["d8Flags"], libHeader.String()) 102 fooD8.Args["d8Flags"], staticLibHeader.String())
|
D | java_resources.go | 42 dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, exclude).String(), nil) 44 excludeDirs = append(excludeDirs, dir.String()) 45 excludeFiles = append(excludeFiles, dir.(android.SourcePath).Join(ctx, "**/*").String()) 55 …dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, resourceDir).String(), excl… 57 files := ctx.GlobFiles(filepath.Join(dir.String(), "**/*"), excludeFiles) 62 args = append(args, "-C", dir.String()) 65 path := f.String() 66 if !strings.HasPrefix(path, dir.String()) { 104 path := f.String()
|
/build/soong/cmd/symbols_map/ |
D | symbols_map_test.go | 57 Identifier: proto.String("foo"), 58 Location: proto.String("symbols/foo"), 65 Identifier: proto.String("bar"), 66 Location: proto.String("symbols/bar"), 74 Identifier: proto.String("foo"), 75 Location: proto.String("symbols/foo"), 79 Identifier: proto.String("bar"), 80 Location: proto.String("symbols/bar"), 92 Identifier: proto.String("foo"), 93 Location: proto.String("symbols/foo"), [all …]
|
/build/soong/cc/ |
D | ndk_headers.go | 105 headerDir := filepath.Dir(header.String()) 108 strippedHeaderDir, err := filepath.Rel(fullFromPath.String(), headerDir) 111 fullFromPath.String(), err) 122 if String(m.properties.License) == "" { 126 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 130 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From), 131 String(m.properties.To)) 201 if String(m.properties.License) == "" { 205 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 207 fromSrcPath := android.PathForModuleSrc(ctx, String(m.properties.From)) [all …]
|
/build/soong/android/ |
D | rule_builder.go | 81 func (installs RuleBuilderInstalls) String() string { func 87 sb.WriteString(install.From.String()) 91 return sb.String() 217 return temporariesList[i].String() < temporariesList[j].String() 234 inputStr := input.String() 237 inputs[input.String()] = input 249 return inputList[i].String() < inputList[j].String() 261 orderOnlys[orderOnly.String()] = orderOnly 271 return orderOnlyList[i].String() < orderOnlyList[j].String() 283 validations[validation.String()] = validation [all …]
|
D | deptag_test.go | 93 hostFoo := result.ModuleForTests("foo", config.BuildOSCommonTarget.String()).Description("install") 94 …hostInstallDep := result.ModuleForTests("install_dep", config.BuildOSCommonTarget.String()).Descri… 95 …hostTransitive := result.ModuleForTests("transitive", config.BuildOSCommonTarget.String()).Descrip… 96 hostDep := result.ModuleForTests("dep", config.BuildOSCommonTarget.String()).Description("install") 98 if g, w := hostFoo.Implicits.Strings(), hostInstallDep.Output.String(); !InList(w, g) { 102 if g, w := hostFoo.Implicits.Strings(), hostTransitive.Output.String(); !InList(w, g) { 106 if g, w := hostInstallDep.Implicits.Strings(), hostTransitive.Output.String(); !InList(w, g) { 110 if g, w := hostFoo.Implicits.Strings(), hostDep.Output.String(); InList(w, g) { 119 if g, w := deviceFoo.OrderOnly.Strings(), deviceInstallDep.Output.String(); !InList(w, g) { 123 if g, w := deviceFoo.OrderOnly.Strings(), deviceTransitive.Output.String(); !InList(w, g) { [all …]
|
/build/soong/apex/ |
D | key.go | 28 var String = proptools.String var 78 if android.SrcIsModule(String(m.properties.Public_key)) != "" { 79 m.publicKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 81 m.publicKeyFile = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Public_key)) 83 if !android.ExistentPathForSource(ctx, m.publicKeyFile.String()).Valid() { 84 m.publicKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 88 if android.SrcIsModule(String(m.properties.Private_key)) != "" { 89 m.privateKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Private_key)) 91 m.privateKeyFile = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Private_key)) 92 if !android.ExistentPathForSource(ctx, m.privateKeyFile.String()).Valid() { [all …]
|
/build/soong/ui/metrics/ |
D | metrics.go | 150 m.metrics.BuildId = proto.String(v) 152 m.metrics.PlatformVersionCodename = proto.String(v) 154 m.metrics.TargetProduct = proto.String(v) 167 m.metrics.TargetArchVariant = proto.String(v) 169 m.metrics.TargetCpuVariant = proto.String(v) 175 m.metrics.HostOsExtra = proto.String(v) 177 m.metrics.HostCrossOs = proto.String(v) 179 m.metrics.HostCrossArch = proto.String(v) 181 m.metrics.HostCross_2NdArch = proto.String(v) 183 m.metrics.OutDir = proto.String(v) [all …]
|
/build/blueprint/parser/ |
D | ast.go | 33 String() string methodSpec 49 func (a *Assignment) String() string { func 74 func (m *Module) String() string { func 77 propertyStrings[i] = property.String() 103 func (p *Property) String() string { func 113 Key *String 120 Key: m.Key.Copy().(*String), 126 func (m *MapItem) String() string { func 140 String() string methodSpec 193 func (t Type) String() string { func [all …]
|
/build/make/tools/product_config/test/com/android/build/config/ |
D | OptionsTest.java | 26 private Options parse(Errors errors, String[] args) { in parse() 27 final HashMap<String, String> env = new HashMap(); in parse() 39 final Options options = parse(errors, new String[] { in testErrorMissingLast() 52 final Options options = parse(errors, new String[] { in testErrorMissingNotLast() 65 final Options options = parse(errors, new String[] { in testErrorNotNumeric() 78 final Options options = parse(errors, new String[] { in testErrorInvalidError() 91 final Options options = parse(errors, new String[] { in testErrorOne() 104 final Options options = parse(errors, new String[] { in testWarningOne() 117 final Options options = parse(errors, new String[] { in testHideOne() 130 final Options options = parse(errors, new String[0]); in testEnv()
|
/build/soong/genrule/ |
D | locations.go | 26 String() string methodSpec 34 func (l inputLocation) String() string { func 49 func (l outputLocation) String() string { func 50 return l.path.String() 64 func (l toolLocation) String() string { func 80 func (l packagedToolLocation) String() string { func 96 func (l errorLocation) String() string { func
|
/build/soong/android_sdk/ |
D | sdk_repo_host.go | 130 android.PathForModuleInstall(ctx, "sdk-repo").String() + "/", 131 outputZipFile.String(), 135 Text(filepath.Join(dir.String(), "NOTICE.txt")) 143 FlagWithArg("-d ", dir.String()). 150 Text("cp").Input(src).Flag(dir.Join(ctx, src.Rel()).String()) 165 Flag(dir.Join(ctx, strip).String()) 175 cmd.Flag(dir.Join(ctx, strip).String()) 182 Flag(dir.String()). 195 Flag(dir.String()). 204 Flag(dir.String()). [all …]
|