/system/connectivity/shill/ |
H A D | crypto_provider_unittest.cc | 70 ScopedTempDir temp_dir; local 71 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 72 provider_.set_key_matter_file(InitKeyMatterFile(temp_dir.path())); 91 ScopedTempDir temp_dir; local 92 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 93 provider_.set_key_matter_file(InitKeyMatterFile(temp_dir.path())); 102 ScopedTempDir temp_dir; local 103 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 104 provider_.set_key_matter_file(InitKeyMatterFile(temp_dir.path()));
|
H A D | file_reader_unittest.cc | 57 base::ScopedTempDir temp_dir; local 58 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 60 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &path)); 76 base::ScopedTempDir temp_dir; local 77 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 79 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &path));
|
H A D | crypto_des_cbc_unittest.cc | 57 base::ScopedTempDir temp_dir; local 58 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 60 FilePath key_matter = temp_dir.path().Append(kKeyMatterFile);
|
H A D | connection_info_reader_unittest.cc | 107 ScopedTempDir temp_dir; local 108 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 116 CreateConnectionInfoFile(kConnectionInfoLines, 0, temp_dir.path(), 125 temp_dir.path(),
|
H A D | pending_activation_store_unittest.cc | 52 base::ScopedTempDir temp_dir; local 53 EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); 55 EXPECT_TRUE(store_.InitStorage(temp_dir.path())); 124 EXPECT_TRUE(store_.InitStorage(temp_dir.path())); 162 EXPECT_TRUE(store_.InitStorage(temp_dir.path()));
|
H A D | socket_info_reader_unittest.cc | 114 ScopedTempDir temp_dir; local 115 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 116 CreateSocketInfoFile(kIPv4SocketInfoLines, 2, temp_dir.path(), &v4_path); 117 CreateSocketInfoFile(kIPv6SocketInfoLines, 2, temp_dir.path(), &v6_path); 176 ScopedTempDir temp_dir; local 177 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 179 CreateSocketInfoFile(kIPv4SocketInfoLines, 1, temp_dir.path(), &file_path); 217 temp_dir.path(), &file_path); 224 temp_dir.path(), &file_path);
|
H A D | manager_unittest.cc | 234 bool CreateBackingStoreForService(ScopedTempDir* temp_dir, argument 241 temp_dir->path(), 943 ScopedTempDir temp_dir; local 944 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 951 temp_dir.path().value()); 969 ASSERT_TRUE(base::CreateDirectory(temp_dir.path().Append("user"))); 980 ScopedTempDir temp_dir; local 981 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 987 temp_dir.path().value()); 1011 ASSERT_TRUE(base::CreateDirectory(temp_dir 1152 ScopedTempDir temp_dir; local 1263 ScopedTempDir temp_dir; local 4429 ScopedTempDir temp_dir; local 4475 ScopedTempDir temp_dir; local 4535 ScopedTempDir temp_dir; local [all...] |
H A D | device_info_unittest.cc | 1016 base::ScopedTempDir temp_dir; local 1017 EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); 1018 EXPECT_TRUE(base::CreateDirectory(temp_dir.path().Append("child1"))); 1019 FilePath child2 = temp_dir.path().Append("child2"); 1024 EXPECT_TRUE(DeviceInfo::HasSubdir(temp_dir.path(), 1026 EXPECT_TRUE(DeviceInfo::HasSubdir(temp_dir.path(), 1028 EXPECT_FALSE(DeviceInfo::HasSubdir(temp_dir.path(),
|
/system/webservd/webservd/ |
H A D | log_manager_unittest.cc | 45 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 62 base::FileEnumerator enumerator{temp_dir.path(), 74 base::ScopedTempDir temp_dir; member in class:webservd::LogManagerTest 96 LogManager::Init(temp_dir.path()); 122 LogManager::Init(temp_dir.path()); 133 base::FilePath current_file = temp_dir.path().Append("2015-02-26.log");
|
/system/connectivity/shill/dhcp/ |
H A D | dhcp_provider_unittest.cc | 82 ScopedTempDir temp_dir; local 84 EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); 85 provider_->root_ = temp_dir.path();
|
/system/connectivity/shill/vpn/ |
H A D | l2tp_ipsec_driver_unittest.cc | 312 const FilePath temp_dir(temp_dir_.path()); 315 .WillOnce(ReturnRef(temp_dir)) 316 .WillOnce(ReturnRef(temp_dir)); 337 const FilePath temp_dir(temp_dir_.path()); 340 .WillOnce(ReturnRef(temp_dir)); 414 const FilePath temp_dir(temp_dir_.path()); 417 .WillOnce(ReturnRef(temp_dir));
|
/system/update_engine/common/ |
H A D | utils.cc | 145 base::FilePath temp_dir; local 147 temp_dir = base::FilePath(constants::kNonVolatileDirectory).Append("tmp"); 148 if (!base::PathExists(temp_dir)) 149 TEST_AND_RETURN_FALSE(base::CreateDirectory(temp_dir)); 151 TEST_AND_RETURN_FALSE(base::GetTempDir(&temp_dir)); 153 *template_path = temp_dir.Append(path);
|
H A D | utils_unittest.cc | 92 string temp_dir; local 93 EXPECT_TRUE(utils::MakeTempDirectory("symlink-test.XXXXXX", &temp_dir)); 94 string temp_file = temp_dir + "/temp-file"; 96 string temp_symlink = temp_dir + "/temp-symlink"; 98 EXPECT_FALSE(utils::IsSymlink(temp_dir.c_str())); 102 EXPECT_TRUE(base::DeleteFile(base::FilePath(temp_dir), true));
|
/system/update_engine/payload_consumer/ |
H A D | delta_performer_unittest.cc | 752 string temp_dir; local 754 &temp_dir)); 755 string non_existing_file = temp_dir + "/non-existing"; 756 string existing_file = temp_dir + "/existing"; 804 EXPECT_TRUE(base::DeleteFile(base::FilePath(temp_dir), true));
|