/build/soong/shared/ |
D | env.go | 40 contents := make(envFileData, 0, len(envDeps)) 42 contents = append(contents, envFileEntry{key, value}) 45 sort.Sort(contents) 47 data, err := json.MarshalIndent(contents, "", " ") 66 var contents envFileData 68 err = json.Unmarshal(data, &contents) 74 for _, entry := range contents { 103 var contents envFileData 104 err = json.Unmarshal(data, &contents) 109 for _, entry := range contents {
|
/build/soong/bloaty/ |
D | bloaty_merger_test.py | 30 self.fs.create_file("file1.bloaty.csv", contents=csv_content) 45 self.fs.create_file("file1.bloaty.csv", contents=csv_content) 54 self.fs.create_file("files.lst", contents=file_list) 55 self.fs.create_file("file1.bloaty.csv", contents=file1_content) 56 self.fs.create_file("file2.bloaty.csv", contents=file2_content)
|
/build/soong/cmd/symbols_map/ |
D | symbols_map_test.go | 33 contents *symbols_map_proto.Mapping 56 contents: &symbols_map_proto.Mapping{ 64 contents: &symbols_map_proto.Mapping{ 91 contents: &symbols_map_proto.Mapping{ 99 contents: &symbols_map_proto.Mapping{ 127 contents: &symbols_map_proto.Mapping{ 145 contents: &symbols_map_proto.Mapping{ 181 err := writeTextProto(path, in.contents, false)
|
D | elf_test.go | 28 contents string 32 contents: "", 36 contents: "#!/bin/bash\necho foobar", 40 contents: emptyElfFile(), 44 contents: shortSectionHeaderElfFile(), 50 buf := bytes.NewReader([]byte(tt.contents))
|
/build/soong/sdk/ |
D | update.go | 503 contents := bp.content.String() 507 syntaxCheckSnapshotBpFile(ctx, contents) 678 func syntaxCheckSnapshotBpFile(ctx android.ModuleContext, contents string) { 679 errs := android.CheckBlueprintSyntax(ctx, "Android.bp", contents) 684 Generated Android.bp contents 687 for i, line := range strings.Split(contents, "\n") { 919 func generateBpContents(contents *generatedContents, bpFile *bpFile) { 920 generateFilteredBpContents(contents, bpFile, func(*bpModule) bool { 925 func generateFilteredBpContents(contents *generatedContents, bpFile *bpFile, moduleFilter func(modu… 926 contents.IndentedPrintf("// This is auto-generated. DO NOT EDIT.\n") [all …]
|
D | bp_test.go | 185 contents := &generatedContents{} 186 outputPropertySet(contents, set) 187 …android.AssertTrimmedStringEquals(t, "removing property failed", "name: \"name\",\n", contents.con… 197 contents := &generatedContents{} 198 outputPropertySet(contents, set) 199 …android.AssertTrimmedStringEquals(t, "removing property set failed", "name: \"name\",\n", contents…
|
D | build_release.go | 48 contents map[*buildRelease]struct{} member 53 s.contents[release] = struct{}{} 65 _, ok := s.contents[release] 73 if _, ok := s.contents[release]; ok { 88 allBuildReleaseSet = &buildReleaseSet{contents: map[*buildRelease]struct{}{}} 129 set := &buildReleaseSet{contents: map[*buildRelease]struct{}{}}
|
D | systemserverclasspath_fragment_sdk_test.go | 60 contents: [ 172 contents: [ 209 contents: [
|
D | bootclasspath_fragment_sdk_test.go | 102 contents: ["mybootlib"], 136 contents: ["mybootlib"], 164 contents: ["mysdk_mybootlib@current"], 260 contents: [ 328 contents: [ 413 contents: [ 585 contents: [ 608 contents: [ 641 contents: ["mysdklibrary"], 694 contents: ["mybootlib"], [all …]
|
/build/soong/jar/ |
D | jar.go | 87 func ManifestFileContents(contents []byte) (*zip.FileHeader, []byte, error) { 88 b, err := manifestContents(contents) 105 func manifestContents(contents []byte) ([]byte, error) { 110 if !bytes.Contains(contents, manifestMarker) { 111 finalBytes = append(append(header, contents...), byte('\n')) 113 finalBytes = contents
|
/build/soong/java/ |
D | bootclasspath_fragment_test.go | 40 contents: ["foo"], 53 contents: ["foo"], 69 contents: ["foo", "bar"], 88 contents: ["foo", "bar"], 106 contents: [ 115 contents: [ 194 contents: ["mysdklibrary"],
|
D | bootclasspath_fragment.go | 252 …produceHiddenAPIOutput(ctx android.ModuleContext, contents []android.Module, input HiddenAPIFlagIn… 304 contents := m.properties.Contents 305 if len(contents) == 0 { 395 contents := b.properties.Contents 396 if !reflect.DeepEqual(configuredJars, contents) { 398 configuredJars, contents) 550 var contents []android.Module 554 contents = append(contents, module) 570 hiddenAPIOutput := b.generateHiddenAPIBuildActions(ctx, contents, fragments) 743 …ragmentModule) generateHiddenAPIBuildActions(ctx android.ModuleContext, contents []android.Module,… [all …]
|
D | classpath_element.go | 49 contents := []string{} 51 contents = append(contents, module.String()) 53 return fmt.Sprintf("fragment(%s, %s)", b.Fragment, strings.Join(contents, ", "))
|
D | hiddenapi_modular.go | 733 func (i *HiddenAPIFlagInput) gatherStubLibInfo(ctx android.ModuleContext, contents []android.Module… 748 for _, module := range contents { 1063 func hiddenAPIRulesForBootclasspathFragment(ctx android.ModuleContext, contents []android.Module, i… 1067 bootDexInfoByModule := extractBootDexInfoFromModules(ctx, contents) 1074 classesJars := extractClassesJarsFromModules(contents) 1159 func extractBootDexJarsFromModules(ctx android.ModuleContext, contents []android.Module) bootDexJar… 1161 for _, module := range contents { 1211 func extractBootDexInfoFromModules(ctx android.ModuleContext, contents []android.Module) bootDexInf… 1213 for _, module := range contents { 1242 func extractClassesJarsFromModules(contents []android.Module) android.Paths { [all …]
|
/build/soong/apex/ |
D | platform_bootclasspath_test.go | 98 contents: ["bar"], 210 contents: [ 273 contents: [ 318 contents: ["bar"], 482 contents: [ 492 contents: [ 600 contents: ["foo"], 656 contents: [ 698 contents: ["foo"], 714 `in contents must also be declared in PRODUCT_APEX_BOOT_JARS`)). [all …]
|
D | bootclasspath_fragment_test.go | 109 contents: ["baz", "quuz"], 208 contents: ["baz", "quuz"], 216 contents: ["foo", "bar"], 347 contentsInsert := func(contents []string) string { 349 if contents != nil { 350 insert = fmt.Sprintf(`contents: ["%s"],`, strings.Join(contents, `", "`)) 355 addSource := func(contents ...string) android.FixturePreparer { 365 `, contentsInsert(contents)) 370 addPrebuilt := func(prefer bool, contents ...string) android.FixturePreparer { 401 `, contentsInsert(contents), prefer) [all …]
|
D | systemserver_classpath_fragment_test.go | 62 contents: [ 115 contents: [ 141 `in contents must also be declared in PRODUCT_APEX_SYSTEM_SERVER_JARS`)). 174 contents: [ 215 contents: [
|
D | classpath_element_test.go | 87 contents: [ 134 contents: [ 227 …expectFragmentElement := func(module android.Module, contents ...android.Module) java.ClasspathEle… 228 return &java.ClasspathFragmentElement{module, contents}
|
/build/soong/android/ |
D | fixture.go | 265 func FixtureAddFile(path string, contents []byte) FixturePreparer { 271 fs[path] = contents 278 func FixtureAddTextFile(path string, contents string) FixturePreparer { 279 return FixtureAddFile(path, []byte(contents)) 285 func FixtureOverrideFile(path string, contents []byte) FixturePreparer { 287 fs[path] = contents 294 func FixtureOverrideTextFile(path string, contents string) FixturePreparer { 295 return FixtureOverrideFile(path, []byte(contents)) 299 func FixtureWithRootAndroidBp(contents string) FixturePreparer { 300 return FixtureAddTextFile("Android.bp", contents) [all …]
|
D | apex.go | 587 inApex = inApex.merge(apexContents.contents[mctx.ModuleName()]) 709 contents map[string]ApexMembership member 716 func NewApexContents(contents map[string]ApexMembership) *ApexContents { 718 contents: contents, 748 return ac.contents[moduleName] == directlyInApex 754 return ac.contents[moduleName] != notInApex 759 for _, contents := range apexInfo.ApexContents { 760 if !contents.DirectlyInApex(moduleName) {
|
/build/soong/scripts/hiddenapi/ |
D | analyze_bcpf_test.py | 64 def write_abs_file(abs_path, contents): argument 67 print(contents.removeprefix("\n"), file=f, end="") 70 for path, contents in fs.items(): 72 self.write_abs_file(abs_path, contents) 357 contents = tio.read() 359 expected_contents, contents, msg=f"{path} contents") 427 contents = tio.read() 428 self.assertEqual(expected.lstrip("\n"), contents)
|
/build/soong/scripts/ |
D | get_clang_version.py | 35 contents = infile.read() 38 match_rev = re.search(regex_rev, contents)
|
/build/make/orchestrator/core/ |
D | lunch.py | 181 contents = json.load(f) 190 for parent in contents.get("inherits", []): 196 DeepMerge(contents, inherited_data) 197 contents.pop("inherits", None) 198 return contents
|
/build/soong/mk2rbc/ |
D | android_products.go | 63 contents, err := ioutil.ReadFile(configMakefile) 67 parser := mkparser.NewParser(configMakefile, bytes.NewBuffer(contents))
|
/build/bazel/rules/cc/ |
D | generate_toc.bzl | 17 """A macro to generate table of contents files of symbols from a shared library.""" 20 "Information about the table of contents of a shared library", 22 "toc": "The single file for the table of contents",
|