/bootable/deprecated-ota/tests/unit/ |
D | updater_test.cpp | 92 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 …]
|
/bootable/recovery/install/ |
D | fuse_install.cpp | 68 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/ |
D | PayloadSpecs.java | 55 Enumeration<? extends ZipEntry> entries = zip.entries(); in forNonStreaming() local 57 while (entries.hasMoreElements()) { in forNonStreaming() 58 ZipEntry entry = entries.nextElement(); in forNonStreaming()
|
/bootable/libbootloader/gbl/libstorage/src/ |
D | gpt.rs | 39 pub entries: u64, field 222 pub(crate) fn entries(&self) -> Result<&[GptEntry]> { in entries() method 234 for entry in self.entries()? { in find_partition() 257 let (header_start, header_bytes, entries) = match header_type { in validate_gpt() 276 let entries_offset = SafeNum::from(header.entries) * blk_dev.block_size(); in validate_gpt() 294 let out = &mut entries[..entries_size.try_into()?]; in validate_gpt() 333 primary_header.entries = primary_entries_blk; in load_and_sync() 353 secondary_header.entries = secondary_entries_blk.try_into()?; in load_and_sync() 371 let entries = in load_and_sync() localVariable 374 NonZeroU64::new(match entries.iter().position(|e| e.is_null()) { in load_and_sync()
|
D | testlib.rs | 464 entries: 2, in partitions_to_disk_data() 471 let entries: Vec<GptEntry> = partitions in partitions_to_disk_data() localVariable 495 header.entries_crc = entries in partitions_to_disk_data() 508 for e in &entries { in partitions_to_disk_data() 523 for e in entries { in partitions_to_disk_data() 530 header.entries = backup_entries_block.try_into().unwrap(); in partitions_to_disk_data()
|
D | lib.rs | 298 .entries()? in next()
|
/bootable/deprecated-ota/tests/unit/host/ |
D | update_simulator_test.cpp | 53 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/ |
D | recovery.cpp | 221 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/tests/unit/ |
D | package_test.cpp | 43 std::vector<std::string> entries = { "file1.txt", "file2.txt", "dir1/file3.txt" }; in SetUp() local 46 for (const auto& entry : entries) { in SetUp()
|
/bootable/libbootloader/gbl/third_party/libzbi/src/ |
D | lib.rs | 2570 let entries = get_test_entries_all(); in get_test_entries_creference() localVariable 2571 entries[entries.len() - 4..].to_vec() in get_test_entries_creference() 2575 let entries = get_test_entries_creference(); in get_test_creference_buffer() localVariable 2578 for entry in entries { in get_test_creference_buffer()
|
/bootable/recovery/updater_sample/ |
D | README.md | 38 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/ |
D | recovery_body | 8671 # group, then they'll only see log entries for their UID.
|