Home
last modified time | relevance | path

Searched refs:GattCache (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_cache.cpp22 using Descriptors = std::pair<std::map<uint16_t, GattCache::Descriptor> *, uint16_t>;
24 void GattCache::AddService(const Service &service) in AddService()
33 void GattCache::Clear() in Clear()
38 int GattCache::AddIncludeService(uint16_t serviceHandle, const IncludeService &includeService) in AddIncludeService()
50 int GattCache::AddCharacteristic(uint16_t serviceHandle, const Characteristic &characteristic) in AddCharacteristic()
66 int GattCache::AddDescriptor(uint16_t cccHandle, const Descriptor &descriptor) in AddDescriptor()
80 const GattCache::Characteristic *GattCache::GetCharacteristic(int16_t valueHandle) in GetCharacteristic()
95 const GattCache::Descriptor *GattCache
[all...]
H A Dgatt_cache.h29 class GattCache { class
85 using Descriptors = std::pair<std::map<uint16_t, GattCache::Descriptor> *, uint16_t>;
87 GattCache() in GattCache() function in OHOS::bluetooth::GattCache
89 ~GattCache() in ~GattCache()
100 const GattCache::Characteristic *GetCharacteristic(int16_t valueHandle);
101 const GattCache::Descriptor *GetDescriptor(int16_t valueHandle);
107 GattCache(GattCache &&src) = default;
108 GattCache &operator=(GattCache
[all...]
H A Dgatt_client_profile_callback.h48 int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) {}; in OnDiscoverAllPrimaryServicesEvent()
50 int reqId, int result, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) {}; in OnDiscoverPrimaryServicesByServiceUUIDEvent()
52 const std::vector<GattCache::IncludeService> &services) {}; in OnFindIncludedServicesEvent()
54 uint16_t serviceHandle, const std::map<uint16_t, GattCache::Characteristic> &characteristics) {}; in OnDiscoverAllCharacteristicOfServiceEvent()
56 uint16_t serviceHandle, const std::map<uint16_t, GattCache::Characteristic> &characteristics) {}; in OnDiscoverCharacteristicByUUIDEvent()
58 uint16_t characteristicHandle, const std::map<uint16_t, GattCache::Descriptor> &descriptors) {}; in OnDiscoverAllCharacteristicDescriptorsEvent()
H A Dgatt_client_profile.h89 std::map<uint16_t, GattCache::Service> *GetServices(uint16_t connectHandle) const;
91 const GattCache::Service *GetService(uint16_t connectHandle, int16_t handle) const;
92 const GattCache::Characteristic *GetCharacteristic(uint16_t connectHandle, int16_t valueHandle) const;
93 const GattCache::Descriptor *GetDescriptor(uint16_t connectHandle, int16_t valueHandle) const;
H A Dgatt_client_profile.cpp32 std::map<uint16_t, GattCache> cacheMap_ = {};
790 std::map<uint16_t, GattCache::Service> *GattClientProfile::GetServices(uint16_t connectHandle) const in GetServices()
817 const GattCache::Service *GattClientProfile::GetService(uint16_t connectHandle, int16_t handle) const in GetService()
837 const GattCache::Characteristic *GattClientProfile::GetCharacteristic( in GetCharacteristic()
855 const GattCache::Descriptor *GattClientProfile::GetDescriptor(uint16_t connectHandle, int16_t valueHandle) const in GetDescriptor()
1007 reqId, ret, connectHandle, std::map<uint16_t, GattCache::Service>()); in IndicateRequestRetToService()
1011 reqId, ret, connectHandle, std::map<uint16_t, GattCache::Service>()); in IndicateRequestRetToService()
1015 reqId, ret, connectHandle, 0, std::vector<GattCache::IncludeService>()); in IndicateRequestRetToService()
1020 reqId, ret, connectHandle, 0, std::map<uint16_t, GattCache::Characteristic>()); in IndicateRequestRetToService()
1024 reqId, ret, 0, 0, std::map<uint16_t, GattCache in IndicateRequestRetToService()
[all...]
H A Dgatt_client_service.cpp118 int requestId, int ret, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services);
120 const std::vector<GattCache::IncludeService> &services);
122 uint16_t serviceHandle, const std::map<uint16_t, GattCache::Characteristic> &characteristics);
146 static void BuildService(GattCache::Service &src, Service &dest);
468 int reqId, int ret, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) override
479 const std::vector<GattCache::IncludeService> &services) override
491 const std::map<uint16_t, GattCache::Characteristic> &characteristics) override
504 const std::map<uint16_t, GattCache::Descriptor> &descriptors) override
834 int requestId, int ret, uint16_t connectHandle, const std::map<uint16_t, GattCache::Service> &services) in OnDiscoverAllPrimaryServicesEvent()
864 uint16_t serviceHandle, const std::vector<GattCache in OnFindIncludedServicesEvent()
[all...]

Completed in 7 milliseconds