Home
last modified time | relevance | path

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

/system/update_engine/common/
Dprefs_unittest.cc147 prefs_dir_ = temp_dir_.GetPath(); in SetUp()
148 ASSERT_TRUE(prefs_.Init(prefs_dir_)); in SetUp()
153 return base::WriteFile(prefs_dir_.Append(key), in SetValue()
159 base::FilePath prefs_dir_; member in chromeos_update_engine::PrefsTest
193 EXPECT_EQ(prefs_dir_.Append(kAllvalidCharsKey).value(), path.value()); in TEST_F()
240 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F()
247 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithDots))); in TEST_F()
252 base::FilePath subdir = prefs_dir_.Append("subdir1").Append("subdir2"); in TEST_F()
266 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F()
268 EXPECT_TRUE(base::DirectoryExists(prefs_dir_.Append(kKey))); in TEST_F()
[all …]
Dprefs.cc162 prefs_dir_ = prefs_dir; in Init()
164 DeleteEmptyDirectories(prefs_dir_); in Init()
182 prefs_dir_, true, base::FileEnumerator::FILES); in GetSubKeys()
189 prefs_dir_.AsEndingWithSeparator().value().length())); in GetSubKeys()
232 *filename = prefs_dir_.Append(key); in GetFileNameForKey()
Dprefs.h142 base::FilePath prefs_dir_; variable