Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/tests/unit/
Dupdater_test.cpp92 static void BuildUpdatePackage(const PackageEntries& entries, int fd) { in BuildUpdatePackage() argument
96 for (const auto& entry : entries) { in BuildUpdatePackage()
163 void RunBlockImageUpdate(bool is_verify, PackageEntries entries, const std::string& image_file, in RunBlockImageUpdate() argument
165 CHECK(entries.find("transfer_list") != entries.end()); in RunBlockImageUpdate()
167 entries.find("new_data.br") != entries.end() ? "new_data.br" : "new_data"; in RunBlockImageUpdate()
171 entries.emplace(Updater::SCRIPT_NAME, script); in RunBlockImageUpdate()
175 BuildUpdatePackage(entries, zip_file.release()); in RunBlockImageUpdate()
436 PackageEntries entries{ in TEST_F() local
442 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
485 PackageEntries entries{ in TEST_F() local
[all …]
Dpackage_test.cpp43 std::vector<std::string> entries = { "file1.txt", "file2.txt", "dir1/file3.txt" }; in SetUp() local
46 for (const auto& entry : entries) { in SetUp()
/bootable/recovery/install/
Dfuse_install.cpp68 std::vector<std::string> entries{ "../" }; // "../" is always the first entry. in BrowseDirectory() local
80 entries.push_back(name); in BrowseDirectory()
85 std::sort(entries.begin(), entries.end()); in BrowseDirectory()
88 entries.insert(entries.end(), dirs.begin(), dirs.end()); in BrowseDirectory()
95 headers, entries, chosen_item, true, in BrowseDirectory()
103 const std::string& item = entries[chosen_item]; in BrowseDirectory()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DPayloadSpecs.java55 Enumeration<? extends ZipEntry> entries = zip.entries(); in forNonStreaming() local
57 while (entries.hasMoreElements()) { in forNonStreaming()
58 ZipEntry entry = entries.nextElement(); in forNonStreaming()
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp53 static void AddZipEntries(int fd, const std::map<string, string>& entries) { in AddZipEntries() argument
56 for (const auto& pair : entries) { in AddZipEntries()
199 std::map<string, string> entries = { in TEST_F() local
211 AddZipEntries(zip_file.release(), entries); in TEST_F()
/bootable/recovery/
Drecovery.cpp221 std::vector<std::string> entries; in choose_recovery_file() local
231 entries.push_back(std::move(log_file)); in choose_recovery_file()
246 entries.push_back(Paths::Get().temporary_log_file()); in choose_recovery_file()
250 entries.push_back("Back"); in choose_recovery_file()
257 headers, entries, chosen_item, true, in choose_recovery_file()
264 if (entries[chosen_item] == "Back") break; in choose_recovery_file()
266 device->GetUI()->ShowFile(entries[chosen_item]); in choose_recovery_file()
/bootable/recovery/updater_sample/
DREADME.md38 If `ab_install_type` is `STREAMING`, app downloads only the entries in need, as
41 streamed by `update_engine` directly. The ZIP entries in such a package need to be
/bootable/recovery/tests/testdata/
Drecovery_body8671 # group, then they'll only see log entries for their UID.