MCPcopy Create free account
hub / github.com/TeamWin/Team-Win-Recovery-Project / applypatch_flash

Function applypatch_flash

applypatch/applypatch.cpp:647–692  ·  view source on GitHub ↗

* This function flashes a given image to the target partition. It verifies * the target cheksum first, and will return if target has the desired hash. * It checks the checksum of the given source image before flashing, and * verifies the target partition afterwards. The function is idempotent. * Returns zero on success. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

FlashModeFunction · 0.85

Calls 7

ParseSha1Function · 0.85
to_stringFunction · 0.85
LoadPartitionContentsFunction · 0.85
short_sha1Function · 0.85
LoadFileContentsFunction · 0.85
WriteToPartitionFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected