Home
last modified time | relevance | path

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

/system/bt/hci/src/
Dbtsnoop_mem.cc24 static btsnoop_data_cb data_callback = NULL; variable
27 void btsnoop_mem_set_callback(btsnoop_data_cb cb) { data_callback = cb; } in btsnoop_mem_set_callback()
34 if (!data_callback && !attribution_callback) return; in btsnoop_mem_capture()
67 if (length && data_callback) in btsnoop_mem_capture()
68 (*data_callback)(type, data, length, timestamp_us); in btsnoop_mem_capture()
/system/extras/simpleperf/
DRecordReadThread.h141 bool RegisterDataCallback(IOEventLoop& loop, const std::function<bool()>& data_callback);
DRecordReadThread.cpp241 const std::function<bool()>& data_callback) { in RegisterDataCallback() argument
254 if (!loop.AddReadEvent(read_data_fd_, data_callback)) { in RegisterDataCallback()