Home
last modified time | relevance | path

Searched refs:temp_dir_path (Results 1 – 25 of 37) sorted by relevance

12

/aosp_15_r20/system/usb_info_tools/typec_connector_class_helper/src/
H A Dtypec_class_utils_tests.rs169 let temp_dir_path = create_full_typec_connector_class_temp_file_hierarchy(); in test_print_dir_files() localVariable
180 .print_dir_files(&temp_dir_path.join("port0")) in test_print_dir_files()
191 let temp_dir_path = create_full_typec_connector_class_temp_file_hierarchy(); in test_print_vdo() localVariable
205 &temp_dir_path.join("port0/port0-partner/identity/id_header"), in test_print_vdo()
218 let temp_dir_path = in test_read_vdo() localVariable
222 read_vdo(&temp_dir_path.join("identity/id_header")).expect("read_vdo returned an error"); in test_read_vdo()
228 let temp_dir_path = create_temp_dir_with_dirs_files_content(&[( in test_get_pd_revision() localVariable
232 let pd_rev = get_pd_revision(&temp_dir_path.join("port0-partner")); in test_get_pd_revision()
238 let temp_dir_path = create_full_typec_connector_class_temp_file_hierarchy(); in test_parse_dirs_and_execute() localVariable
249 let _ = parse_dirs_and_execute(&temp_dir_path, &mut outp_writer, PORT_REGEX, |path, out_wr| { in test_parse_dirs_and_execute()
[all …]
/aosp_15_r20/external/pigweed/pw_ide/py/
H A Dactivate_tests.py31 nested_dir = self.temp_dir_path / "nested"
34 self.assertEqual(presumed_root, self.temp_dir_path)
38 nested_dir = self.temp_dir_path / "nested" / "again"
41 self.assertEqual(presumed_root, self.temp_dir_path)
44 nested_dir = self.temp_dir_path / "nested"
47 presumed_root = find_pigweed_json_below(self.temp_dir_path)
51 nested_dir = self.temp_dir_path / "nested" / "again"
54 presumed_root = find_pigweed_json_below(self.temp_dir_path)
60 workspace_dir = self.temp_dir_path / "workspace"
67 presumed_root, _ = pigweed_root(self.temp_dir_path, False)
[all …]
H A Dcpp_test.py45 executable_path = self.temp_dir_path / 'clang'
74 expected_path = self.temp_dir_path / executable_path
83 executable_path = self.temp_dir_path / '_pw_invalid_exe'
109 expected_path = self.temp_dir_path / executable_path
156 compile_command.process(default_path=self.temp_dir_path),
169 compile_command.process(default_path=self.temp_dir_path)
205 compile_command.process(default_path=self.temp_dir_path)
252 result = compile_command.process(default_path=self.temp_dir_path)
1172 ).process(settings, default_path=self.temp_dir_path)
H A Dtest_cases.py31 self.temp_dir_path = Path(self.temp_dir.name)
46 path = self.temp_dir_path / filename
68 path = self.temp_dir_path / filename
132 return self.temp_dir_path / path
162 working_dir_path = self.temp_dir_path
H A Deditors_test.py229 self.temp_dir_path, name, self.file_format
236 self.temp_dir_path / f'{name}.{self.file_format.ext}'
245 self.temp_dir_path, name, self.file_format
283 self.temp_dir_path,
H A Dvscode_test.py32 ide_settings, self.temp_dir_path
71 ide_settings, self.temp_dir_path
H A Dcpp_test_fake_env.py39 self.temp_dir_path = Path(self.temp_dir.name)
90 file_path = self.temp_dir_path / exe_path
/aosp_15_r20/system/vold/tests/
H A DUtils_test.cpp49 std::string temp_dir_path; in TEST_F() local
51 ASSERT_TRUE(android::base::Realpath(temp_dir.path, &temp_dir_path)); in TEST_F()
53 ASSERT_FALSE(pathExists(temp_dir_path + "/a")); in TEST_F()
54 ASSERT_TRUE(MkdirsSync(temp_dir_path + "/a/b/c", 0700)); in TEST_F()
55 ASSERT_TRUE(pathExists(temp_dir_path + "/a")); in TEST_F()
56 ASSERT_TRUE(pathExists(temp_dir_path + "/a/b")); in TEST_F()
59 ASSERT_FALSE(pathExists(temp_dir_path + "/a/b/c")); in TEST_F()
/aosp_15_r20/external/pigweed/pw_presubmit/py/
H A Downers_checks_test.py320 temp_dir_path = Path(temp_dir)
322 file_path = temp_dir_path / name
381 temp_dir_path = Path(temp_dir).resolve()
384 return_value=temp_dir_path,
412 temp_dir_path = Path(temp_dir).resolve()
415 return_value=temp_dir_path,
418 temp_dir_path / "owners" / file_under_test
429 expected_prefix = temp_dir_path / "test"
/aosp_15_r20/external/pdfium/third_party/googletest/custom/gtest/internal/custom/
H A Dpdfium_custom_temp_dir.cc25 char temp_dir_path[_MAX_PATH + 1] = {'\0'}; // NOLINT in ChromeGetEnvTempDir()
26 if (::GetTempPathA(sizeof(temp_dir_path), temp_dir_path) != 0) in ChromeGetEnvTempDir()
27 return temp_dir_path; in ChromeGetEnvTempDir()
/aosp_15_r20/external/cronet/third_party/googletest/custom/gtest/internal/custom/
H A Dchrome_custom_temp_dir.cc25 char temp_dir_path[_MAX_PATH + 1] = {'\0'}; // NOLINT in ChromeGetEnvTempDir()
26 if (::GetTempPathA(sizeof(temp_dir_path), temp_dir_path) != 0) in ChromeGetEnvTempDir()
27 return temp_dir_path; in ChromeGetEnvTempDir()
/aosp_15_r20/external/cronet/base/metrics/
H A Dpersistent_histogram_storage_unittest.cc43 temp_dir_path().AppendASCII(kTestHistogramAllocatorName); in SetUp()
52 const FilePath& temp_dir_path() { return temp_dir_.GetPath(); } in temp_dir_path() function in base::PersistentHistogramStorageTest
71 persistent_histogram_storage->set_storage_base_dir(temp_dir_path()); in TEST_F()
95 persistent_histogram_storage->set_storage_base_dir(temp_dir_path()); in TEST_F()
/aosp_15_r20/external/libchrome/base/metrics/
H A Dpersistent_histogram_storage_unittest.cc35 temp_dir_path().AppendASCII(kTestHistogramAllocatorName); in SetUp()
39 const FilePath& temp_dir_path() { return temp_dir_.GetPath(); } in temp_dir_path() function in base::PersistentHistogramStorageTest
63 persistent_histogram_storage->set_storage_base_dir(temp_dir_path()); in TEST_F()
/aosp_15_r20/art/odrefresh/
H A Dodrefresh_test.cc150 std::string temp_dir_path = temp_dir_->GetPath(); in SetUp() local
152 temp_dir_path.resize(temp_dir_path.length() - 1); in SetUp()
154 std::string android_root_path = temp_dir_path + "/system"; in SetUp()
159 std::string android_art_root_path = temp_dir_path + "/apex/com.android.art"; in SetUp()
164 std::string art_apex_data_path = temp_dir_path + kArtApexDataDefaultPath; in SetUp()
194 std::string conscrypt_javalib_dir = temp_dir_path + "/apex/com.android.conscrypt/javalib"; in SetUp()
196 std::string wifi_javalib_dir = temp_dir_path + "/apex/com.android.wifi/javalib"; in SetUp()
214 std::string apex_info_filename = temp_dir_path + "/apex-info-list.xml"; in SetUp()
218 config_.SetArtBinDir(temp_dir_path + "/bin"); in SetUp()
/aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/test_data/private/
H A Dmetadata_generator.py39 temp_dir_path = Path(temp_dir)
40 temp_dir_path.mkdir(parents=True, exist_ok=True)
50 manifest_dir = temp_dir_path / test_dir.name
/aosp_15_r20/external/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc494 char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
497 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
498 const UINT success = ::GetTempFileNameA(temp_dir_path, in CapturedStream()
503 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/google-breakpad/src/client/windows/unittests/
H A Dminidump_test.cc64 wchar_t temp_dir_path[ MAX_PATH ] = {0}; in MinidumpTest() local
65 ::GetTempPath(MAX_PATH, temp_dir_path); in MinidumpTest()
66 dump_path_ = temp_dir_path; in MinidumpTest()
/aosp_15_r20/external/googletest/googletest/src/
H A Dgtest-port.cc1073 char temp_dir_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
1076 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1077 const UINT success = ::GetTempFileNameA(temp_dir_path, "gtest_redir", in CapturedStream()
1081 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-port.cc1082 char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
1085 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1086 const UINT success = ::GetTempFileNameA(temp_dir_path, in CapturedStream()
1091 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/libvpx/third_party/googletest/src/src/
H A Dgtest-port.cc1039 char temp_dir_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
1042 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1043 const UINT success = ::GetTempFileNameA(temp_dir_path, "gtest_redir", in CapturedStream()
1047 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/cronet/third_party/googletest/src/googletest/src/
H A Dgtest-port.cc1073 char temp_dir_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
1076 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1077 const UINT success = ::GetTempFileNameA(temp_dir_path, "gtest_redir", in CapturedStream()
1081 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/mesa3d/src/gtest/src/
H A Dgtest-port.cc1039 char temp_dir_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
1042 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1043 const UINT success = ::GetTempFileNameA(temp_dir_path, "gtest_redir", in CapturedStream()
1047 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/intel-media-driver/media_driver/linux/ult/ult_app/googletest/src/
H A Dgtest-port.cc1039 char temp_dir_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
1042 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1043 const UINT success = ::GetTempFileNameA(temp_dir_path, "gtest_redir", in CapturedStream()
1047 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/libaom/third_party/googletest/src/googletest/src/
H A Dgtest-port.cc1039 char temp_dir_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
1042 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1043 const UINT success = ::GetTempFileNameA(temp_dir_path, "gtest_redir", in CapturedStream()
1047 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()
/aosp_15_r20/external/cronet/third_party/boringssl/src/third_party/googletest/googletest/src/
H A Dgtest-port.cc1037 char temp_dir_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
1040 ::GetTempPathA(sizeof(temp_dir_path), temp_dir_path); in CapturedStream()
1041 const UINT success = ::GetTempFileNameA(temp_dir_path, "gtest_redir", in CapturedStream()
1045 << "Unable to create a temporary file in " << temp_dir_path; in CapturedStream()

12