Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_debug_btsnoop.cc185 ringbuffer_t* ringbuffer = ringbuffer_init(BTSNOOP_MEM_BUFFER_SIZE); in btif_debug_btsnoop_dump() local
186 if (ringbuffer == NULL) { in btif_debug_btsnoop_dump()
196 ringbuffer_insert(ringbuffer, (uint8_t*)&preamble, in btif_debug_btsnoop_dump()
211 rc = btsnoop_compress(ringbuffer, buffer); in btif_debug_btsnoop_dump()
221 while (ringbuffer_size(ringbuffer) > 0) { in btif_debug_btsnoop_dump()
222 size_t read = ringbuffer_pop(ringbuffer, b64_in, 3); in btif_debug_btsnoop_dump()
237 ringbuffer_free(ringbuffer); in btif_debug_btsnoop_dump()
/system/nfc/src/adaptation/
Ddebug_nfcsnoop.cc164 ringbuffer_t* ringbuffer = ringbuffer_init(NFCSNOOP_MEM_BUFFER_SIZE); in debug_nfcsnoop_dump() local
165 if (ringbuffer == nullptr) { in debug_nfcsnoop_dump()
175 ringbuffer_insert(ringbuffer, (uint8_t*)&preamble, in debug_nfcsnoop_dump()
190 rc = nfcsnoop_compress(ringbuffer, buffer); in debug_nfcsnoop_dump()
200 while (ringbuffer_size(ringbuffer) > 0) { in debug_nfcsnoop_dump()
201 size_t read = ringbuffer_pop(ringbuffer, b64_in, 3); in debug_nfcsnoop_dump()
213 ringbuffer_free(ringbuffer); in debug_nfcsnoop_dump()
/system/nfc/utils/
DAndroid.bp42 "ringbuffer.cc",
/system/bt/osi/
DBUILD.gn34 "src/ringbuffer.cc",
DAndroid.bp71 "src/ringbuffer.cc",