Home
last modified time | relevance | path

Searched refs:GetMutableValue (Results 1 – 25 of 40) sorted by relevance

12

/external/cronet/stable/components/prefs/
Doverlay_user_pref_store.cc109 bool OverlayUserPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in OverlayUserPrefStore
112 return persistent_user_pref_store_->GetMutableValue(key, result); in GetMutableValue()
114 if (ephemeral_user_pref_store_->GetMutableValue(key, result)) in GetMutableValue()
119 if (!persistent_user_pref_store_->GetMutableValue(key, &persistent_value)) in GetMutableValue()
125 ephemeral_user_pref_store_->GetMutableValue(key, result); in GetMutableValue()
Din_memory_pref_store_unittest.cc34 EXPECT_FALSE(store_->GetMutableValue(kTestPref, &mutable_value)); in TEST_F()
40 EXPECT_TRUE(store_->GetMutableValue(kTestPref, &mutable_value)); in TEST_F()
45 EXPECT_FALSE(store_->GetMutableValue(kTestPref, &mutable_value)); in TEST_F()
Doverlay_user_pref_store_unittest.cc139 EXPECT_TRUE(overlay_->GetMutableValue(regular_key, &modify)); in TEST_F()
145 EXPECT_TRUE(underlay_->GetMutableValue(regular_key, &original_in_underlay)); in TEST_F()
151 EXPECT_TRUE(overlay_->GetMutableValue(regular_key, &modified)); in TEST_F()
Dwrap_with_prefix_pref_store.cc40 bool WrapWithPrefixPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in WrapWithPrefixPrefStore
42 return target_pref_store_->GetMutableValue(AddDottedPrefix(key), value); in GetMutableValue()
Dwrap_with_prefix_pref_store_unittest.cc191 TEST_F(WrapWithPrefixPrefStoreTest, GetMutableValue) { in TEST_F() argument
195 EXPECT_FALSE(store().GetMutableValue(kTestPref, &value)); in TEST_F()
199 EXPECT_TRUE(store().GetMutableValue(kTestPref, &value)); in TEST_F()
205 EXPECT_TRUE(store().GetMutableValue(kTestPref, &value)); in TEST_F()
Dsegregated_pref_store.cc127 bool SegregatedPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in SegregatedPrefStore
129 return StoreForKey(key)->GetMutableValue(key, result); in GetMutableValue()
Dwriteable_pref_store.h52 virtual bool GetMutableValue(std::string_view key, base::Value** result) = 0;
Dvalue_map_pref_store.h40 bool GetMutableValue(std::string_view key, base::Value** value) override;
Din_memory_pref_store.h39 bool GetMutableValue(std::string_view key, base::Value** result) override;
Dvalue_map_pref_store.cc52 bool ValueMapPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in ValueMapPrefStore
Din_memory_pref_store.cc28 bool InMemoryPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in InMemoryPrefStore
Dwrap_with_prefix_pref_store.h56 bool GetMutableValue(std::string_view key, base::Value** result) override;
Doverlay_user_pref_store.h52 bool GetMutableValue(std::string_view key, base::Value** result) override;
/external/cronet/tot/components/prefs/
Doverlay_user_pref_store.cc109 bool OverlayUserPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in OverlayUserPrefStore
112 return persistent_user_pref_store_->GetMutableValue(key, result); in GetMutableValue()
114 if (ephemeral_user_pref_store_->GetMutableValue(key, result)) in GetMutableValue()
119 if (!persistent_user_pref_store_->GetMutableValue(key, &persistent_value)) in GetMutableValue()
125 ephemeral_user_pref_store_->GetMutableValue(key, result); in GetMutableValue()
Din_memory_pref_store_unittest.cc34 EXPECT_FALSE(store_->GetMutableValue(kTestPref, &mutable_value)); in TEST_F()
40 EXPECT_TRUE(store_->GetMutableValue(kTestPref, &mutable_value)); in TEST_F()
45 EXPECT_FALSE(store_->GetMutableValue(kTestPref, &mutable_value)); in TEST_F()
Doverlay_user_pref_store_unittest.cc139 EXPECT_TRUE(overlay_->GetMutableValue(regular_key, &modify)); in TEST_F()
145 EXPECT_TRUE(underlay_->GetMutableValue(regular_key, &original_in_underlay)); in TEST_F()
151 EXPECT_TRUE(overlay_->GetMutableValue(regular_key, &modified)); in TEST_F()
Dwrap_with_prefix_pref_store.cc40 bool WrapWithPrefixPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in WrapWithPrefixPrefStore
42 return target_pref_store_->GetMutableValue(AddDottedPrefix(key), value); in GetMutableValue()
Dwrap_with_prefix_pref_store_unittest.cc191 TEST_F(WrapWithPrefixPrefStoreTest, GetMutableValue) { in TEST_F() argument
195 EXPECT_FALSE(store().GetMutableValue(kTestPref, &value)); in TEST_F()
199 EXPECT_TRUE(store().GetMutableValue(kTestPref, &value)); in TEST_F()
205 EXPECT_TRUE(store().GetMutableValue(kTestPref, &value)); in TEST_F()
Dsegregated_pref_store.cc127 bool SegregatedPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in SegregatedPrefStore
129 return StoreForKey(key)->GetMutableValue(key, result); in GetMutableValue()
Dwriteable_pref_store.h52 virtual bool GetMutableValue(std::string_view key, base::Value** result) = 0;
Dvalue_map_pref_store.h40 bool GetMutableValue(std::string_view key, base::Value** value) override;
Din_memory_pref_store.h39 bool GetMutableValue(std::string_view key, base::Value** result) override;
Dvalue_map_pref_store.cc52 bool ValueMapPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in ValueMapPrefStore
Din_memory_pref_store.cc28 bool InMemoryPrefStore::GetMutableValue(std::string_view key, in GetMutableValue() function in InMemoryPrefStore
Dwrap_with_prefix_pref_store.h56 bool GetMutableValue(std::string_view key, base::Value** result) override;

12