Home
last modified time | relevance | path

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

/system/update_engine/common/
Dprefs.cc170 TEST_AND_RETURN_FALSE(GetFileNameForKey(key, &filename)); in GetKey()
180 TEST_AND_RETURN_FALSE(GetFileNameForKey(ns, &filename)); in GetSubKeys()
197 TEST_AND_RETURN_FALSE(GetFileNameForKey(key, &filename)); in SetKey()
210 TEST_AND_RETURN_FALSE(GetFileNameForKey(key, &filename)); in KeyExists()
216 TEST_AND_RETURN_FALSE(GetFileNameForKey(key, &filename)); in DeleteKey()
225 bool Prefs::FileStorage::GetFileNameForKey(const string& key, in GetFileNameForKey() function in chromeos_update_engine::Prefs::FileStorage
Dprefs.h113 FRIEND_TEST(PrefsTest, GetFileNameForKey);
132 FRIEND_TEST(PrefsTest, GetFileNameForKey);
138 bool GetFileNameForKey(const std::string& key,
Dprefs_unittest.cc188 TEST_F(PrefsTest, GetFileNameForKey) { in TEST_F() argument
192 EXPECT_TRUE(prefs_.file_storage_.GetFileNameForKey(kAllvalidCharsKey, &path)); in TEST_F()
198 EXPECT_FALSE(prefs_.file_storage_.GetFileNameForKey("ABC abc", &path)); in TEST_F()
203 EXPECT_FALSE(prefs_.file_storage_.GetFileNameForKey("", &path)); in TEST_F()