Home
last modified time | relevance | path

Searched refs:ringbuffer (Results 1 – 5 of 5) sorted by relevance

/system/bt/btif/src/
Dbtif_debug_btsnoop.cc180 ringbuffer_t* ringbuffer = ringbuffer_init(BTSNOOP_MEM_BUFFER_SIZE); in btif_debug_btsnoop_dump() local
181 if (ringbuffer == NULL) { in btif_debug_btsnoop_dump()
191 ringbuffer_insert(ringbuffer, (uint8_t*)&preamble, in btif_debug_btsnoop_dump()
206 rc = btsnoop_compress(ringbuffer, buffer); in btif_debug_btsnoop_dump()
216 while (ringbuffer_size(ringbuffer) > 0) { in btif_debug_btsnoop_dump()
217 size_t read = ringbuffer_pop(ringbuffer, b64_in, 3); in btif_debug_btsnoop_dump()
229 ringbuffer_free(ringbuffer); in btif_debug_btsnoop_dump()
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc141 ringbuffer_t* ringbuffer = ringbuffer_init(NFCSNOOP_MEM_BUFFER_SIZE); in debug_nfcsnoop_dump() local
142 if (ringbuffer == nullptr) { in debug_nfcsnoop_dump()
152 ringbuffer_insert(ringbuffer, (uint8_t*)&preamble, in debug_nfcsnoop_dump()
167 rc = nfcsnoop_compress(ringbuffer, buffer); in debug_nfcsnoop_dump()
177 while (ringbuffer_size(ringbuffer) > 0) { in debug_nfcsnoop_dump()
178 size_t read = ringbuffer_pop(ringbuffer, b64_in, 3); in debug_nfcsnoop_dump()
190 ringbuffer_free(ringbuffer); in debug_nfcsnoop_dump()
/system/nfc/utils/
DAndroid.bp27 "ringbuffer.cc",
/system/bt/osi/
DBUILD.gn34 "src/ringbuffer.cc",
DAndroid.bp61 "src/ringbuffer.cc",