Home
last modified time | relevance | path

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

/system/media/brillo/audio/audioservice/
Daudio_volume_handler.cpp86 if (!kv_store_->Save(volume_state_file_)) { in GenerateVolumeFile()
108 kv_store_->GetString(key, &value); in GetVolumeCurrentIndex()
136 kv_store_->SetString(key, string_utils::ToString(index)); in PersistVolumeConfiguration()
137 kv_store_->Save(volume_state_file_); in PersistVolumeConfiguration()
157 kv_store_ = std::unique_ptr<KeyValueStore>(new KeyValueStore()); in Init()
163 if (!kv_store_->Load(volume_state_file_)) { in Init()
Daudio_volume_handler.h223 std::unique_ptr<KeyValueStore> kv_store_; variable
/system/media/brillo/audio/audioservice/test/
Daudio_volume_handler_test.cpp51 handler_.kv_store_ = std::unique_ptr<KeyValueStore>(new KeyValueStore); in SetupHandlerVolumeFile()
83 handler_.kv_store_ = std::unique_ptr<KeyValueStore>(new KeyValueStore); in TEST_F()
84 handler_.kv_store_->SetString(handler_.kCurrentIndexKey_ + ".1.2", "100"); in TEST_F()
92 handler_.kv_store_ = std::unique_ptr<KeyValueStore>(new KeyValueStore); in TEST_F()
97 handler_.kv_store_->GetString(key, &value); in TEST_F()
117 handler_.kv_store_->GetString("foo", &value); in TEST_F()