Home
last modified time | relevance | path

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

/system/update_engine/common/
Dfake_prefs.cc92 return values_.find(key) != values_.end(); in Exists()
96 if (values_.find(key) == values_.end()) in Delete()
98 values_.erase(key); in Delete()
121 auto it = values_.find(key); in CheckKeyType()
122 EXPECT_TRUE(it == values_.end() || it->second.type == type) in CheckKeyType()
130 values_[key].type = PrefConsts<T>::type; in SetValue()
131 values_[key].value.*(PrefConsts<T>::member) = value; in SetValue()
143 auto it = values_.find(key); in GetValue()
144 if (it == values_.end()) in GetValue()
Dfake_prefs.h103 std::map<std::string, PrefTypeValue> values_; variable
/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc185 values_[label] = GetValue(attributes, CKA_VALUE); in CreateObject()
196 values_.erase(label); in DestroyObject()
208 std::string value = values_[label]; in GetAttributeValue()
233 values_[handles_[object_handle]] = GetValue(attributes, CKA_VALUE); in SetAttributeValue()
253 for (const auto& item : values_) { in FindObjectsInit()
297 std::map<std::string, std::string> values_; // The fake store: label->value member in attestation::KeyStoreTest