Lines Matching refs:value
74 void PersistentStorage::Insert(const std::string& key, const T& value, PersistentStorageType storageType)
83 pref->PutFloat(key, value);
84 WLOGFD("[PersistentStorage] Insert aspect ratio, key %{public}s, value %{public}f",
85 key.c_str(), static_cast<float>(value));
89 pref->PutInt(key, value);
90 WLOGFD("[PersistentStorage] Insert Maximize state, key %{public}s, value %{public}d",
91 key.c_str(), static_cast<int>(value));
101 void PersistentStorage::Get(const std::string& key, T& value, PersistentStorageType storageType)
110 value = pref->GetFloat(key);
111 WLOGFD("[PersistentStorage] Get aspect ratio, key: %{public}s, value:%{public}f",
112 key.c_str(), static_cast<float>(value));
116 value = pref->GetInt(key);
117 WLOGFD("[PersistentStorage] Get Maximize state, key: %{public}s, value:%{public}d",
118 key.c_str(), static_cast<int>(value));