Home
last modified time | relevance | path

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

/hardware/qcom/sm8150p/gps/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/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/qcom/sm8150/gps/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/qcom/sm7150/gps/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
115 const auto writeRet = weaver->write(lastSlot, KEY, VALUE); in TEST_P()
126 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_P()
134 const auto readRet = weaver->read(slotId, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_P()
158 const auto overwriteRet = weaver->write(slotId, KEY, OTHER_VALUE); in TEST_P()
166 const auto readRet = weaver->read(slotId, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_P()
185 const auto ret = weaver->write(slotId, KEY, VALUE); in TEST_P()
222 const auto writeRet = weaver->write(config.slots, KEY, VALUE); in TEST_P()
250 weaver->read(config.slots, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_P()
300 const auto writeRet = weaver->write(slotId, KEY, bigValue); in TEST_P()