Home
last modified time | relevance | path

Searched refs:CACHE_TEMP_SOURCE (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/applypatch/
Dapplypatch.sh17 CACHE_TEMP_SOURCE=/cache/saved.file
87 run_command rm $CACHE_TEMP_SOURCE
129 $ADB push $DATA_DIR/old.file $CACHE_TEMP_SOURCE
209 run_command rm $CACHE_TEMP_SOURCE
221 $ADB push $DATA_DIR/old.file $CACHE_TEMP_SOURCE
231 run_command dd if=/dev/urandom of=$CACHE_TEMP_SOURCE count=100 bs=1024 || fail
278 run_command "echo > $CACHE_TEMP_SOURCE"
297 run_command ls $CACHE_TEMP_SOURCE || fail # wasn't deleted because it's the source fil…
303 run_command ls $CACHE_TEMP_SOURCE || fail # wasn't deleted because it's the source file copy
313 run_command ls $CACHE_TEMP_SOURCE || fail # wasn't deleted because it's the source file copy
[all …]
Dapplypatch.h42 #define CACHE_TEMP_SOURCE "/cache/saved.file" macro
Dapplypatch.c516 if (LoadFileContents(CACHE_TEMP_SOURCE, &file, RETOUCH_DO_MASK) != 0) { in applypatch_check()
680 if (LoadFileContents(CACHE_TEMP_SOURCE, &copy_file, in applypatch()
759 if (SaveFileContents(CACHE_TEMP_SOURCE, source_file) < 0) { in GenerateTarget()
800 if (SaveFileContents(CACHE_TEMP_SOURCE, source_file) < 0) { in GenerateTarget()
936 if (made_copy) unlink(CACHE_TEMP_SOURCE); in GenerateTarget()
Dfreecache.c104 if (strcmp(path, CACHE_TEMP_SOURCE) == 0) continue; in FindExpendableFiles()