/build/make/tools/product_config/src/com/android/build/config/ |
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 | 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 | 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 | 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 | 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 | 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 | 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()
|
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 | 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 | 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 | Str.java | 26 private String mValue; 29 public Str(String s) { in Str() 34 public Str(Position pos, String s) { in Str() 44 public String toString() { in toString() 75 public static ArrayList<Str> toList(Position pos, List<String> list) { in toList() 77 for (String s: list) { in toList()
|
/build/soong/java/ |
D | kotlin_test.go | 62 if len(fooKotlinc.Inputs) != 2 || fooKotlinc.Inputs[0].String() != "a.java" || 63 fooKotlinc.Inputs[1].String() != "b.kt" { 67 if len(fooJavac.Inputs) != 1 || fooJavac.Inputs[0].String() != "a.java" { 71 if !strings.Contains(fooJavac.Args["classpath"], fooKotlincHeaderClasses.String()) { 73 fooJavac.Args["classpath"], fooKotlincHeaderClasses.String()) 76 if !inList(fooKotlincClasses.String(), fooJar.Inputs.Strings()) { 78 fooJar.Inputs.Strings(), fooKotlincClasses.String()) 81 if !inList(kotlinStdlib.String(), fooJar.Inputs.Strings()) { 83 fooJar.Inputs.Strings(), kotlinStdlib.String()) 86 if !inList(kotlinStdlibJdk7.String(), fooJar.Inputs.Strings()) { [all …]
|
D | proto.go | 43 rule.Command().Text("rm -rf").Flag(outDir.String()) 44 rule.Command().Text("mkdir -p").Flag(outDir.String()) 47 depFile := srcJarFile.InSameDir(ctx, protoFile.String()+".d") 48 rule.Command().Text("mkdir -p").Flag(filepath.Dir(depFile.String())) 59 FlagWithArg("-C ", outDir.String()). 60 FlagWithArg("-D ", outDir.String()) 62 rule.Command().Text("rm -rf").Flag(outDir.String()) 81 if String(p.Proto.Plugin) == "" { 82 switch String(p.Proto.Type) { 98 String(p.Proto.Type)) [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())
|
/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/make/tools/aconfig/fake_device_config/src/android/provider/ |
D | DeviceConfig.java | 26 public static boolean getBoolean(String ns, String name, boolean def) { in getBoolean() 30 public static Properties getProperties(String namespace, String... names) { in getProperties() 35 public boolean getBoolean(String name, boolean def) { in getBoolean()
|
/build/soong/filesystem/ |
D | fsverity_metadata.go | 38 buf.WriteString(rebasedDir.Join(ctx, spec.RelPathInPackage()).String()) 41 android.WriteFileRuleVerbatim(ctx, outputPath, buf.String()) 82 sb.WriteString(metadataGeneratorPath.String()) 84 sb.WriteString(fsverityPath.String()) 86 sb.WriteString(destPath.String()) 88 sb.WriteString(srcPath.String()) 99 sb.WriteString(assetsPath.String()) 101 sb.WriteString(assetsPath.String()) 103 sb.WriteString(manifestGeneratorPath.String()) 105 sb.WriteString(fsverityPath.String()) [all …]
|
/build/make/tools/aconfig/aconfig_storage_file/src/ |
D | lib.rs | 257 ) -> Result<String, AconfigStorageError> { in read_str_from_bytes() argument 259 let val = String::from_utf8(buf[*head..*head + num_bytes].to_vec()) in read_str_from_bytes() 284 pub package_name: String, 285 pub flag_name: String, 286 pub flag_value: String, 311 package_name: String::from(package_name), in list_flags() 328 pub package_name: String, 329 pub flag_name: String, 330 pub flag_value: String, 361 package_name: String::from(package_name), in list_flags_with_info() [all …]
|
/build/soong/apex/ |
D | key.go | 24 var String = proptools.String var 69 if android.SrcIsModule(String(m.properties.Public_key)) != "" { 70 m.publicKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 72 m.publicKeyFile = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Public_key)) 74 if !android.ExistentPathForSource(ctx, m.publicKeyFile.String()).Valid() { 75 m.publicKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Public_key)) 79 if android.SrcIsModule(String(m.properties.Private_key)) != "" { 80 m.privateKeyFile = android.PathForModuleSrc(ctx, String(m.properties.Private_key)) 82 m.privateKeyFile = ctx.Config().ApexKeyDir(ctx).Join(ctx, String(m.properties.Private_key)) 83 if !android.ExistentPathForSource(ctx, m.privateKeyFile.String()).Valid() { [all …]
|
D | androidmk.go | 137 …fmt.Fprintln(w, "LOCAL_SOONG_INSTALL_PAIRS :=", fi.builtFile.String()+":"+filepath.Join(modulePath… 138 fmt.Fprintln(w, "LOCAL_PREBUILT_MODULE_FILE :=", fi.builtFile.String()) 143 archStr := fi.module.Target().Arch.ArchType.String() 148 fmt.Fprintln(w, "LOCAL_SOONG_JACOCO_REPORT_CLASSES_JAR :=", fi.jacocoReportClassesFile.String()) 157 ….Fprintln(w, "LOCAL_SOONG_CLASSES_JAR :=", javaModule.ImplementationAndResourcesJars()[0].String()) 158 fmt.Fprintln(w, "LOCAL_SOONG_HEADER_JAR :=", javaModule.HeaderJars()[0].String()) 160 fmt.Fprintln(w, "LOCAL_SOONG_CLASSES_JAR :=", fi.builtFile.String()) 161 fmt.Fprintln(w, "LOCAL_SOONG_HEADER_JAR :=", fi.builtFile.String()) 163 fmt.Fprintln(w, "LOCAL_SOONG_DEX_JAR :=", fi.builtFile.String()) 175 fmt.Fprintln(w, "LOCAL_SOONG_JNI_LIBS_SYMBOLS :=", jniLibSymbols.String()) [all …]
|
/build/soong/cc/ |
D | ndk_headers.go | 104 headerDir := filepath.Dir(header.String()) 107 strippedHeaderDir, err := filepath.Rel(fullFromPath.String(), headerDir) 110 fullFromPath.String(), err) 121 if String(m.properties.License) == "" { 125 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 129 installDir := getHeaderInstallDir(ctx, header, String(m.properties.From), 130 String(m.properties.To)) 205 if String(m.properties.License) == "" { 209 m.licensePath = android.PathForModuleSrc(ctx, String(m.properties.License)) 211 fromSrcPath := android.PathForModuleSrc(ctx, String(m.properties.From)) [all …]
|
/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/make/tools/aconfig/aconfig_device_paths/src/ |
D | DevicePathsTemplate.java | 27 static final String[] PATHS = { 31 private static final String APEX_DIR = "/apex"; 32 private static final String APEX_ACONFIG_PATH_SUFFIX = "/etc/aconfig_flags.pb"; 39 public List<String> parsedFlagsProtoPaths() { in parsedFlagsProtoPaths() 40 ArrayList<String> paths = new ArrayList(Arrays.asList(PATHS)); in parsedFlagsProtoPaths()
|
/build/soong/android/ |
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/rust/ |
D | fuzz_test.go | 98 if !strings.Contains(fuzz_libtest.FuzzSharedLibraries().String(), ":libcc_direct_dep.so") { 99 …bundled direct shared libs ('libcc_direct_dep'): %#v", fuzz_libtest.FuzzSharedLibraries().String()) 101 if !strings.Contains(fuzz_libtest.FuzzSharedLibraries().String(), ":libcc_transitive_dep.so") { 102 …transitive shared libs ('libcc_transitive_dep'): %#v", fuzz_libtest.FuzzSharedLibraries().String()) 135 …if !strings.Contains(fuzz_shared_libtest.FuzzSharedLibraries().String(), ":libcc_transitive_dep.so… 136 …rust_ffi_shared ('libcc_transitive_dep'): %#v", fuzz_shared_libtest.FuzzSharedLibraries().String()) 138 …if !strings.Contains(fuzz_static_libtest.FuzzSharedLibraries().String(), ":libcc_transitive_dep.so… 139 …rust_ffi_static ('libcc_transitive_dep'): %#v", fuzz_static_libtest.FuzzSharedLibraries().String()) 141 …if !strings.Contains(fuzz_staticffi_libtest.FuzzSharedLibraries().String(), ":libcc_transitive_dep… 142 …ust_ffi_rlib ('libcc_transitive_dep'): %#v", fuzz_staticffi_libtest.FuzzSharedLibraries().String())
|