Home
last modified time | relevance | path

Searched refs:valueHandleMap_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_database.cpp62 valueHandleMap_.emplace(ccc.valueHandle_, std::make_pair(service.handle_, ccc.handle_)); in AddService()
72valueHandleMap_.emplace(descriptor.handle_, std::make_pair(service.handle_, ccc.handle_)); in AddService()
98 valueHandleMap_.erase(ccc.second.valueHandle_); in DeleteService()
101 valueHandleMap_.erase(descriptor.second.handle_); in DeleteService()
115 valueHandleMap_.clear(); in RemoveAllServices()
263 auto it = valueHandleMap_.find(valueHandle); in GetCharacteristic()
264 if (it != valueHandleMap_.end() && it->second.second == valueHandle - 1) { in GetCharacteristic()
278 auto it = valueHandleMap_.find(valueHandle); in GetDescriptor()
279 if (it == valueHandleMap_.end()) { in GetDescriptor()
H A Dgatt_cache.cpp56valueHandleMap_.emplace(characteristic.valueHandle_, std::make_pair(serviceHandle, characteristic.… in AddCharacteristic()
72valueHandleMap_.emplace(descriptor.handle_, std::make_pair(sIt.second.handle_, cIt->second.handle_… in AddDescriptor()
82 auto it = valueHandleMap_.find(valueHandle); in GetCharacteristic()
83 if (it != valueHandleMap_.end()) { in GetCharacteristic()
97 auto it = valueHandleMap_.find(valueHandle); in GetDescriptor()
98 if (it == valueHandleMap_.end()) { in GetDescriptor()
H A Dgatt_cache.h142 std::map<uint16_t, std::pair<uint16_t, uint16_t>> valueHandleMap_ = {}; variable
H A Dgatt_database.h232 std::map<uint16_t, std::pair<uint16_t, uint16_t>> valueHandleMap_ = {}; variable