Home
last modified time | relevance | path

Searched refs:new_ramdisk (Results 1 – 2 of 2) sorted by relevance

/system/core/fastboot/
Dvendor_boot_img_utils.cpp208 const std::string& new_ramdisk) { in replace_default_vendor_ramdisk() argument
223 new_hdr->vendor_ramdisk_size = new_ramdisk.size(); in replace_default_vendor_ramdisk()
235 if (auto res = updater.Replace(hdr->vendor_ramdisk_size, new_ramdisk); !res.ok()) in replace_default_vendor_ramdisk()
302 const std::string& new_ramdisk) { in replace_vendor_ramdisk_fragment() argument
342 if (auto res = updater.Replace(replace_entry->ramdisk_size, new_ramdisk); !res.ok()) in replace_vendor_ramdisk_fragment()
344 new_total_ramdisk_size += new_ramdisk.size(); in replace_vendor_ramdisk_fragment()
375 new_entry->ramdisk_size = new_ramdisk.size(); in replace_vendor_ramdisk_fragment()
408 auto new_ramdisk = load_file(new_ramdisk_fd, new_ramdisk_size, "new vendor ramdisk"); in replace_vendor_ramdisk() local
409 if (!new_ramdisk.ok()) return new_ramdisk.error(); in replace_vendor_ramdisk()
413 new_vendor_boot = replace_default_vendor_ramdisk(*vendor_boot, *new_ramdisk); in replace_vendor_ramdisk()
[all …]
/system/tools/mkbootimg/
Drepack_bootimg.py223 new_ramdisk = self._temp_file_manager.make_temp_file(
225 self._ramdisk.repack_ramdisk(new_ramdisk)
248 mkbootimg_cmd.extend(['--vendor_ramdisk_fragment', new_ramdisk])
257 mkbootimg_cmd[ramdisk_index] = new_ramdisk