Home
last modified time | relevance | path

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

/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.go151 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/
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 …]
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 …]
DAndroid.bp16 // mock filesystem
/build/soong/bp2build/
Dcc_library_static_conversion_test.go80 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 …]
Dcc_library_conversion_test.go53 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 …]
Dcc_object_conversion_test.go33 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 …]
Dpython_binary_conversion_test.go19 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)
Dcc_library_headers_conversion_test.go80 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)
Dsh_conversion_test.go62 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/
Dfilesystem.go15 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 …]
DAndroid.bp6 name: "soong-filesystem",
7 pkgPath: "android/soong/filesystem",
16 "filesystem.go",
Dsystem_image.go15 package filesystem package
23 filesystem anonMember
39 module.filesystem.buildExtraFiles = module.buildExtraFiles
40 initFilesystemModule(&module.filesystem)
Dtesting.go15 package filesystem package
Dbootimg.go15 package filesystem package
186 if filesystem, ok := ramdisk.(*filesystem); ok {
191 cmd.FlagWithInput(flag, filesystem.OutputPath())
Dfilesystem_test.go15 package filesystem package
Dlogical_partition.go15 package filesystem package
Dvbmeta.go15 package filesystem package
/build/soong/ui/build/
Dfinder.go46 filesystem := fs.OsFs
56 _, statErr := filesystem.Lstat(prunePath)
93 f, err = finder.New(cacheParams, filesystem, logger.New(ioutil.Discard),
/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/apex/
DAndroid.bp14 "soong-filesystem",
Dapex.go1571 func apexFileForFilesystem(ctx android.BaseModuleContext, buildFile android.Path, fs filesystem.Fil…
1771 if fs, ok := child.(filesystem.Filesystem); ok {
/build/soong/docs/
Dclion.md61 ### Flattened filesystem
/build/make/tools/fs_config/end_to_end_test/
Dconfig.fs16 # This file is used to define the properties of the filesystem