/build/soong/shared/ |
D | env.go | 41 contents := make(envFileData, 0, len(envDeps)) 43 contents = append(contents, envFileEntry{key, value}) 46 sort.Sort(contents) 48 data, err := json.MarshalIndent(contents, "", " ") 70 var contents envFileData 72 err = json.Unmarshal(data, &contents) 78 for _, entry := range contents { 108 var contents envFileData 109 err = json.Unmarshal(data, &contents) 114 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)
|
/build/soong/apex/ |
D | dexpreopt_bootjars_test.go | 73 contents: ["core-oj"], 110 contents: ["core-oj"], 289 contents: ["core-oj"], 324 contents: ["core-oj"], 357 contents: ["com.android.art"], 363 contents: ["prebuilt_com.android.art"], 369 …contents: ["com.android.art.v2"], // prebuilt_ prefix is missing because of prebuilt_rename mutator 445 contents: ["core-oj"], 481 contents: ["core-oj"], 504 contents: ["prebuilt_com.google.android.art"],
|
D | platform_bootclasspath_test.go | 100 contents: ["bar"], 214 contents: [ 284 contents: [ 332 contents: ["bar"], 505 contents: [ 518 contents: [ 626 contents: ["foo"], 685 contents: [ 730 contents: ["foo"], 749 `in contents must also be declared in PRODUCT_APEX_BOOT_JARS`)). [all …]
|
D | bootclasspath_fragment_test.go | 126 contents: ["baz", "quuz"], 137 contents: ["foo", "bar"], 214 contentsInsert := func(contents []string) string { 216 if contents != nil { 217 insert = fmt.Sprintf(`contents: ["%s"],`, strings.Join(contents, `", "`)) 222 addSource := func(contents ...string) android.FixturePreparer { 235 `, contentsInsert(contents)) 237 for _, content := range contents { 253 addPrebuilt := func(prefer bool, contents ...string) android.FixturePreparer { 284 `, contentsInsert(contents), prefer) [all …]
|
D | systemserver_classpath_fragment_test.go | 87 contents: [ 152 contents: [ 179 `in contents must also be declared in PRODUCT_APEX_SYSTEM_SERVER_JARS`)). 212 contents: [ 264 contents: [
|
/build/bazel/rules/ |
D | status_file_reader.py | 57 contents = inf.read() 58 contents = pattern.sub(lambda m: status_file[m.group(0)[1:-1]], contents) 59 outf.write(contents)
|
/build/soong/java/ |
D | bootclasspath_fragment_test.go | 41 contents: ["foo"], 60 contents: ["foo"], 81 contents: ["foo", "bar"], 112 contents: ["foo", "bar"], 137 contents: [ 146 contents: [ 233 contents: ["mysdklibrary"], 336 contents: ["mysdklibrary"], 399 contents: ["mybootlib", "mynewlibrary"], 499 contents: ["mysdklibrary"], [all …]
|
D | bootclasspath_fragment.go | 257 …produceHiddenAPIOutput(ctx android.ModuleContext, contents []android.Module, fragments []android.M… 300 contents := m.properties.Contents 301 if len(contents) == 0 { 329 if !reflect.DeepEqual(configuredJars, contents) { 331 configuredJars, contents) 485 var contents []android.Module 489 contents = append(contents, module) 496 hiddenAPIOutput := b.generateHiddenAPIBuildActions(ctx, contents, fragments) 501 …b.profilePath = b.produceBootImageProfileFromSource(ctx, contents, hiddenAPIOutput.EncodedBootDexF… 630 …ragmentModule) generateHiddenAPIBuildActions(ctx android.ModuleContext, contents []android.Module,… [all …]
|
D | classpath_element.go | 48 contents := []string{} 50 contents = append(contents, module.String()) 52 return fmt.Sprintf("fragment(%s, %s)", b.Fragment, strings.Join(contents, ", "))
|
/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/elf/ |
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/scripts/ |
D | get_clang_version.py | 35 contents = infile.read() 38 match_rev = re.search(regex_rev, contents)
|
/build/soong/sdk/ |
D | systemserverclasspath_fragment_sdk_test.go | 53 contents: [ 103 contents: [ 180 contents: ["mysdklibrary"], 195 contents: ["mysdklibrary"], 250 contents: ["prebuilt_mysdklibrary"], 289 contents: [ 351 contents: [ 399 contents: [
|
D | update.go | 495 contents := generateBpContents(bpFile) 499 syntaxCheckSnapshotBpFile(ctx, contents) 502 android.WriteFileRuleVerbatim(ctx, bp, contents) 711 func syntaxCheckSnapshotBpFile(ctx android.ModuleContext, contents string) { 712 errs := android.CheckBlueprintSyntax(ctx, "Android.bp", contents) 717 Generated Android.bp contents 720 for i, line := range strings.Split(contents, "\n") { 790 if contents, ok := module.bpPropertySet.properties["contents"].([]string); ok { 791 if len(contents) == 0 { 858 contents := &generatedContents{} [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 | 52 contents map[*buildRelease]struct{} member 57 s.contents[release] = struct{}{} 69 _, ok := s.contents[release] 77 if _, ok := s.contents[release]; ok { 98 allBuildReleaseSet = &buildReleaseSet{contents: map[*buildRelease]struct{}{}} 156 set := &buildReleaseSet{contents: map[*buildRelease]struct{}{}}
|
D | exports_test.go | 51 contents: ["prebuilt_myjavalib"],
|
D | java_sdk_test.go | 113 contents: ["prebuilt_myjavalib"], 164 contents: ["prebuilt_myjavalib"], 208 contents: ["prebuilt_myjavalib"], 265 contents: ["prebuilt_myjavalib"], 316 contents: [], 428 contents: ["prebuilt_mylib"], 497 contents: [], 547 contents: ["prebuilt_myjavalib"], 590 contents: ["prebuilt_myjavatests"], 635 contents: ["prebuilt_myjavatests"], [all …]
|
/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/bazel/rules/cc/ |
D | generate_toc.bzl | 15 """A function to generate table of contents files of symbols from a shared library.""" 18 "Information about the table of contents of a shared library", 20 "toc": "The single file for the table of contents",
|
/build/make/tools/aconfig/aconfig/src/codegen/ |
D | rust.rs | 62 let contents = template.render("rust_code_gen", &context)?; in generate_rust_code() localVariable 64 Ok(OutputFile { contents: contents.into(), path }) in generate_rust_code() 1322 &String::from_utf8(generated.contents).unwrap() in test_generate_rust_code()
|
/build/soong/android/ |
D | fixture.go | 315 func FixtureAddFile(path string, contents []byte) FixturePreparer { 321 fs[path] = contents 328 func FixtureAddTextFile(path string, contents string) FixturePreparer { 329 return FixtureAddFile(path, []byte(contents)) 335 func FixtureOverrideFile(path string, contents []byte) FixturePreparer { 337 fs[path] = contents 344 func FixtureOverrideTextFile(path string, contents string) FixturePreparer { 345 return FixtureOverrideFile(path, []byte(contents)) 349 func FixtureWithRootAndroidBp(contents string) FixturePreparer { 350 return FixtureAddTextFile("Android.bp", contents) [all …]
|
/build/soong/mk2rbc/ |
D | android_products.go | 63 contents, err := ioutil.ReadFile(configMakefile) 67 parser := mkparser.NewParser(configMakefile, bytes.NewBuffer(contents))
|