Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 – 10 of 10) sorted by relevance

/build/make/tools/releasetools/testdata/
Dsigning_helper.sh18 tmpfile=$(mktemp)
19 cat $3 | openssl rsautl -sign -inkey $2 -raw > $tmpfile
20 cat $tmpfile > $3
21 rm $tmpfile
/build/make/tools/finalization/
Dfinalize-sdk-resources.sh17 local tmpfile=$(mktemp /tmp/finalization.XXXXXX)
20 #define __ANDROID_API_${FINAL_PLATFORM_CODENAME:0:1}__ $FINAL_PLATFORM_SDK_VERSION" > "$tmpfile"
23 sed -i -e "/__.*$((${FINAL_PLATFORM_SDK_VERSION}-1))/r""$tmpfile" $api_level
25 rm "$tmpfile"
33 local tmpfile=$(mktemp /tmp/finalization.XXXXXX)
39 }" > "$tmpfile"
48 r '"$tmpfile"'
56 }" > "$tmpfile"
64 r '"$tmpfile"'
67 rm "$tmpfile"
/build/make/tools/releasetools/
Dcreate_brick_ota.py88 with tempfile.NamedTemporaryFile() as tmpfile:
89 common.SignFile(args.otafile, tmpfile.name,
91 shutil.copy(tmpfile.name, args.otafile)
Dtest_add_img_to_target_files.py393 with tempfile.NamedTemporaryFile() as tmpfile:
394 tmpfile.truncate(4096 * 13)
395 test_utils.append_avb_footer(tmpfile.name, "system")
396 name, care_map = GetCareMap('system', tmpfile.name)
Dtest_blockimgdiff.py302 tmpfile = common.MakeTempFile()
303 with open(tmpfile, 'wb') as f:
305 with open(tmpfile, 'rb') as f:
Dnon_ab_ota.py566 tmpfile = common.MakeTempFile(suffix=".zip")
567 os.unlink(tmpfile)
569 ["zip", tmpfile, "-r", ".", "-0"], cwd=target_file)
570 assert zipfile.is_zipfile(tmpfile)
571 target_file = tmpfile
Dmerge_ota.py142 with tempfile.NamedTemporaryFile(prefix="payload_blob") as tmpfile:
143 ConcatBlobs(payloads, tmpfile)
Dadd_img_to_target_files.py123 with tempfile.NamedTemporaryFile() as tmpfile:
127 tmpfile.write(data)
128 tmpfile.flush()
129 avbfooter = ParseAvbFooter(tmpfile.name)
Dtest_common.py42 tmpfile = tempfile.NamedTemporaryFile()
43 tmpfile.truncate(size)
45 tmpfile.write(os.urandom(block_size))
46 tmpfile.seek(step_size - block_size, os.SEEK_CUR)
47 return tmpfile
584 with get_2gb_file() as tmpfile:
585 self._test_ZipWriteFile(tmpfile.name, {
/build/soong/makedeps/
Ddeps_test.go202 tmpfile, err := ioutil.TempFile("", "depfile")
206 defer os.Remove(tmpfile.Name())
207 …_, err = io.WriteString(tmpfile, `out/soong/.intermediates/external/ninja/ninja/linux_glibc_x86_64…
322 tmpfile.Close()
329 depfile, err := ioutil.ReadFile(tmpfile.Name())
334 _, err = Parse(tmpfile.Name(), bytes.NewBuffer(depfile))