Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Bluetooth/system/gd/l2cap/internal/
Dfixed_channel_allocator.h107 int ref_count = 0; in GetRefCount() local
110 ref_count++; in GetRefCount()
113 return ref_count; in GetRefCount()
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink.cc281 int ref_count = 0; in RefreshRefCount() local
282 ref_count += fixed_channel_allocator_.GetRefCount(); in RefreshRefCount()
283 ref_count += dynamic_channel_allocator_.NumberOfChannels(); in RefreshRefCount()
284 log::assert_that(ref_count >= 0, "ref_count {} is less than 0", ref_count); in RefreshRefCount()
285 if (ref_count > 0) { in RefreshRefCount()
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink.cc267 int ref_count = 0; in RefreshRefCount() local
268 ref_count += fixed_channel_allocator_.GetRefCount(); in RefreshRefCount()
269 ref_count += dynamic_channel_allocator_.NumberOfChannels(); in RefreshRefCount()
271 ref_count += 1; in RefreshRefCount()
273 log::assert_that(ref_count >= 0, "ref_count {} is less than 0", ref_count); in RefreshRefCount()
274 if (ref_count > 0) { in RefreshRefCount()