Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dbtsnoop_mem.cc23 static btsnoop_data_cb data_callback = NULL; variable
25 void btsnoop_mem_set_callback(btsnoop_data_cb cb) { data_callback = cb; } in btsnoop_mem_set_callback()
28 if (!data_callback) return; in btsnoop_mem_capture()
56 if (length) (*data_callback)(type, data, length, timestamp_us); in btsnoop_mem_capture()
/system/extras/simpleperf/
DRecordReadThread.h128 bool RegisterDataCallback(IOEventLoop& loop, const std::function<bool()>& data_callback);
DRecordReadThread.cpp224 const std::function<bool()>& data_callback) { in RegisterDataCallback() argument
237 if (!loop.AddReadEvent(read_data_fd_, data_callback)) { in RegisterDataCallback()