Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/
Dfreecache.cpp42 static int EliminateOpenFiles(const std::string& dirname, std::set<std::string>* files) { in EliminateOpenFiles() argument
70 if (files->erase(link) > 0) { in EliminateOpenFiles()
89 std::set<std::string> files; in FindExpendableFiles() local
107 files.insert(path); in FindExpendableFiles()
111 LOG(INFO) << files.size() << " regular files in deletable directory"; in FindExpendableFiles()
112 if (EliminateOpenFiles(dirname, &files) < 0) { in FindExpendableFiles()
116 return std::vector<std::string>(files.begin(), files.end()); in FindExpendableFiles()
202 std::vector<std::string> files; in RemoveFilesInDirectory() local
210 files = FindExpendableFiles(dirname, log_filter); in RemoveFilesInDirectory()
223 std::sort(files.begin(), files.end(), comparator); in RemoveFilesInDirectory()
[all …]
/bootable/recovery/tests/unit/
Dapplypatch_test.cpp180 void AddFilesToDir(const std::string& dir, const std::vector<std::string>& files) { in AddFilesToDir() argument
182 for (const auto& file : files) { in AddFilesToDir()
202 std::vector<std::string> files = FindFilesInDir(dirname); in MockFreeSpaceChecker() local
203 return PARTITION_SIZE - 4096 * files.size(); in MockFreeSpaceChecker()
214 std::vector<std::string> files = { "file1", "file2", "file3" }; in TEST_F() local
215 AddFilesToDir(mock_cache.path, files); in TEST_F()
216 ASSERT_EQ(files, FindFilesInDir(mock_cache.path)); in TEST_F()
226 std::vector<std::string> files{ "file1", "file2", "file3" }; in TEST_F() local
227 AddFilesToDir(mock_cache.path, files); in TEST_F()
228 ASSERT_EQ(files, FindFilesInDir(mock_cache.path)); in TEST_F()
[all …]
Dresources_test.cpp50 std::vector<std::string> files; in add_files() local
66 files.push_back(file_path); in add_files()
71 return files; in add_files()
/bootable/recovery/tools/image_generator/
DREADME.md4 This program uses java.awt.Graphics2D to generate the background text files used
18 files, e.g. $OUT/system/fonts/
/bootable/recovery/updater_sample/
DREADME.md22 In this sample updates are defined in JSON update config files.
27 In real-life update system the config files expected to be served from a server
28 to the app, but in this sample, the config files are stored on the device.
30 `/data/user/0/com.example.android.systemupdatersample/files/configs/`.
50 Config files can be generated using `tools/gen_update_config.py`.
168 5. Add update config files; look above at [Update Config file](#Update-Config-file).
179 `update_engine` service as well as OTA package files. Detailed steps are as follows:
199 8. Add update config files; look above at `## Update Config file`;
213 - [x] Add `UpdateConfig` for working with json config files
/bootable/recovery/tools/recovery_l10n/
DREADME.md24 adb root && adb pull /data/data/com.android.recovery_l10n/files/text-out.png
31 * zopflipng could further compress the png files by ~10%, more details
/bootable/recovery/fonts/
DOFL.txt29 "Font Software" refers to the set of files released by the Copyright
31 include source files, build scripts and documentation.
59 included either as stand-alone text files, human-readable headers or
61 binary files as long as those fields can be easily viewed by the user.
/bootable/recovery/otautil/
DAndroid.bp26 // Minimal set of files to support host build.
/bootable/recovery/update_verifier/
DAndroid.bp106 // filegroup contains .proto files. So add it here explicitly.
/bootable/recovery/
D.clang-format5 # $ git add <files>
DNOTICE41 source, and configuration files.
110 (b) You must cause any modified files to carry prominent notices
111 stating that You changed the files; and