Home
last modified time | relevance | path

Searched refs:prefs_dir_ (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/common/
Dprefs_unittest.cc130 prefs_dir_ = temp_dir_.GetPath(); in SetUp()
131 ASSERT_TRUE(prefs_.Init(prefs_dir_)); in SetUp()
136 return base::WriteFile(prefs_dir_.Append(key), in SetValue()
142 base::FilePath prefs_dir_; member in chromeos_update_engine::PrefsTest
176 EXPECT_EQ(prefs_dir_.Append(kAllvalidCharsKey).value(), path.value()); in TEST_F()
223 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F()
230 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithDots))); in TEST_F()
235 base::FilePath subdir = prefs_dir_.Append("subdir1").Append("subdir2"); in TEST_F()
249 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F()
251 EXPECT_TRUE(base::DirectoryExists(prefs_dir_.Append(kKey))); in TEST_F()
[all …]
Dprefs.cc142 prefs_dir_ = prefs_dir; in Init()
144 DeleteEmptyDirectories(prefs_dir_); in Init()
162 prefs_dir_, true, base::FileEnumerator::FILES); in GetSubKeys()
169 prefs_dir_.AsEndingWithSeparator().value().length())); in GetSubKeys()
208 *filename = prefs_dir_.Append(key); in GetFileNameForKey()
Dprefs.h139 base::FilePath prefs_dir_; variable