Home
last modified time | relevance | path

Searched refs:tmp_dir (Results 1 – 8 of 8) sorted by relevance

/packages/modules/SdkExtensions/gen_sdk/
Dgen_sdk_test.sh20 tmp_dir="$(mktemp -d -t gen_sdk_test-XXXXXXXXXX)"
27 cat > ${tmp_dir}/golden_binary << EOF
34 …diff -b ${tmp_dir}/golden_binary <(gen_sdk --action print_binary --database testdata/test_extensio…
40 db=${tmp_dir}/extensions_db.textpb
53 db=${tmp_dir}/extensions_db.textpb
64 db=${tmp_dir}/extensions_db.textpb
111 db=${tmp_dir}/extensions_db.textpb
/packages/modules/common/build/
Dmainline_modules_sdks_test.py145 self.tmp_dir = tempfile.mkdtemp()
146 self.tmp_out_dir = os.path.join(self.tmp_dir, "out")
148 self.tmp_dist_dir = os.path.join(self.tmp_dir, "dist")
151 os.path.join(self.tmp_dir, "prebuilts/module_sdk/AdServices"),
155 os.path.join(self.tmp_dir, "prebuilts/module_sdk/Connectivity"),
160 shutil.rmtree(self.tmp_dir, ignore_errors=True)
526 producer.generate_mainline_modules_info_file(modules, self.tmp_dir)
586 with tempfile.TemporaryDirectory() as tmp_dir:
587 path = os.path.join(tmp_dir, "Android.bp")
592 producer, tmp_dir, transformations, build_release)
Dmainline_modules_sdks.py1514 with tempfile.TemporaryDirectory() as tmp_dir:
1522 extract_matching_files_from_zip(src_sdk_zip, tmp_dir, pattern)
1525 apply_transformations(self, tmp_dir, transformations, build_release)
1530 copy_zip_and_replace(self, src_sdk_zip, dest_sdk_zip, tmp_dir,
1579 def apply_transformations(producer, tmp_dir, transformations, build_release): argument
1581 path = os.path.join(tmp_dir, transformation.path)
/packages/modules/Bluetooth/system/osi/test/
Dconfig_test.cc249 auto tmp_dir = std::filesystem::temp_directory_path(); in TEST_F() local
250 auto filename = tmp_dir / "test.checksum"; in TEST_F()
263 auto tmp_dir = std::filesystem::temp_directory_path(); in TEST_F() local
264 auto filename = tmp_dir / "test.checksum"; in TEST_F()
/packages/modules/adb/
Dadb_utils.cpp346 const char* tmp_dir = getenv("TMPDIR"); in GetLogFilePath() local
347 if (tmp_dir == nullptr) tmp_dir = "/tmp"; in GetLogFilePath()
348 return android::base::StringPrintf("%s/adb.%u.log", tmp_dir, getuid()); in GetLogFilePath()
/packages/services/Car/cpp/bugreport/
Dmain.cpp380 void takeScreenshotForDisplayId(PhysicalDisplayId id, const char* tmp_dir, in takeScreenshotForDisplayId() argument
383 std::string filename = std::string(tmp_dir) + kScreenshotPrefix + id_as_string + ".png"; in takeScreenshotForDisplayId()
396 void takeScreenshot(const char* tmp_dir, std::vector<std::string>* extra_files) { in takeScreenshot() argument
401 takeScreenshotForDisplayId(display_id, tmp_dir, extra_files); in takeScreenshot()
/packages/modules/Virtualization/libs/dice/driver/src/
Dlib.rs224 let tmp_dir = tempfile::tempdir()?; in test_dice_driver_from_file_deletes_file_after_derive() localVariable
226 let file_path = tmp_dir.path().join("test-dice-chain.raw"); in test_dice_driver_from_file_deletes_file_after_derive()
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs1760 let tmp_dir = tempfile::TempDir::new().unwrap(); in test_create_or_update_idsig_dir_instead_of_file_for_apk() localVariable
1761 let apk = File::open(tmp_dir.path()).unwrap(); in test_create_or_update_idsig_dir_instead_of_file_for_apk()
1903 let tmp_dir = tempfile::TempDir::new()?; in test_extract_os_name_from_configs() localVariable
1904 let tmp_dir_path = tmp_dir.path().to_owned(); in test_extract_os_name_from_configs()