Home
last modified time | relevance | path

Searched refs:KEY (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/sdm845/gps/sdm845/utils/
DLocUnorderedSetMap.h72 template <typename KEY, typename VAL>
74 unordered_map<KEY, unordered_set<VAL>> mMap;
80 bool trimOrRemove(typename unordered_map<KEY, unordered_set<VAL>>::iterator iter, in trimOrRemove() argument
98 inline unordered_set<VAL>* getValSetPtr(const KEY& key) { in getValSetPtr()
105 inline unordered_set<VAL> getValSet(const KEY& key) { in getValSet()
111 inline unordered_set<KEY> getKeys() { in getKeys()
112 unordered_set<KEY> keys(0); in getKeys()
119 inline bool remove(const KEY& key) { in remove()
127 inline void trimOrRemove(unordered_set<KEY>&& keys, const unordered_set<VAL>& rVals, in trimOrRemove()
128 unordered_set<KEY>* goneKeys, unordered_set<VAL>* goneVals) { in trimOrRemove()
[all …]
/hardware/interfaces/weaver/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp32 const std::vector<uint8_t> KEY{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; variable
128 const auto writeRet = weaver->write(lastSlot, KEY, VALUE); in TEST_F()
139 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_F()
147 const auto readRet = weaver->read(slotId, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_F()
171 const auto overwriteRet = weaver->write(slotId, KEY, OTHER_VALUE); in TEST_F()
179 const auto readRet = weaver->read(slotId, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_F()
198 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_F()
235 const auto writeRet = weaver->write(config.slots, KEY, VALUE); in TEST_F()
263 weaver->read(config.slots, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_F()
313 const auto writeRet = weaver->write(slotId, KEY, bigValue); in TEST_F()