Home
last modified time | relevance | path

Searched refs:mMap (Results 1 – 8 of 8) sorted by relevance

/system/libhidl/transport/include/hidl/
DConcurrentMap.h35 mMap[std::forward<K>(k)] = std::forward<V>(v); in set()
41 const_iterator iter = mMap.find(k); in get()
42 if (iter == mMap.end()) { in get()
50 return mMap.erase(k); in erase()
55 const_iterator iter = mMap.find(k); in eraseIfEqual()
56 if (iter == mMap.end()) { in eraseIfEqual()
60 mMap.erase(iter); in eraseIfEqual()
69 void setLocked(const K& k, V&& v) { mMap[k] = std::forward<V>(v); } in setLocked()
70 void setLocked(const K& k, const V& v) { mMap[k] = v; } in setLocked()
73 const_iterator iter = mMap.find(k); in getLocked()
[all …]
/system/hwservicemanager/
DTokenManager.cpp78 mMap[id] = interface; in createToken()
89 return mMap.end(); in lookupToken()
92 auto it = mMap.find(tokenId); in lookupToken()
94 if (it == mMap.end()) { in lookupToken()
95 return mMap.end(); in lookupToken()
102 return mMap.end(); in lookupToken()
111 if (it == mMap.end()) { in unregister()
115 mMap.erase(it); in unregister()
122 if (it == mMap.end()) { in get()
DTokenManager.h73 std::unordered_map<uint64_t, TokenInterface> mMap; // map getTokenId(i.token) -> i member
/system/security/keystore/
Doperation.cpp34 mMap.emplace(token, std::make_shared<Operation>(handle, keyid, purpose, dev, in addOperation()
43 auto entry = mMap.find(token); in getOperation()
44 if (entry == mMap.end()) return {}; in getOperation()
62 auto entry = mMap.find(token); in removeOperation()
63 if (entry == mMap.end()) return {}; in removeOperation()
67 mMap.erase(entry); in removeOperation()
Doperation.h61 size_t getOperationCount() const { return mMap.size(); } in getOperationCount()
69 std::map<sp<IBinder>, std::shared_ptr<Operation>> mMap; variable
/system/libvintf/include/vintf/
DMapValueIterator.h85 IterableImpl(map_ref map) : mMap(map) {} in IterableImpl()
88 return IteratorImpl<is_const>(mMap.begin()); in begin()
92 return IteratorImpl<is_const>(mMap.end()); in end()
98 map_ref mMap;
/system/core/libutils/
DPropertyMap.cpp153 mMap(map), mTokenizer(tokenizer) { in Parser()
200 if (mMap->hasProperty(keyToken)) { in parse()
206 mMap->addProperty(keyToken, valueToken); in parse()
/system/core/libutils/include/utils/
DPropertyMap.h85 PropertyMap* mMap; variable