Home
last modified time | relevance | path

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

/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/qcom/sdm845/gps/sdm845/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.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/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/interfaces/camera/common/1.0/default/
DCameraParameters.cpp184 : mMap() in CameraParameters()
195 size_t size = mMap.size(); in flatten()
199 k = mMap.keyAt(i); in flatten()
200 v = mMap.valueAt(i); in flatten()
217 mMap.clear(); in unflatten()
234 mMap.add(k, v); in unflatten()
239 mMap.add(k, v); in unflatten()
258 mMap.replaceValueFor(String8(key), String8(value)); in set()
277 String8 v = mMap.valueFor(String8(key)); in get()
300 mMap.removeItem(String8(key)); in remove()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.h99 const auto i = mMap.find(handle); in operateSensor()
100 if (i == mMap.end()) { in operateSensor()
126 std::unordered_map<int, wp<BaseSensorObject>> mMap; variable
DDynamicSensorManager.cpp143 mMap.emplace(handle, sensor); in registerSensor()
166 mMap.erase(handle); in unregisterSensor()
/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/1.0/default/include/
DCameraParameters.h699 DefaultKeyedVector<String8,String8> mMap;