/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 | 155 filesystem fs.FileSystem member 172 func New(cacheParams CacheParams, filesystem fs.FileSystem, 174 return newImpl(cacheParams, filesystem, logger, dbPath, defaultNumThreads) 178 func newImpl(cacheParams CacheParams, filesystem fs.FileSystem, 187 FilesystemView: filesystem.ViewId(), 196 filesystem: filesystem, 850 reader, err := f.filesystem.Open(dbPath) 1172 err = f.filesystem.WriteFile(tempPath, bytes, 0777) 1176 err = f.filesystem.Rename(tempPath, f.DbPath) 1283 fileInfo, err := f.filesystem.Lstat(path) [all …]
|
/build/soong/finder/fs/ |
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 | 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 | Android.bp | 16 // mock filesystem
|
/build/soong/filesystem/ |
D | system_image.go | 15 package filesystem package 23 filesystem anonMember 39 module.filesystem.buildExtraFiles = module.buildExtraFiles 40 module.filesystem.filterPackagingSpec = module.filterPackagingSpec 41 initFilesystemModule(&module.filesystem) 46 if s.filesystem.properties.Partition_type != nil { 101 return s.filesystem.filterInstallablePackagingSpec(ps) && ps.Partition() == "system"
|
D | Android.bp | 6 name: "soong-filesystem", 7 pkgPath: "android/soong/filesystem", 22 "filesystem.go",
|
D | filesystem.go | 15 package filesystem package 47 type filesystem struct { struct 146 module := &filesystem{} 152 func initFilesystemModule(module *filesystem) { argument 165 func (f *filesystem) DepsMutator(ctx android.BottomUpMutatorContext) { argument 178 func (f *filesystem) fsType(ctx android.ModuleContext) fsType { argument 193 func (f *filesystem) installFileName() string { argument 197 func (f *filesystem) partitionName() string { argument 201 func (f *filesystem) filterInstallablePackagingSpec(ps android.PackagingSpec) bool { argument 209 func (f *filesystem) GenerateAndroidBuildActions(ctx android.ModuleContext) { argument [all …]
|
D | testing.go | 15 package filesystem package
|
D | filesystem_test.go | 15 package filesystem package 124 fs := result.ModuleForTests("myfilesystem", "android_common").Module().(*filesystem) 339 filesystem := result.ModuleForTests("myfilesystem", "android_common_cov") 340 inputs := filesystem.Output("myfilesystem.img").Implicits 348 filesystemOutput := filesystem.Output("myfilesystem.img").Output 491 fs := result.ModuleForTests("fs", "android_common").Module().(*filesystem) 554 fs := result.ModuleForTests(c.fsName, "android_common").Module().(*filesystem)
|
D | aconfig_files.go | 15 package filesystem package 25 func (f *filesystem) buildAconfigFlagsFiles(ctx android.ModuleContext, builder *android.RuleBuilder…
|
D | fsverity_metadata.go | 15 package filesystem package 35 func (f *filesystem) writeManifestGeneratorListFile(ctx android.ModuleContext, outputPath android.O… 44 func (f *filesystem) buildFsverityMetadataFiles(ctx android.ModuleContext, builder *android.RuleBui…
|
D | bootimg.go | 15 package filesystem package 183 if filesystem, ok := ramdisk.(*filesystem); ok { 188 cmd.FlagWithInput(flag, filesystem.OutputPath())
|
D | raw_binary.go | 15 package filesystem package
|
D | avb_gen_vbmeta_image.go | 15 package filesystem package
|
D | avb_add_hash_footer.go | 15 package filesystem package
|
/build/bazel/scripts/ |
D | apex_compare.sh | 46 You need to have file-as-filesystem viewer application `view_file_as_fs`
|
/build/soong/ui/build/ |
D | finder.go | 47 filesystem := fs.OsFs 57 _, statErr := filesystem.Lstat(prunePath) 91 f, err = finder.New(cacheParams, filesystem, logger.New(ioutil.Discard),
|
/build/soong/apex/ |
D | Android.bp | 16 "soong-filesystem",
|
/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/compliance/license_metadata_proto/ |
D | license_metadata.proto | 65 // InstallMap messages describe the mapping from an input filesystem file to the path to the file 68 // The input path on the filesystem.
|
/build/make/tools/zipalign/tests/src/ |
D | align_test.cpp | 43 std::filesystem::path temp_path = std::filesystem::path(testing::TempDir()); in GetTempPath()
|
/build/soong/provenance/provenance_metadata_proto/ |
D | provenance_metadata.proto | 35 // The install path of the artifact in filesystem images.
|
/build/make/tools/fs_config/end_to_end_test/ |
D | config.fs | 16 # This file is used to define the properties of the filesystem
|
/build/soong/docs/ |
D | clion.md | 65 ### Flattened filesystem
|