Home | History | Annotate | Download | only in updater

Lines Matching defs:source

2  * Copyright (C) 2009 The Android Open Source Project
200 // Checks if the target and source partitions have the desired checksums to be patched. It returns
202 // checks the integrity of the source partition and the backup file on /cache.
226 auto source = Partition::Parse(args[1], &err);
227 if (!source) {
228 return ErrorAbort(state, kArgsParsingFailure, "%s(): Failed to parse source \"%s\": %s", name,
232 bool result = PatchPartitionCheck(target, source);
236 // patch_partition(target, source, patch)
237 // Applies the given patch to the source partition, and writes the result to the target partition.
262 auto source = Partition::Parse(args[1], &err);
263 if (!source) {
264 return ErrorAbort(state, kArgsParsingFailure, "%s(): Failed to parse source \"%s\": %s", name,
273 bool result = PatchPartition(target, source, *values[0], nullptr);