/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 | 29 self.fs.create_file("file1.bloaty.csv", contents=csv_content) 44 self.fs.create_file("file1.bloaty.csv", contents=csv_content) 53 self.fs.create_file("files.lst", contents=file_list) 54 self.fs.create_file("file1.bloaty.csv", contents=file1_content) 55 self.fs.create_file("file2.bloaty.csv", contents=file2_content)
|
/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: [ 192 contents: ["mysdklibrary"],
|
D | bootclasspath_fragment.go | 160 …produceHiddenAPIOutput(ctx android.ModuleContext, contents []android.Module, input HiddenAPIFlagIn… 206 contents := m.properties.Contents 207 if len(contents) == 0 { 297 contents := b.properties.Contents 298 if !reflect.DeepEqual(configuredJars, contents) { 300 configuredJars, contents) 426 var contents []android.Module 430 contents = append(contents, module) 446 hiddenAPIOutput := b.generateHiddenAPIBuildActions(ctx, contents, fragments) 570 …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 | 718 func (i *HiddenAPIFlagInput) gatherStubLibInfo(ctx android.ModuleContext, contents []android.Module… 733 for _, module := range contents { 935 func hiddenAPIRulesForBootclasspathFragment(ctx android.ModuleContext, contents []android.Module, i… 939 bootDexInfoByModule := extractBootDexInfoFromModules(ctx, contents) 946 classesJars := extractClassesJarsFromModules(contents) 1015 func extractBootDexJarsFromModules(ctx android.ModuleContext, contents []android.Module) bootDexJar… 1017 for _, module := range contents { 1064 func extractBootDexInfoFromModules(ctx android.ModuleContext, contents []android.Module) bootDexInf… 1066 for _, module := range contents { 1095 func extractClassesJarsFromModules(contents []android.Module) android.Paths { [all …]
|
D | classpath_fragment.go | 101 func gatherPossibleUpdatableModuleNamesAndStems(ctx android.ModuleContext, contents []string, tag b… 103 for _, name := range contents {
|
D | systemserver_classpath_fragment_test.go | 102 `\Qempty contents are not allowed\E`)).
|
/build/soong/apex/ |
D | bootclasspath_fragment_test.go | 103 contents: ["baz", "quuz"], 201 contents: ["baz", "quuz"], 209 contents: ["foo", "bar"], 340 contentsInsert := func(contents []string) string { 342 if contents != nil { 343 insert = fmt.Sprintf(`contents: ["%s"],`, strings.Join(contents, `", "`)) 348 addSource := func(contents ...string) android.FixturePreparer { 358 `, contentsInsert(contents)) 363 addPrebuilt := func(prefer bool, contents ...string) android.FixturePreparer { 387 `, contentsInsert(contents), prefer) [all …]
|
D | classpath_element_test.go | 85 contents: [ 132 contents: [ 162 contents: ["othersdklibrary"], 227 …expectFragmentElement := func(module android.Module, contents ...android.Module) java.ClasspathEle… 228 return &java.ClasspathFragmentElement{module, contents}
|
D | platform_bootclasspath_test.go | 97 contents: ["bar"], 200 contents: [ 245 contents: ["bar"], 419 contents: [
|
D | systemserver_classpath_fragment_test.go | 60 contents: [
|
/build/soong/sdk/ |
D | update.go | 403 contents := bp.content.String() 404 syntaxCheckSnapshotBpFile(ctx, contents) 571 func syntaxCheckSnapshotBpFile(ctx android.ModuleContext, contents string) { 572 errs := android.CheckBlueprintSyntax(ctx, "Android.bp", contents) 577 Generated Android.bp contents 580 for i, line := range strings.Split(contents, "\n") { 805 func generateBpContents(contents *generatedContents, bpFile *bpFile) { 806 generateFilteredBpContents(contents, bpFile, func(*bpModule) bool { 811 func generateFilteredBpContents(contents *generatedContents, bpFile *bpFile, moduleFilter func(modu… 812 contents.Printfln("// This is auto-generated. DO NOT EDIT.") [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 | bootclasspath_fragment_sdk_test.go | 101 contents: ["mybootlib"], 135 contents: ["mybootlib"], 162 contents: ["mysdk_mybootlib@current"], 256 contents: [ 324 contents: [ 408 contents: [ 562 contents: ["mybootlib"], 590 contents: ["mysdk_mybootlib@1"], 642 contents: ["mybootlib"], 707 contents: ["mybootlib"],
|
/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 | 573 inApex = inApex.merge(apexContents.contents[mctx.ModuleName()]) 695 contents map[string]ApexMembership member 702 func NewApexContents(contents map[string]ApexMembership) *ApexContents { 704 contents: contents, 734 return ac.contents[moduleName] == directlyInApex 740 return ac.contents[moduleName] != notInApex 745 for _, contents := range apexInfo.ApexContents { 746 if !contents.DirectlyInApex(moduleName) {
|
/build/soong/zip/ |
D | zip_test.go | 59 func fh(name string, contents []byte, method uint16) zip.FileHeader { 63 CRC32: crc32.ChecksumIEEE(contents), 64 UncompressedSize64: uint64(len(contents)), 69 func fhManifest(contents []byte) zip.FileHeader { 73 CRC32: crc32.ChecksumIEEE(contents), 74 UncompressedSize64: uint64(len(contents)),
|
/build/soong/scripts/ |
D | manifest_check.py | 256 contents = json.load(f) 257 module_to_libname[contents['Name']] = contents['ProvidesUsesLibrary']
|
/build/blueprint/pathtools/ |
D | fs.go | 227 contents, err := dir.Readdirnames(-1) 232 sort.Strings(contents) 233 return contents, nil 530 contents, err := fs.ReadDirNames(name) 536 for _, f := range contents {
|
/build/soong/finder/fs/ |
D | fs.go | 55 ReadDir(path string) (contents []DirEntryInfo, err error) 107 func (osFs) ReadDir(path string) (contents []DirEntryInfo, err error) { 113 contents = append(contents, entry) 116 return contents, nil 526 func (m *MockFs) ReadDir(path string) (contents []DirEntryInfo, err error) {
|
/build/soong/cmd/extract_apks/bundle_proto/ |
D | config.proto | 1 // Messages describing APK Set's table of contents (toc.pb entry). 115 // would be outputted to "assets/level1_textures". File contents are
|
/build/blueprint/microfactory/ |
D | microfactory_test.go | 391 writeFile := func(name, contents string) { 392 if err := ioutil.WriteFile(filepath.Join(dir, name), []byte(contents), 0666); err != nil {
|
/build/soong/cmd/zip2zip/ |
D | zip2zip_test.go | 215 err: fmt.Errorf(`multiple entries for "a/a" with different contents`),
|