Searched refs:valueHandleMap_ (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_database.cpp | 62 valueHandleMap_.emplace(ccc.valueHandle_, std::make_pair(service.handle_, ccc.handle_)); in AddService() 72 … valueHandleMap_.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 D | gatt_cache.cpp | 56 …valueHandleMap_.emplace(characteristic.valueHandle_, std::make_pair(serviceHandle, characteristic.… in AddCharacteristic() 72 …valueHandleMap_.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 D | gatt_cache.h | 142 std::map<uint16_t, std::pair<uint16_t, uint16_t>> valueHandleMap_ = {}; variable
|
H A D | gatt_database.h | 232 std::map<uint16_t, std::pair<uint16_t, uint16_t>> valueHandleMap_ = {}; variable
|