Lines Matching refs:name
51 bool KeyValueStore::ContainsBool(const string& name) const { in ContainsBool()
52 return ContainsKey(properties_, name) && in ContainsBool()
53 properties_.find(name)->second.IsTypeCompatible<bool>(); in ContainsBool()
56 bool KeyValueStore::ContainsByteArrays(const string& name) const { in ContainsByteArrays()
57 return ContainsKey(properties_, name) && in ContainsByteArrays()
58 properties_.find(name)->second in ContainsByteArrays()
62 bool KeyValueStore::ContainsInt(const string& name) const { in ContainsInt()
63 return ContainsKey(properties_, name) && in ContainsInt()
64 properties_.find(name)->second.IsTypeCompatible<int32_t>(); in ContainsInt()
67 bool KeyValueStore::ContainsInt16(const string& name) const { in ContainsInt16()
68 return ContainsKey(properties_, name) && in ContainsInt16()
69 properties_.find(name)->second.IsTypeCompatible<int16_t>(); in ContainsInt16()
72 bool KeyValueStore::ContainsKeyValueStore(const string& name) const { in ContainsKeyValueStore()
73 return ContainsKey(properties_, name) && in ContainsKeyValueStore()
74 properties_.find(name)->second.IsTypeCompatible<KeyValueStore>(); in ContainsKeyValueStore()
77 bool KeyValueStore::ContainsRpcIdentifier(const string& name) const { in ContainsRpcIdentifier()
78 return ContainsKey(properties_, name) && in ContainsRpcIdentifier()
79 properties_.find(name)->second.IsTypeCompatible<dbus::ObjectPath>(); in ContainsRpcIdentifier()
82 bool KeyValueStore::ContainsRpcIdentifiers(const string& name) const { in ContainsRpcIdentifiers()
83 return ContainsKey(properties_, name) && in ContainsRpcIdentifiers()
84 properties_.find(name)->second in ContainsRpcIdentifiers()
88 bool KeyValueStore::ContainsString(const string& name) const { in ContainsString()
89 return ContainsKey(properties_, name) && in ContainsString()
90 properties_.find(name)->second.IsTypeCompatible<string>(); in ContainsString()
93 bool KeyValueStore::ContainsStringmap(const std::string& name) const { in ContainsStringmap()
94 return ContainsKey(properties_, name) && in ContainsStringmap()
95 properties_.find(name)->second.IsTypeCompatible<Stringmap>(); in ContainsStringmap()
98 bool KeyValueStore::ContainsStrings(const string& name) const { in ContainsStrings()
99 return ContainsKey(properties_, name) && in ContainsStrings()
100 properties_.find(name)->second.IsTypeCompatible<Strings>(); in ContainsStrings()
103 bool KeyValueStore::ContainsUint(const string& name) const { in ContainsUint()
104 return ContainsKey(properties_, name) && in ContainsUint()
105 properties_.find(name)->second.IsTypeCompatible<uint32_t>(); in ContainsUint()
108 bool KeyValueStore::ContainsUint8(const string& name) const { in ContainsUint8()
109 return ContainsKey(properties_, name) && in ContainsUint8()
110 properties_.find(name)->second.IsTypeCompatible<uint8_t>(); in ContainsUint8()
113 bool KeyValueStore::ContainsUint16(const string& name) const { in ContainsUint16()
114 return ContainsKey(properties_, name) && in ContainsUint16()
115 properties_.find(name)->second.IsTypeCompatible<uint16_t>(); in ContainsUint16()
118 bool KeyValueStore::ContainsUint8s(const string& name) const { in ContainsUint8s()
119 return ContainsKey(properties_, name) && in ContainsUint8s()
120 properties_.find(name)->second.IsTypeCompatible<vector<uint8_t>>(); in ContainsUint8s()
123 bool KeyValueStore::ContainsUint32s(const string& name) const { in ContainsUint32s()
124 return ContainsKey(properties_, name) && in ContainsUint32s()
125 properties_.find(name)->second.IsTypeCompatible<vector<uint32_t>>(); in ContainsUint32s()
128 bool KeyValueStore::Contains(const string& name) const { in Contains()
129 return ContainsKey(properties_, name); in Contains()
132 bool KeyValueStore::GetBool(const string& name) const { in GetBool()
133 const auto it(properties_.find(name)); in GetBool()
135 << "for bool property " << name; in GetBool()
140 const string& name) const { in GetByteArrays()
141 const auto it(properties_.find(name)); in GetByteArrays()
144 << "for byte arrays property " << name; in GetByteArrays()
148 int32_t KeyValueStore::GetInt(const string& name) const { in GetInt()
149 const auto it(properties_.find(name)); in GetInt()
151 << "for int property " << name; in GetInt()
155 int16_t KeyValueStore::GetInt16(const string& name) const { in GetInt16()
156 const auto it(properties_.find(name)); in GetInt16()
158 << "for int16 property " << name; in GetInt16()
162 const KeyValueStore& KeyValueStore::GetKeyValueStore(const string& name) const { in GetKeyValueStore()
163 const auto it(properties_.find(name)); in GetKeyValueStore()
165 << "for key value store property " << name; in GetKeyValueStore()
169 const string& KeyValueStore::GetRpcIdentifier(const string& name) const { in GetRpcIdentifier()
170 const auto it(properties_.find(name)); in GetRpcIdentifier()
173 << "for rpc identifier property " << name; in GetRpcIdentifier()
177 vector<string> KeyValueStore::GetRpcIdentifiers(const string& name) const { in GetRpcIdentifiers()
178 const auto it(properties_.find(name)); in GetRpcIdentifiers()
181 << "for rpc identifier property " << name; in GetRpcIdentifiers()
188 const string& KeyValueStore::GetString(const string& name) const { in GetString()
189 const auto it(properties_.find(name)); in GetString()
191 << "for string property " << name; in GetString()
196 const string& name) const { in GetStringmap()
197 const auto it(properties_.find(name)); in GetStringmap()
199 << "for stringmap property " << name; in GetStringmap()
203 const vector<string>& KeyValueStore::GetStrings(const string& name) const { in GetStrings()
204 const auto it(properties_.find(name)); in GetStrings()
206 << "for strings property " << name; in GetStrings()
210 uint32_t KeyValueStore::GetUint(const string& name) const { in GetUint()
211 const auto it(properties_.find(name)); in GetUint()
213 << "for uint32 property " << name; in GetUint()
217 uint16_t KeyValueStore::GetUint16(const string& name) const { in GetUint16()
218 const auto it(properties_.find(name)); in GetUint16()
220 << "for uint16 property " << name; in GetUint16()
224 uint8_t KeyValueStore::GetUint8(const string& name) const { in GetUint8()
225 const auto it(properties_.find(name)); in GetUint8()
227 << "for uint8 property " << name; in GetUint8()
231 const vector<uint8_t>& KeyValueStore::GetUint8s(const string& name) const { in GetUint8s()
232 const auto it(properties_.find(name)); in GetUint8s()
235 << "for uint8s property " << name; in GetUint8s()
239 const vector<uint32_t>& KeyValueStore::GetUint32s(const string& name) const { in GetUint32s()
240 const auto it(properties_.find(name)); in GetUint32s()
243 << "for uint32s property " << name; in GetUint32s()
247 const brillo::Any& KeyValueStore::Get(const string& name) const { in Get()
248 const auto it(properties_.find(name)); in Get()
253 void KeyValueStore::SetBool(const string& name, bool value) { in SetBool() argument
254 properties_[name] = brillo::Any(value); in SetBool()
257 void KeyValueStore::SetByteArrays(const string& name, in SetByteArrays() argument
259 properties_[name] = brillo::Any(value); in SetByteArrays()
262 void KeyValueStore::SetInt(const string& name, int32_t value) { in SetInt() argument
263 properties_[name] = brillo::Any(value); in SetInt()
266 void KeyValueStore::SetInt16(const string& name, int16_t value) { in SetInt16() argument
267 properties_[name] = brillo::Any(value); in SetInt16()
270 void KeyValueStore::SetKeyValueStore(const string& name, in SetKeyValueStore() argument
272 properties_[name] = brillo::Any(value); in SetKeyValueStore()
275 void KeyValueStore::SetRpcIdentifier(const string& name, const string& value) { in SetRpcIdentifier() argument
276 properties_[name] = brillo::Any(dbus::ObjectPath(value)); in SetRpcIdentifier()
279 void KeyValueStore::SetRpcIdentifiers(const string& name, in SetRpcIdentifiers() argument
285 properties_[name] = brillo::Any(paths); in SetRpcIdentifiers()
288 void KeyValueStore::SetString(const string& name, const string& value) { in SetString() argument
289 properties_[name] = brillo::Any(value); in SetString()
292 void KeyValueStore::SetStringmap(const string& name, in SetStringmap() argument
294 properties_[name] = brillo::Any(value); in SetStringmap()
297 void KeyValueStore::SetStrings(const string& name, in SetStrings() argument
299 properties_[name] = brillo::Any(value); in SetStrings()
302 void KeyValueStore::SetUint(const string& name, uint32_t value) { in SetUint() argument
303 properties_[name] = brillo::Any(value); in SetUint()
306 void KeyValueStore::SetUint16(const string& name, uint16_t value) { in SetUint16() argument
307 properties_[name] = brillo::Any(value); in SetUint16()
310 void KeyValueStore::SetUint8(const string& name, uint8_t value) { in SetUint8() argument
311 properties_[name] = brillo::Any(value); in SetUint8()
314 void KeyValueStore::SetUint8s(const string& name, in SetUint8s() argument
316 properties_[name] = brillo::Any(value); in SetUint8s()
319 void KeyValueStore::SetUint32s(const string& name, in SetUint32s() argument
321 properties_[name] = brillo::Any(value); in SetUint32s()
324 void KeyValueStore::Set(const string& name, const brillo::Any& value) { in Set() argument
325 properties_[name] = value; in Set()
328 void KeyValueStore::RemoveByteArrays(const string& name) { in RemoveByteArrays() argument
329 properties_.erase(name); in RemoveByteArrays()
332 void KeyValueStore::RemoveInt(const string& name) { in RemoveInt() argument
333 properties_.erase(name); in RemoveInt()
336 void KeyValueStore::RemoveInt16(const string& name) { in RemoveInt16() argument
337 properties_.erase(name); in RemoveInt16()
340 void KeyValueStore::RemoveKeyValueStore(const string& name) { in RemoveKeyValueStore() argument
341 properties_.erase(name); in RemoveKeyValueStore()
344 void KeyValueStore::RemoveRpcIdentifier(const string& name) { in RemoveRpcIdentifier() argument
345 properties_.erase(name); in RemoveRpcIdentifier()
348 void KeyValueStore::RemoveString(const string& name) { in RemoveString() argument
349 properties_.erase(name); in RemoveString()
352 void KeyValueStore::RemoveStringmap(const string& name) { in RemoveStringmap() argument
353 properties_.erase(name); in RemoveStringmap()
356 void KeyValueStore::RemoveStrings(const string& name) { in RemoveStrings() argument
357 properties_.erase(name); in RemoveStrings()
360 void KeyValueStore::RemoveUint16(const string& name) { in RemoveUint16() argument
361 properties_.erase(name); in RemoveUint16()
364 void KeyValueStore::RemoveUint8(const string& name) { in RemoveUint8() argument
365 properties_.erase(name); in RemoveUint8()
368 void KeyValueStore::RemoveUint8s(const string& name) { in RemoveUint8s() argument
369 properties_.erase(name); in RemoveUint8s()
372 void KeyValueStore::RemoveUint32s(const string& name) { in RemoveUint32s() argument
373 properties_.erase(name); in RemoveUint32s()
376 void KeyValueStore::Remove(const string& name) { in Remove() argument
377 properties_.erase(name); in Remove()
380 bool KeyValueStore::LookupBool(const string& name, bool default_value) const { in LookupBool() argument
381 const auto it(properties_.find(name)); in LookupBool()
389 int KeyValueStore::LookupInt(const string& name, int default_value) const { in LookupInt() argument
390 const auto it(properties_.find(name)); in LookupInt()
398 string KeyValueStore::LookupString(const string& name, in LookupString() argument
400 const auto it(properties_.find(name)); in LookupString()