Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dfuse_sdcard_install.cpp67 std::vector<std::string> entries{ "../" }; // "../" is always the first entry. in BrowseDirectory() local
78 entries.push_back(name); in BrowseDirectory()
83 std::sort(entries.begin(), entries.end()); in BrowseDirectory()
86 entries.insert(entries.end(), dirs.begin(), dirs.end()); in BrowseDirectory()
93 headers, entries, chosen_item, true, in BrowseDirectory()
101 const std::string& item = entries[chosen_item]; in BrowseDirectory()
/bootable/recovery/tests/component/
Dupdater_test.cpp88 static void BuildUpdatePackage(const PackageEntries& entries, int fd) { in BuildUpdatePackage() argument
92 for (const auto& entry : entries) { in BuildUpdatePackage()
105 static void RunBlockImageUpdate(bool is_verify, const PackageEntries& entries, in RunBlockImageUpdate() argument
108 CHECK(entries.find("transfer_list") != entries.end()); in RunBlockImageUpdate()
112 BuildUpdatePackage(entries, zip_file.release()); in RunBlockImageUpdate()
127 std::string new_data = entries.find("new_data.br") != entries.end() ? "new_data.br" : "new_data"; in RunBlockImageUpdate()
406 PackageEntries entries{ in TEST_F() local
412 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
455 PackageEntries entries{ in TEST_F() local
461 RunBlockImageUpdate(false, entries, image_file_, "", kHashTreeComputationFailure); in TEST_F()
[all …]
/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/
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/
Drecovery.cpp384 std::vector<std::string> entries; in choose_recovery_file() local
394 entries.push_back(std::move(log_file)); in choose_recovery_file()
409 entries.push_back(Paths::Get().temporary_log_file()); in choose_recovery_file()
413 entries.push_back("Back"); in choose_recovery_file()
420 headers, entries, chosen_item, true, in choose_recovery_file()
427 if (entries[chosen_item] == "Back") break; in choose_recovery_file()
429 ui->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