Home
last modified time | relevance | path

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

12345678910>>...30

/system/update_engine/payload_generator/
Dboot_img_filesystem_unittest.cc77 vector<FilesystemInterface::File> files; in TEST_F() local
78 EXPECT_TRUE(fs->GetFiles(&files)); in TEST_F()
79 ASSERT_EQ(2u, files.size()); in TEST_F()
81 EXPECT_EQ("<kernel>", files[0].name); in TEST_F()
82 EXPECT_EQ(1u, files[0].extents.size()); in TEST_F()
83 EXPECT_EQ(1u, files[0].extents[0].start_block()); in TEST_F()
84 EXPECT_EQ(1u, files[0].extents[0].num_blocks()); in TEST_F()
85 EXPECT_TRUE(files[0].deflates.empty()); in TEST_F()
87 EXPECT_EQ("<ramdisk>", files[1].name); in TEST_F()
88 EXPECT_EQ(1u, files[1].extents.size()); in TEST_F()
[all …]
Dsquashfs_filesystem_unittest.cc79 vector<FilesystemInterface::File> files; in CheckSquashfs() local
80 ASSERT_TRUE(fs->GetFiles(&files)); in CheckSquashfs()
83 for (const auto& file : files) { in CheckSquashfs()
91 EXPECT_TRUE(std::is_sorted(files.begin(), in CheckSquashfs()
92 files.end(), in CheckSquashfs()
106 EXPECT_EQ(std::adjacent_find(files.begin(), files.end(), overlap_check), in CheckSquashfs()
107 files.end()); in CheckSquashfs()
121 vector<FilesystemInterface::File> files; in TEST_F() local
122 ASSERT_TRUE(fs->GetFiles(&files)); in TEST_F()
123 ASSERT_EQ(files.size(), 1u); in TEST_F()
[all …]
Dmapfile_filesystem_unittest.cc86 vector<FilesystemInterface::File> files; in TEST_F() local
87 EXPECT_TRUE(fs->GetFiles(&files)); in TEST_F()
90 for (const auto& file : files) { in TEST_F()
118 vector<FilesystemInterface::File> files; in TEST_F() local
119 EXPECT_FALSE(fs->GetFiles(&files)); in TEST_F()
130 vector<FilesystemInterface::File> files; in TEST_F() local
131 EXPECT_FALSE(fs->GetFiles(&files)); in TEST_F()
Draw_filesystem.cc47 bool RawFilesystem::GetFiles(std::vector<File>* files) const { in GetFiles()
48 files->clear(); in GetFiles()
52 files->push_back(file); in GetFiles()
Dext2_filesystem.cc89 vector<FilesystemInterface::File>* files = nullptr; member
122 state->files->push_back(ino_file->second); in UpdateFileAndAppend()
161 bool Ext2Filesystem::GetFiles(vector<File>* files) const { in GetFiles()
256 priv_data.files = files; in GetFiles()
259 files->clear(); in GetFiles()
272 files->push_back(inodes[dir_ino]); in GetFiles()
295 files->push_back(inode_file); in GetFiles()
310 files->push_back(free_space); in GetFiles()
326 files->push_back(file); in GetFiles()
Dext2_filesystem_unittest.cc83 vector<FilesystemInterface::File> files; in TEST_F() local
84 EXPECT_TRUE(fs->GetFiles(&files)); in TEST_F()
87 for (const auto& file : files) { in TEST_F()
110 vector<FilesystemInterface::File> files; in TEST_F() local
113 EXPECT_TRUE(fs->GetFiles(&files)); in TEST_F()
114 for (const auto& file : files) { in TEST_F()
Ddeflate_utils.cc89 vector<FilesystemInterface::File>* files) { in RealignSplittedFiles() argument
93 for (auto& in_file : *files) { // We need to modify so no constant. in RealignSplittedFiles()
291 vector<FilesystemInterface::File> files; in PreprocessPartitionFiles() local
292 sqfs->GetFiles(&files); in PreprocessPartitionFiles()
297 if (files.size() > 1 || in PreprocessPartitionFiles()
298 (files.size() == 1 && !files[0].deflates.empty())) { in PreprocessPartitionFiles()
299 TEST_AND_RETURN_FALSE(RealignSplittedFiles(file, &files)); in PreprocessPartitionFiles()
300 result_files->insert(result_files->end(), files.begin(), files.end()); in PreprocessPartitionFiles()
/system/extras/simpleperf/
DAndroid.mk21 $(filter-out scripts/update.py,$(call all-named-files-under,*.py,scripts)) \
25 $(call all-named-files-under,*,scripts/script_testdata) \
26 $(call all-named-files-under,*.js,scripts) \
27 $(call all-named-files-under,*.css,scripts) \
28 $(call all-named-files-under,*,doc) \
29 $(call all-named-files-under,app-profiling.apk,demo) \
30 $(call all-named-files-under,*.so,demo) \
31 $(call all-cpp-files-under,demo) \
32 $(call all-java-files-under,demo) \
33 $(call all-named-files-under,*.kt,demo) \
[all …]
/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp26 static void get_files_in_dirs(const char* dir_path, std::vector<std::string>& files) { in get_files_in_dirs() argument
39 files.push_back(de->d_name); in get_files_in_dirs()
59 std::vector<std::string> files; in TEST() local
60 get_files_in_dirs(dir_path, files); in TEST()
61 for (std::string file_name : files) { in TEST()
73 std::vector<std::string> files; in TEST() local
74 get_files_in_dirs(dir_path, files); in TEST()
75 for (std::string file_name : files) { in TEST()
/system/core/libsparse/
Dsimg2simg.cpp47 int files; in main() local
69 files = sparse_file_resparse(s, max_size, nullptr, 0); in main()
70 if (files < 0) { in main()
75 out_s = calloc(sizeof(struct sparse_file*), files); in main()
81 files = sparse_file_resparse(s, max_size, out_s, files); in main()
82 if (files < 0) { in main()
87 for (i = 0; i < files; i++) { in main()
/system/core/libunwindstack/
DAndroid.bp266 "tests/files/elf32.xz",
267 "tests/files/elf64.xz",
268 "tests/files/offline/art_quick_osr_stub_arm/*",
269 "tests/files/offline/bad_eh_frame_hdr_arm64/*",
270 "tests/files/offline/debug_frame_first_x86/*",
271 "tests/files/offline/debug_frame_load_bias_arm/*",
272 "tests/files/offline/eh_frame_bias_x86/*",
273 "tests/files/offline/eh_frame_hdr_begin_x86_64/*",
274 "tests/files/offline/empty_arm64/*",
275 "tests/files/offline/invalid_elf_offset_arm/*",
[all …]
/system/timezone/
DREADME.android15 - Code related to "distros", the collection of files that can be used to
19 - Contains files that provide inputs to the time zone rules update process.
20 Some files come from external sources and some are mastered in Android.
24 - Contains tools that generate Android time zone files.
27 - Contains some derived files from the time zone rules update process and
28 used in the Android system image, distros and APEX files. Some files are
46 download-iana-files.py
48 It downloads the latest tzdata and/or tzcode files from IANA and puts them
50 update-tzdata.py script. See download-iana-files.py --help for more.
54 data files.
[all …]
/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp236 auto files = result.value(); in TEST() local
237 EXPECT_EQ(3UL, files.size()); in TEST()
239 std::sort(files.begin(), files.end()); in TEST()
240 EXPECT_EQ(file_path_1.value(), files[0]); in TEST()
241 EXPECT_EQ(file_path_2.value(), files[1]); in TEST()
242 EXPECT_EQ(file_path_3.value(), files[2]); in TEST()
269 auto files = result.value(); in TEST() local
270 EXPECT_EQ(2UL, files.size()); // Should not include the symlink file. in TEST()
272 std::sort(files.begin(), files.end()); in TEST()
273 EXPECT_EQ(file_path_1.value(), files[0]); in TEST()
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_health.te8 # Read access to system files for HALs in
10 # to be able to open the hal implementation .so files
21 # Allow to read files under /sys/class/power_supply. Implementations typically have symlinks
22 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health
/system/timezone/distro/
DREADME2 files.
4 A distro file is a zip archive containing the files needed to update the time
5 zone rules on a correctly configured Android device, i.e. files required by
/system/sepolicy/prebuilts/api/30.0/private/
Dviewcompiler.te7 # Use tmpfs_domain() which will give tmpfs files created by viewcompiler their
9 # This allows to distinguish in policy files created by viewcompiler vs other
15 # Include write permission for app data files so viewcompiler can generate
16 # compiled layout dex files
/system/sepolicy/prebuilts/api/29.0/private/
Dviewcompiler.te7 # Use tmpfs_domain() which will give tmpfs files created by viewcompiler their
9 # This allows to distinguish in policy files created by viewcompiler vs other
15 # Include write permission for app data files so viewcompiler can generate
16 # compiled layout dex files
/system/sepolicy/private/
Dviewcompiler.te7 # Use tmpfs_domain() which will give tmpfs files created by viewcompiler their
9 # This allows to distinguish in policy files created by viewcompiler vs other
15 # Include write permission for app data files so viewcompiler can generate
16 # compiled layout dex files
/system/bt/build/secondary/third_party/libchrome/
DBUILD.gn41 "base/files/file.cc",
42 "base/files/file_descriptor_watcher_posix.cc",
43 "base/files/file_enumerator.cc",
44 "base/files/file_enumerator_posix.cc",
45 "base/files/file_path.cc",
46 "base/files/file_path_constants.cc",
47 "base/files/file_path_watcher.cc",
48 "base/files/file_path_watcher_linux.cc",
49 "base/files/file_posix.cc",
50 "base/files/file_tracing.cc",
[all …]
/system/vold/bench/
Dbenchgen.py57 files = {} variable
61 if name not in files:
62 files[name] = File(name, len(files))
63 return files[name]
313 total = len(files.values())
314 for f in files.values():
329 for f in files.values():
345 size = sum([ f.size for f in files.values() ])
346 print "Found", len(files), "data files accessed, total size", (size/1024), "kB"
/system/core/adb/client/
Dincremental.cpp96 static unique_fd start_install(const Files& files, const Args& passthrough_args, bool silent) { in start_install() argument
100 for (int i = 0, size = files.size(); i < size; ++i) { in start_install()
101 const auto& file = files[i]; in start_install()
134 bool can_install(const Files& files) { in can_install() argument
135 for (const auto& file : files) { in can_install()
149 std::optional<Process> install(const Files& files, const Args& passthrough_args, bool silent) { in install() argument
150 auto connection_fd = start_install(files, passthrough_args, silent); in install()
179 std::vector<std::string> args(std::move(files)); in install()
/system/extras/ioshark/
DREADME7 into it and compiles this into bytecodes (stored in *.wl files). The
9 device) is the tester that takes as input the bytecode files (*.wl
10 files) and executes them on the device.
17 files into a wl.tar file.
28 will launch as many threads as there are input files, so 1 thread/file.
31 -q : Don't create the files in read-only partitions like /system and
32 /vendor. Instead do reads on those files.
50 /* Total number of files used in this IOshark workload file */
/system/sepolicy/
DREADME9 Additional, per device, policy files can be added into the
10 policy build. These files should have each line including the
12 will allow files to be concatenated and processed whenever
14 Adding the newline will also make the intermediate text files
16 service and property contexts files will automatically have a
20 These device policy files can be configured through the use of
25 for additional policy files. Order matters in this list.
26 For example, if you have 2 instances of widget.te files in the
42 * All *.te and SE Linux policy files as passed to checkpolicy
58 string. Details of the files contents can be found in a comment at the
[all …]
/system/bt/doc/
Ddirectory_layout.md7 * src/ - All source files for the subsystem.
8 * include/ - All include files for the subsystem.
16 * conf - *Configuration* - Various configuration text files.
20 * include - **Deprecated** - System global include files.
/system/sepolicy/tests/
Dfc_sort.py73 def ReadFileContexts(files): argument
75 for f in files:
114 def FcSort(files): argument
115 for f in files:
119 Fc = ReadFileContexts(files)

12345678910>>...30