/system/bt/gd/os/linux_generic/ |
D | files_test.cc | 32 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 33 auto temp_file = temp_dir / "file_1.txt"; in TEST() 37 auto none_file = temp_dir / "file_nope.txt"; in TEST() 42 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 43 auto temp_file = temp_dir / "file_1.txt"; in TEST() 47 auto to_file = temp_dir / "file_2.txt"; in TEST() 56 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 57 auto temp_file = temp_dir / "file_1.txt"; in TEST() 65 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 66 auto temp_file = temp_dir / "file_1.txt"; in TEST() [all …]
|
/system/bt/gd/storage/ |
D | legacy_config_file_test.cc | 36 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 37 auto temp_config = temp_dir / "temp_config.txt"; in TEST() 82 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 83 auto temp_config = temp_dir / "temp_config.txt"; in TEST() 111 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 112 auto temp_config = temp_dir / "temp_config.txt"; in TEST() 172 auto temp_dir = std::filesystem::temp_directory_path(); in TEST() local 173 auto temp_config = temp_dir / "temp_config.txt"; in TEST()
|
/system/tools/sysprop/tests/ |
D | JavaGenTest.cpp | 553 TemporaryDir temp_dir; in TEST() local 561 ASSERT_RESULT_OK(GenerateJavaLibrary(temp_file.path, scope, temp_dir.path)); in TEST() 564 temp_dir.path + "/com/somecompany/TestProperties.java"s; in TEST() 572 rmdir((temp_dir.path + "/com/somecompany"s).c_str()); in TEST() 573 rmdir((temp_dir.path + "/com"s).c_str()); in TEST()
|
/system/core/liblog/tests/ |
D | logd_writer_test.cpp | 36 auto temp_dir = TemporaryDir(); in TEST() local 37 auto socket_path = StringPrintf("%s/test_socket", temp_dir.path); in TEST()
|
/system/update_engine/common/ |
D | utils_unittest.cc | 98 base::ScopedTempDir temp_dir; in TEST() local 99 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 100 string temp_file = temp_dir.GetPath().Append("temp-file").value(); in TEST() 102 string temp_symlink = temp_dir.GetPath().Append("temp-symlink").value(); in TEST() 104 EXPECT_FALSE(utils::IsSymlink(temp_dir.GetPath().value().c_str())); in TEST()
|
D | utils.cc | 99 base::FilePath temp_dir; in GetTempName() local 101 temp_dir = base::FilePath(constants::kNonVolatileDirectory).Append("tmp"); in GetTempName() 103 TEST_AND_RETURN_FALSE(base::GetTempDir(&temp_dir)); in GetTempName() 105 if (!base::PathExists(temp_dir)) in GetTempName() 106 TEST_AND_RETURN_FALSE(base::CreateDirectory(temp_dir)); in GetTempName() 107 *template_path = temp_dir.Append(path); in GetTempName()
|
D | prefs_unittest.cc | 153 base::ScopedTempDir temp_dir; in TEST() local 154 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST() 155 auto ns1_path = temp_dir.GetPath().Append(ns1); in TEST() 167 ASSERT_TRUE(prefs.Init(temp_dir.GetPath())); in TEST()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 129 base::FilePath temp_dir; in PerformPartitionPostinstall() local 130 TEST_AND_RETURN(base::CreateNewTempDirectory("au_postint_mount", &temp_dir)); in PerformPartitionPostinstall() 131 fs_mount_dir_ = temp_dir.value(); in PerformPartitionPostinstall()
|
D | delta_performer_unittest.cc | 1078 base::ScopedTempDir temp_dir; in TEST_F() local 1079 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); in TEST_F() 1080 string non_existing_file = temp_dir.GetPath().Append("non-existing").value(); in TEST_F() 1081 string existing_file = temp_dir.GetPath().Append("existing").value(); in TEST_F()
|
/system/libziparchive/ |
D | test_ziparchive_large.py | 51 temp_dir = tempfile.mkdtemp() 52 cmd = ['ziptool', 'unzip', '-d', temp_dir, zip_name]
|
/system/core/adb/ |
D | test_device.py | 1256 temp_dir = tempfile.mkdtemp() 1257 temp_files = make_random_host_files(in_dir=temp_dir, num_files=32) 1265 device.push(temp_dir, device_dir, sync=True) 1271 if temp_dir is not None: 1272 shutil.rmtree(temp_dir)
|
/system/core/fastboot/ |
D | fastboot.cpp | 1711 TemporaryDir temp_dir; in wipe_super() local 1715 ok = WriteSplitImageFiles(temp_dir.path, metadata, block_size, {}, true); in wipe_super() 1717 auto image_path = temp_dir.path + "/"s + super_bdev_name + ".img"; in wipe_super() 1736 auto image_path = temp_dir.path + "/"s + image_name; in wipe_super()
|