Searched refs:tempdir (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/scripts/ |
D | simulate_ota.py | 58 def run_ota(source, target, payload_path, tempdir): argument 72 old_image = os.path.join(tempdir, "source_" + name + ".img") 73 new_image = os.path.join(tempdir, "target_" + name + ".img") 135 with tempfile.TemporaryDirectory() as tempdir: 140 zfp.extract(payload_entry_name, tempdir) 141 payload_path = os.path.join(tempdir, payload_entry_name) 143 run_ota(args.source[0], args.target[0], payload_path, tempdir)
|
/system/update_engine/cros/ |
D | omaha_response_handler_action_unittest.cc | 496 base::ScopedTempDir tempdir; in TEST_F() local 497 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 501 params.set_root(tempdir.GetPath().value()); in TEST_F() 524 base::ScopedTempDir tempdir; in TEST_F() local 525 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 529 params.set_root(tempdir.GetPath().value()); in TEST_F() 552 base::ScopedTempDir tempdir; in TEST_F() local 553 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 557 params.set_root(tempdir.GetPath().value()); in TEST_F() 580 base::ScopedTempDir tempdir; in TEST_F() local [all …]
|
D | update_attempter_unittest.cc | 1662 base::ScopedTempDir tempdir; in TEST_F() local 1663 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 1664 FakeSystemState::Get()->request_params()->set_root(tempdir.GetPath().value()); in TEST_F() 1673 base::ScopedTempDir tempdir; in TEST_F() local 1674 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 1675 FakeSystemState::Get()->request_params()->set_root(tempdir.GetPath().value()); in TEST_F()
|
D | omaha_request_action_unittest.cc | 2263 base::ScopedTempDir tempdir; in TEST_F() local 2264 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 2266 request_params_.set_root(tempdir.GetPath().value()); in TEST_F() 2293 base::ScopedTempDir tempdir; in TEST_F() local 2294 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 2296 request_params_.set_root(tempdir.GetPath().value()); in TEST_F()
|
/system/gsid/tests/ |
D | DSUEndtoEndTest.java | 85 File tempdir = ZipUtil2.extractZipToTemp(otaTools, "otatools"); in testDSU() local 89 String lpunpackPath = new File(tempdir, LPUNPACK_PATH).getAbsolutePath(); in testDSU() 108 simg2imgPath = new File(tempdir, SIMG2IMG_PATH).getAbsolutePath(); in testDSU()
|
/system/update_engine/common/ |
D | subprocess_unittest.cc | 238 base::ScopedTempDir tempdir; in TEST_F() local 239 ASSERT_TRUE(tempdir.CreateUniqueTempDir()); in TEST_F() 240 string fifo_path = tempdir.GetPath().Append("fifo").value(); in TEST_F()
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 1345 tempdir="`mktemp -d`" 1347 rm -rf ${tempdir} 1349 adb pull /system/lib/bootstrap/libc.so ${tempdir} >/dev/null || 1352 echo "${garbage}" >> ${tempdir}/libc.so 1353 adb push ${tempdir}/libc.so /system/lib/bootstrap/libc.so >/dev/null || 1355 adb pull /system/lib/bootstrap/libc.so ${tempdir}/libc.so.fromdevice >/dev/null || 1357 diff ${tempdir}/libc.so ${tempdir}/libc.so.fromdevice > /dev/null || 1427 adb pull /system/lib/bootstrap/libc.so ${tempdir}/libc.so.fromdevice >/dev/null || 1429 diff ${tempdir}/libc.so ${tempdir}/libc.so.fromdevice > /dev/null || die "libc.so differ" 1430 rm -rf ${tempdir}
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer_test.cpp | 520 std::string tempdir = root_dir + "/XXXXXX"s; in main() local 521 if (!mkdtemp(tempdir.data())) { in main() 525 if (!android::base::Realpath(tempdir, &gTestDir)) { in main() 526 cerr << "unable to find realpath for " << tempdir; in main()
|