Searched refs:tmpfile (Results 1 – 10 of 10) sorted by relevance
/build/make/tools/releasetools/testdata/ |
D | signing_helper.sh | 18 tmpfile=$(mktemp) 19 cat $3 | openssl rsautl -sign -inkey $2 -raw > $tmpfile 20 cat $tmpfile > $3 21 rm $tmpfile
|
/build/make/tools/finalization/ |
D | finalize-sdk-resources.sh | 17 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/ |
D | create_brick_ota.py | 88 with tempfile.NamedTemporaryFile() as tmpfile: 89 common.SignFile(args.otafile, tmpfile.name, 91 shutil.copy(tmpfile.name, args.otafile)
|
D | test_add_img_to_target_files.py | 393 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)
|
D | test_blockimgdiff.py | 302 tmpfile = common.MakeTempFile() 303 with open(tmpfile, 'wb') as f: 305 with open(tmpfile, 'rb') as f:
|
D | non_ab_ota.py | 566 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
|
D | merge_ota.py | 142 with tempfile.NamedTemporaryFile(prefix="payload_blob") as tmpfile: 143 ConcatBlobs(payloads, tmpfile)
|
D | add_img_to_target_files.py | 123 with tempfile.NamedTemporaryFile() as tmpfile: 127 tmpfile.write(data) 128 tmpfile.flush() 129 avbfooter = ParseAvbFooter(tmpfile.name)
|
D | test_common.py | 42 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/ |
D | deps_test.go | 202 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))
|