Home
last modified time | relevance | path

Searched refs:filesystem (Results 1 – 25 of 30) sorted by relevance

12

/build/soong/finder/
Dfinder_test.go35 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 …]
Dfinder.go155 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/
Dfs_test.go24 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 …]
Dtest.go26 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 …]
DAndroid.bp16 // mock filesystem
/build/soong/filesystem/
Dsystem_image.go15 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"
DAndroid.bp6 name: "soong-filesystem",
7 pkgPath: "android/soong/filesystem",
22 "filesystem.go",
Dfilesystem.go15 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 …]
Dtesting.go15 package filesystem package
Dfilesystem_test.go15 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)
Daconfig_files.go15 package filesystem package
25 func (f *filesystem) buildAconfigFlagsFiles(ctx android.ModuleContext, builder *android.RuleBuilder…
Dfsverity_metadata.go15 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…
Dbootimg.go15 package filesystem package
183 if filesystem, ok := ramdisk.(*filesystem); ok {
188 cmd.FlagWithInput(flag, filesystem.OutputPath())
Draw_binary.go15 package filesystem package
Davb_gen_vbmeta_image.go15 package filesystem package
Davb_add_hash_footer.go15 package filesystem package
/build/bazel/scripts/
Dapex_compare.sh46 You need to have file-as-filesystem viewer application `view_file_as_fs`
/build/soong/ui/build/
Dfinder.go47 filesystem := fs.OsFs
57 _, statErr := filesystem.Lstat(prunePath)
91 f, err = finder.New(cacheParams, filesystem, logger.New(ioutil.Discard),
/build/soong/apex/
DAndroid.bp16 "soong-filesystem",
/build/make/tools/fs_config/
DREADME.md15 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/
Dlicense_metadata.proto65 // 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/
Dalign_test.cpp43 std::filesystem::path temp_path = std::filesystem::path(testing::TempDir()); in GetTempPath()
/build/soong/provenance/provenance_metadata_proto/
Dprovenance_metadata.proto35 // The install path of the artifact in filesystem images.
/build/make/tools/fs_config/end_to_end_test/
Dconfig.fs16 # This file is used to define the properties of the filesystem
/build/soong/docs/
Dclion.md65 ### Flattened filesystem

12