Home
last modified time | relevance | path

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

/hardware/qcom/sm7150/gps/utils/
DLocUnorderedSetMap.h74 unordered_map<KEY, unordered_set<VAL>> mMap; variable
85 mMap.erase(iter); in trimOrRemove()
92 inline LocUnorderedSetMap(size_t size) : mMap(size) {} in LocUnorderedSetMap()
94 inline bool empty() { return mMap.empty(); } in empty()
99 auto entry = mMap.find(key); in getValSetPtr()
100 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr()
106 auto entry = mMap.find(key); in getValSet()
107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet()
113 for (auto entry : mMap) { in getKeys()
120 return mMap.erase(key) > 0; in remove()
[all …]
/hardware/qcom/sm8150/gps/utils/
DLocUnorderedSetMap.h81 unordered_map<KEY, unordered_set<VAL>> mMap; variable
91 mMap.erase(iter); in trimOrRemove()
99 mMap.get_allocator().allocate(size); in LocUnorderedSetMap()
102 inline bool empty() { return mMap.empty(); } in empty()
107 auto entry = mMap.find(key); in getValSetPtr()
108 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr()
114 auto entry = mMap.find(key); in getValSet()
115 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>{}; in getValSet()
121 for (auto entry : mMap) { in getKeys()
128 return mMap.erase(key) > 0; in remove()
[all …]
/hardware/qcom/sm7250/gps/utils/
DLocUnorderedSetMap.h81 unordered_map<KEY, unordered_set<VAL>> mMap; variable
91 mMap.erase(iter); in trimOrRemove()
99 mMap.get_allocator().allocate(size); in LocUnorderedSetMap()
102 inline bool empty() { return mMap.empty(); } in empty()
107 auto entry = mMap.find(key); in getValSetPtr()
108 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr()
114 auto entry = mMap.find(key); in getValSet()
115 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>{}; in getValSet()
121 for (auto entry : mMap) { in getKeys()
128 return mMap.erase(key) > 0; in remove()
[all …]
/hardware/qcom/sm8150p/gps/utils/
DLocUnorderedSetMap.h74 unordered_map<KEY, unordered_set<VAL>> mMap; variable
85 mMap.erase(iter); in trimOrRemove()
92 inline LocUnorderedSetMap(size_t size) : mMap(size) {} in LocUnorderedSetMap()
94 inline bool empty() { return mMap.empty(); } in empty()
99 auto entry = mMap.find(key); in getValSetPtr()
100 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr()
106 auto entry = mMap.find(key); in getValSet()
107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet()
113 for (auto entry : mMap) { in getKeys()
120 return mMap.erase(key) > 0; in remove()
[all …]
/hardware/google/aemu/base/include/aemu/base/containers/
DHybridComponentManager.h41 mMap[index] = data; in add()
48 mMap.clear(); in clear()
57 mMap.erase(index); in remove()
67 return android::base::find(mMap, index); in get()
77 return android::base::find(mMap, index); in get_const()
98 for (auto it : mMap) { in forEach()
107 for (auto it : mMap) { in forEachLive()
116 for (const auto it : mMap) { in forEachLive_const()
128 std::unordered_map<IndexType, Data> mMap; variable
DHybridEntityManager.h60 auto emplaced = mMap.emplace(nextIndex, data); in add()
79 auto emplaced = mMap.emplace(index_u64, data); in addFixed()
96 mMap.clear(); in clear()
108 mMap.erase(index_u64); in remove()
119 auto res = android::base::find(mMap, index_u64); in get()
133 auto res = android::base::find(mMap, index_u64); in get_const()
159 for (auto it : mMap) { in forEach()
172 for (auto it : mMap) { in forEachLive()
186 for (const auto it : mMap) { in forEachLive_const()
198 std::unordered_map<IndexType, Data> mMap; variable
/hardware/google/gfxstream/guest/android-emu/aemu/base/containers/
DHybridComponentManager.h41 mMap[index] = data; in add()
48 mMap.clear(); in clear()
57 mMap.erase(index); in remove()
67 return gfxstream::guest::find(mMap, index); in get()
77 return gfxstream::guest::find(mMap, index); in get_const()
98 for (auto it : mMap) { in forEach()
107 for (auto it : mMap) { in forEachLive()
116 for (const auto it : mMap) { in forEachLive_const()
128 std::unordered_map<IndexType, Data> mMap; variable
/hardware/google/aemu/base/include/aemu/base/testing/
DTestDnsResolver.h53 void reset() { mMap.clear(); } in reset()
80 auto it = mMap.find(key); in addEntryList()
81 if (it == mMap.end()) { in addEntryList()
82 mMap.insert(std::make_pair(key, list)); in addEntryList()
101 auto it = mMap.find(key); in resolveName()
102 if (it == mMap.end()) { in resolveName()
117 std::unordered_map<std::string, AddressList> mMap; variable
/hardware/google/gfxstream/host/magma/
DMonotonicMap.h41 auto [it, emplaced] = mMap.emplace(key, V(std::forward<Params>(params)...)); in create()
48 auto it = mMap.find(key); in get()
49 if (it == mMap.end()) { in get()
57 bool erase(const K& key) { return mMap.erase(key) > 0; } in erase()
61 std::unordered_map<K, V> mMap; variable
/hardware/interfaces/camera/common/default/
DCameraParameters.cpp184 CameraParameters::CameraParameters() : mMap() {} in CameraParameters()
190 size_t size = mMap.size(); in flatten()
194 k = mMap.keyAt(i); in flatten()
195 v = mMap.valueAt(i); in flatten()
210 mMap.clear(); in unflatten()
226 mMap.add(k, v); in unflatten()
231 mMap.add(k, v); in unflatten()
248 mMap.replaceValueFor(String8(key), String8(value)); in set()
264 String8 v = mMap.valueFor(String8(key)); in get()
282 mMap.removeItem(String8(key)); in remove()
[all …]
/hardware/interfaces/biometrics/common/config/include/config/
DConfig.h57 CHECK(mMap.count(name) > 0) << " biometric/config get invalid name: " << name; in get()
65 CHECK(mMap.count(name) > 0) << " biometric/config set invalid name: " << name; in set()
72 CHECK(mMap.count(name) > 0) << " biometric/config get invalid name: " << name; in getopt()
77 CHECK(mMap.count(name) > 0) << " biometric/config set invalid name: " << name; in setopt()
108 for (auto const& [k, v] : mMap) { in toString()
121 void setConfig(const std::string& name, const Config::Data& value) { mMap[name] = value; } in setConfig()
129 std::map<std::string, Config::Data> mMap; variable
/hardware/interfaces/biometrics/common/config/
DConfig.cpp94 auto it = mMap.find(name); in setParam()
95 if (it == mMap.end()) { in setParam()
111 auto& data = mMap[name]; in getInternal()
131 return mMap[name].value; in getDefault()
137 auto& data = mMap[name]; in setInternal()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.cpp147 mMap.emplace(handle, sensor); in registerSensor()
170 mMap.erase(handle); in unregisterSensor()
292 const auto i = mMap.find(handle); in operateSensor()
293 if (i == mMap.end()) { in operateSensor()
DDynamicSensorManager.h121 std::unordered_map<int, wp<BaseSensorObject>> mMap; variable
/hardware/libhardware/modules/input/evdev/
DInputHost.h134 InputHostBase(host, cb), mMap(m) {} in InputPropertyMap()
139 operator input_property_map_t*() { return mMap; }
144 input_property_map_t* mMap;
DInputHost.cpp70 mCallbacks.input_get_device_property(mHost, mMap, key)); in getDeviceProperty()
/hardware/interfaces/camera/common/default/include/
DCameraParameters.h697 DefaultKeyedVector<String8, String8> mMap;
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_logger.cpp1690 wifi_buf_ring_map_entry_t *mMap; member in RingDump
1699 mErrCode(0), mNumMaps(num_maps), mMap(map), mHandle(ring_handle) in RingDump()
1710 mMap = NULL; in RingDump()
1724 int type = mMap[i].type; in start()
1727 memcpy(ring_name[type], mMap[i].ring_name, strlen(mMap[i].ring_name)); in start()
1729 EWP_CmdAttrToString(type), ring_name[type], strlen(mMap[i].ring_name))); in start()
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dwifi_logger.cpp1622 wifi_buf_ring_map_entry_t *mMap; member in RingDump
1631 mErrCode(0), mNumMaps(num_maps), mMap(map), mHandle(ring_handle) in RingDump()
1650 int type = mMap[i].type; in start()
1653 memcpy(ring_name[type], mMap[i].ring_name, strlen(mMap[i].ring_name)); in start()
1655 EWP_CmdAttrToString(type), ring_name[type], strlen(mMap[i].ring_name))); in start()