Home
last modified time | relevance | path

Searched refs:tmpdir (Results 1 – 13 of 13) 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_payload310 mktemp --tmpdir="${FLAGS_work_dir}" "${pattern}"
352 mktemp --directory --tmpdir="${FLAGS_work_dir}" "TEMP.XXXXXX")
/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/extras/simpleperf/
Dcmd_api_test.cpp82 TemporaryDir tmpdir; in RecordApp() local
83 ASSERT_TRUE(Workload::RunCmd({"unzip", "-d", tmpdir.path, tmpfile.path})); in RecordApp()
84 for (const std::string& filename : GetEntriesInDir(tmpdir.path)) { in RecordApp()
85 CheckPerfDataFile(std::string(tmpdir.path) + "/" + filename); in RecordApp()
Denvironment_test.cpp36 TemporaryDir tmpdir; in TEST() local
37 ScopedTempFiles scoped_temp_files(tmpdir.path); in TEST()
Ddso_test.cpp33 TemporaryDir tmpdir; in TEST() local
34 TemporaryFile tmpfile(tmpdir.path); in TEST()
41 std::string build_id_list_file = std::string(tmpdir.path) + "/build_id_list"; in TEST()
45 ASSERT_TRUE(finder.SetSymFsDir(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/libbase/
Dfile.cpp102 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir() local
103 if (tmpdir == nullptr) tmpdir = "/data/local/tmp"; in GetSystemTempDir()
104 if (access(tmpdir, R_OK | W_OK | X_OK) == 0) { in GetSystemTempDir()
105 return tmpdir; in GetSystemTempDir()
127 const auto* tmpdir = getenv("TMPDIR"); in GetSystemTempDir()
128 if (tmpdir == nullptr) tmpdir = "/tmp"; in GetSystemTempDir()
129 return tmpdir; in GetSystemTempDir()
/system/bt/tools/scripts/
Dviewbtsnoop.sh33 TMPDIR=$(mktemp --tmpdir -d "viewbtsnooz_XXXXX")
/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)
357 args_with_adb.append('export LD_LIBRARY_PATH=' + self.tmpdir + ' && ' + ' '.join(args))
368 ('32' if self.is32 else '64'), self.tmpdir)
369 super(DeviceRunner, self).record(self.tmpdir + test_executable_name,
370 self.tmpdir + record_file,
374 super(DeviceRunner, self).report(self.tmpdir + record_file,
/system/update_engine/sample_images/
Dgenerate_images.sh220 local mntdir=$(mktemp --tmpdir -d generate_ext2.XXXXXX)
/system/core/fastboot/
Dfastboot.cpp584 const char* tmpdir = getenv("TMPDIR"); in make_temporary_template() local
585 if (tmpdir == nullptr) tmpdir = P_tmpdir; in make_temporary_template()
586 return std::string(tmpdir) + "/fastboot_userdata_XXXXXX"; in make_temporary_template()