Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 97) sorted by relevance

1234

/build/soong/shared/
Denv.go41 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/
Dbloaty_merger_test.py30 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/
Dsymbols_map_test.go33 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/
Ddexpreopt_bootjars_test.go73 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"],
369contents: ["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"],
Dplatform_bootclasspath_test.go100 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 …]
Dbootclasspath_fragment_test.go126 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 …]
Dsystemserver_classpath_fragment_test.go87 contents: [
152 contents: [
179 `in contents must also be declared in PRODUCT_APEX_SYSTEM_SERVER_JARS`)).
212 contents: [
264 contents: [
/build/bazel/rules/
Dstatus_file_reader.py57 contents = inf.read()
58 contents = pattern.sub(lambda m: status_file[m.group(0)[1:-1]], contents)
59 outf.write(contents)
/build/soong/java/
Dbootclasspath_fragment_test.go41 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 …]
Dbootclasspath_fragment.go257 …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 …]
Dclasspath_element.go48 contents := []string{}
50 contents = append(contents, module.String())
52 return fmt.Sprintf("fragment(%s, %s)", b.Fragment, strings.Join(contents, ", "))
/build/soong/jar/
Djar.go87 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/
Delf_test.go28 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/
Dget_clang_version.py35 contents = infile.read()
38 match_rev = re.search(regex_rev, contents)
/build/soong/sdk/
Dsystemserverclasspath_fragment_sdk_test.go53 contents: [
103 contents: [
180 contents: ["mysdklibrary"],
195 contents: ["mysdklibrary"],
250 contents: ["prebuilt_mysdklibrary"],
289 contents: [
351 contents: [
399 contents: [
Dupdate.go495 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 …]
Dbp_test.go185 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
Dbuild_release.go52 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{}{}}
Dexports_test.go51 contents: ["prebuilt_myjavalib"],
Djava_sdk_test.go113 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/
Danalyze_bcpf_test.py64 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/
Dgenerate_toc.bzl15 """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/
Drust.rs62 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/
Dfixture.go315 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/
Dandroid_products.go63 contents, err := ioutil.ReadFile(configMakefile)
67 parser := mkparser.NewParser(configMakefile, bytes.NewBuffer(contents))

1234