Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 – 12 of 12) sorted by relevance

/system/update_engine/scripts/
Dtest_paycheck.sh141 tmpdir="$(mktemp -d --tmpdir test_paycheck.XXXXXXXX)"
142 log "Initiating application of payloads at $tmpdir"
145 apply_full_payload "${old_full_payload}" "${tmpdir}" "${OLD_KERN_PART}" \
150 apply_full_payload "${new_full_payload}" "${tmpdir}" "${NEW_FULL_KERN_PART}" \
155 apply_delta_payload "${delta_payload}" "${tmpdir}" "${NEW_DELTA_KERN_PART}" \
161 diff "${tmpdir}/${NEW_FULL_KERN_PART}" "${tmpdir}/${NEW_DELTA_KERN_PART}"
162 diff "${tmpdir}/${NEW_FULL_ROOT_PART}" "${tmpdir}/${NEW_DELTA_ROOT_PART}"
166 rm -fr "${tmpdir}"
Dbrillo_update_payload300 mktemp --tmpdir="${FLAGS_work_dir}" "${pattern}"
/system/libufdt/tests/
Dapply_verify_multiple_overlay.sh17 tmpdir=$(mktemp -d)
20 dtc -@ -qq -O dtb -o "${tmpdir}/${BASE_DT_NAME}.dtb" "${IN_DATA_DIR}/${BASE_DT_NAME}.dts"
21 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_1}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_1}.dts"
22 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_2}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_2}.dts"
23 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_3}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_3}.dts"
24 dtc -@ -qq -O dtb -o "${tmpdir}/${OVERLAY_DT_4}.dtb" "${IN_DATA_DIR}/${OVERLAY_DT_4}.dts"
26 cd $tmpdir
DverifyDTBO.sh12 tmpdir=$(mktemp -d)
15 cd $tmpdir
/system/core/base/
Dfile.cpp77 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir() local
78 if (tmpdir == nullptr) tmpdir = "/data/local/tmp"; in GetSystemTempDir()
79 if (access(tmpdir, R_OK | W_OK | X_OK) == 0) { in GetSystemTempDir()
80 return tmpdir; in GetSystemTempDir()
97 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir()
98 if (tmpdir == nullptr) tmpdir = "/tmp"; in GetSystemTempDir()
99 return tmpdir; in GetSystemTempDir()
/system/extras/simpleperf/
Ddso_test.cpp32 TemporaryDir tmpdir; in TEST() local
33 TemporaryFile tmpfile(tmpdir.path); in TEST()
40 std::string build_id_list_file = std::string(tmpdir.path) + "/build_id_list"; in TEST()
44 ASSERT_TRUE(finder.SetSymFsDir(tmpdir.path)); in TEST()
Denvironment_test.cpp38 TemporaryDir tmpdir; in TEST() local
39 ScopedTempFiles scoped_temp_files(tmpdir.path); in TEST()
DCallChainJoiner_test.cpp157 std::string tmpdir = "/data/local/tmp"; in SetUp() local
159 std::string tmpdir = "/tmp"; in SetUp()
161 scoped_temp_files_.reset(new ScopedTempFiles(tmpdir)); in SetUp()
/system/extras/simpleperf/runtest/
Druntest.py347 self.tmpdir = '/data/local/tmp/'
349 super(DeviceRunner, self).__init__(target, self.tmpdir + perf_path)
350 self._download(os.environ['OUT'] + '/system/xbin/' + perf_path, self.tmpdir)
353 self.tmpdir)
360 args_with_adb.append('export LD_LIBRARY_PATH=' + self.tmpdir + ' && ' + ' '.join(args))
371 ('32' if self.is32 else '64'), self.tmpdir)
372 super(DeviceRunner, self).record(self.tmpdir + test_executable_name,
373 self.tmpdir + record_file,
377 super(DeviceRunner, self).report(self.tmpdir + record_file,
/system/bt/tools/scripts/
Dviewbtsnoop.sh33 TMPDIR=$(mktemp --tmpdir -d "viewbtsnooz_XXXXX")
/system/update_engine/sample_images/
Dgenerate_images.sh220 local mntdir=$(mktemp --tmpdir -d generate_ext2.XXXXXX)
/system/core/fastboot/
Dfastboot.cpp561 const char* tmpdir = getenv("TMPDIR"); in make_temporary_template() local
562 if (tmpdir == nullptr) tmpdir = P_tmpdir; in make_temporary_template()
563 return std::string(tmpdir) + "/fastboot_userdata_XXXXXX"; in make_temporary_template()