/build/soong/finder/ |
D | finder_test.go | 35 func newFinder(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams) *Finder { 36 return newFinderWithNumThreads(t, filesystem, cacheParams, 2) 39 func newFinderWithNumThreads(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThrea… 40 f, err := newFinderAndErr(t, filesystem, cacheParams, numThreads) 47 func newFinderAndErr(t *testing.T, filesystem *fs.MockFs, cacheParams CacheParams, numThreads int) … 50 filesystem.MkDirs(cacheDir) 56 f, err := newImpl(cacheParams, filesystem, logger, cachePath, numThreads) 71 original.filesystem, 81 filesystem := newFs() 83 filesystem.MkDirs(root) [all …]
|
D | finder.go | 151 filesystem fs.FileSystem member 168 func New(cacheParams CacheParams, filesystem fs.FileSystem, 170 return newImpl(cacheParams, filesystem, logger, dbPath, defaultNumThreads) 174 func newImpl(cacheParams CacheParams, filesystem fs.FileSystem, 183 FilesystemView: filesystem.ViewId(), 192 filesystem: filesystem, 846 reader, err := f.filesystem.Open(dbPath) 1167 err = f.filesystem.WriteFile(tempPath, bytes, 0777) 1171 err = f.filesystem.Rename(tempPath, f.DbPath) 1278 fileInfo, err := f.filesystem.Lstat(path) [all …]
|
/build/soong/finder/fs/ |
D | test.go | 26 func Write(t *testing.T, path string, content string, filesystem *MockFs) { 28 filesystem.MkDirs(parent) 29 err := filesystem.WriteFile(path, []byte(content), 0777) 35 func Create(t *testing.T, path string, filesystem *MockFs) { 36 Write(t, path, "hi", filesystem) 39 func Delete(t *testing.T, path string, filesystem *MockFs) { 40 err := filesystem.Remove(path) 46 func RemoveAll(t *testing.T, path string, filesystem *MockFs) { 47 err := filesystem.RemoveAll(path) 53 func Move(t *testing.T, oldPath string, newPath string, filesystem *MockFs) { [all …]
|
D | fs_test.go | 24 filesystem := NewMockFs(nil) 25 Create(t, "/tmp/realdir/hi.txt", filesystem) 26 Create(t, "/tmp/realdir/ignoreme.txt", filesystem) 28 Link(t, "/tmp/links/dir", "../realdir", filesystem) 29 Link(t, "/tmp/links/file", "../realdir/hi.txt", filesystem) 30 Link(t, "/tmp/links/broken", "nothingHere", filesystem) 31 Link(t, "/tmp/links/recursive", "recursive", filesystem) 53 stat, err := filesystem.Lstat("/tmp/links/dir") 56 stat, err = filesystem.Stat("/tmp/links/dir") 59 stat, err = filesystem.Lstat("/tmp/links/file") [all …]
|
D | Android.bp | 16 // mock filesystem
|
/build/soong/bp2build/ |
D | cc_library_static_conversion_test.go | 80 filesystem map[string]string 88 filesystem: map[string]string{ 233 filesystem: map[string]string{ 270 filesystem: map[string]string{ 293 filesystem: map[string]string{ 317 filesystem: map[string]string{ 358 filesystem: map[string]string{ 385 filesystem: map[string]string{ 416 filesystem: map[string]string{}, 452 filesystem: map[string]string{}, [all …]
|
D | cc_library_conversion_test.go | 53 filesystem map[string]string 62 filesystem: map[string]string{ 143 filesystem: map[string]string{ 211 filesystem: map[string]string{ 261 filesystem: map[string]string{ 339 filesystem: map[string]string{ 364 filesystem: map[string]string{ 401 filesystem: map[string]string{ 432 filesystem: map[string]string{ 494 filesystem: map[string]string{ [all …]
|
D | cc_object_conversion_test.go | 33 filesystem map[string]string 40 filesystem: map[string]string{ 123 filesystem: map[string]string{ 161 filesystem: map[string]string{ 204 filesystem := make(map[string][]byte) 208 for f, content := range testCase.filesystem { 212 filesystem[f] = []byte(content) 214 config := android.TestConfig(buildDir, nil, testCase.blueprint, filesystem) 261 filesystem map[string]string 390 filesystem := make(map[string][]byte) [all …]
|
D | python_binary_conversion_test.go | 19 filesystem map[string]string 26 filesystem: map[string]string{ 113 filesystem := make(map[string][]byte) 117 for f, content := range testCase.filesystem { 121 filesystem[f] = []byte(content) 123 config := android.TestConfig(buildDir, nil, testCase.blueprint, filesystem)
|
D | cc_library_headers_conversion_test.go | 80 filesystem map[string]string 88 filesystem: map[string]string{ 164 filesystem: map[string]string{}, 227 filesystem: map[string]string{}, 261 filesystem: map[string]string{}, 316 filesystem := make(map[string][]byte) 320 for f, content := range testCase.filesystem { 324 filesystem[f] = []byte(content) 326 config := android.TestConfig(buildDir, nil, testCase.bp, filesystem)
|
D | sh_conversion_test.go | 62 filesystem map[string]string 84 filesystem := make(map[string][]byte) 88 for f, content := range testCase.filesystem { 92 filesystem[f] = []byte(content) 94 config := android.TestConfig(buildDir, nil, testCase.bp, filesystem)
|
/build/soong/filesystem/ |
D | filesystem.go | 15 package filesystem package 37 type filesystem struct { struct 93 module := &filesystem{} 98 func initFilesystemModule(module *filesystem) { argument 109 func (f *filesystem) DepsMutator(ctx android.BottomUpMutatorContext) { argument 122 func (f *filesystem) fsType(ctx android.ModuleContext) fsType { argument 137 func (f *filesystem) installFileName() string { argument 143 func (f *filesystem) GenerateAndroidBuildActions(ctx android.ModuleContext) { argument 160 func (f *filesystem) buildRootZip(ctx android.ModuleContext) android.OutputPath { argument 227 func (f *filesystem) buildImageUsingBuildImage(ctx android.ModuleContext) android.OutputPath { argument [all …]
|
D | Android.bp | 6 name: "soong-filesystem", 7 pkgPath: "android/soong/filesystem", 16 "filesystem.go",
|
D | system_image.go | 15 package filesystem package 23 filesystem anonMember 39 module.filesystem.buildExtraFiles = module.buildExtraFiles 40 initFilesystemModule(&module.filesystem)
|
D | testing.go | 15 package filesystem package
|
D | bootimg.go | 15 package filesystem package 186 if filesystem, ok := ramdisk.(*filesystem); ok { 191 cmd.FlagWithInput(flag, filesystem.OutputPath())
|
D | filesystem_test.go | 15 package filesystem package
|
D | logical_partition.go | 15 package filesystem package
|
D | vbmeta.go | 15 package filesystem package
|
/build/soong/ui/build/ |
D | finder.go | 46 filesystem := fs.OsFs 56 _, statErr := filesystem.Lstat(prunePath) 93 f, err = finder.New(cacheParams, filesystem, logger.New(ioutil.Discard),
|
/build/make/tools/fs_config/ |
D | README.md | 15 results. The Target files are used by filesystem and adb tools to ensure that the file and directory 17 in the final stages when building the filesystem images to set the file and directory properties. 40 …on [source.android.com](https://source.android.com/devices/tech/config/filesystem#configuring-aids…
|
/build/soong/apex/ |
D | Android.bp | 14 "soong-filesystem",
|
D | apex.go | 1571 func apexFileForFilesystem(ctx android.BaseModuleContext, buildFile android.Path, fs filesystem.Fil… 1771 if fs, ok := child.(filesystem.Filesystem); ok {
|
/build/soong/docs/ |
D | clion.md | 61 ### Flattened filesystem
|
/build/make/tools/fs_config/end_to_end_test/ |
D | config.fs | 16 # This file is used to define the properties of the filesystem
|