Home
last modified time | relevance | path

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

/system/update_engine/common/
Dprefs_unittest.cc47 prefs_dir_ = temp_dir_.GetPath(); in SetUp()
48 ASSERT_TRUE(prefs_.Init(prefs_dir_)); in SetUp()
52 return base::WriteFile(prefs_dir_.Append(key), in SetValue()
58 base::FilePath prefs_dir_; member in chromeos_update_engine::PrefsTest
67 EXPECT_EQ(prefs_dir_.Append(kAllvalidCharsKey).value(), path.value()); in TEST_F()
102 EXPECT_TRUE(base::ReadFileToString(prefs_dir_.Append(kKey), &value)); in TEST_F()
109 EXPECT_FALSE(base::PathExists(prefs_dir_.Append(kKeyWithDots))); in TEST_F()
114 base::FilePath subdir = prefs_dir_.Append("subdir1").Append("subdir2"); in TEST_F()
128 base::CreateDirectory(prefs_dir_.Append(kKey)); in TEST_F()
130 EXPECT_TRUE(base::DirectoryExists(prefs_dir_.Append(kKey))); in TEST_F()
[all …]
Dprefs.cc114 prefs_dir_ = prefs_dir; in Init()
122 LOG(INFO) << key << " not present in " << prefs_dir_.value(); in GetKey()
163 *filename = prefs_dir_.Append(key); in GetFileNameForKey()
Dprefs.h129 base::FilePath prefs_dir_; variable