Home
last modified time | relevance | path

Searched refs:p_rw_data (Results 1 – 7 of 7) sorted by relevance

/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc53 static void nfa_rw_handle_t2t_evt(tRW_EVENT event, tRW_DATA* p_rw_data);
55 static void nfa_rw_cback(tRW_EVENT event, tRW_DATA* p_rw_data);
56 static void nfa_rw_handle_mfc_evt(tRW_EVENT event, tRW_DATA* p_rw_data);
83 static void nfa_rw_store_ndef_rx_buf(tRW_DATA* p_rw_data) { in nfa_rw_store_ndef_rx_buf() argument
86 p = (uint8_t*)(p_rw_data->data.p_data + 1) + p_rw_data->data.p_data->offset; in nfa_rw_store_ndef_rx_buf()
88 if ((nfa_rw_cb.ndef_rd_offset + p_rw_data->data.p_data->len) <= in nfa_rw_store_ndef_rx_buf()
92 p_rw_data->data.p_data->len); in nfa_rw_store_ndef_rx_buf()
93 nfa_rw_cb.ndef_rd_offset += p_rw_data->data.p_data->len; in nfa_rw_store_ndef_rx_buf()
99 GKI_freebuf(p_rw_data->data.p_data); in nfa_rw_store_ndef_rx_buf()
100 p_rw_data->data.p_data = nullptr; in nfa_rw_store_ndef_rx_buf()
[all …]
/system/nfc/src/fuzzers/rw/
Dmfc.cc18 static void rw_cback(tRW_EVENT event, tRW_DATA* p_rw_data) { in rw_cback() argument
19 FUZZLOG(MODULE_NAME ": event=0x%02x, p_rw_data=%p", event, p_rw_data); in rw_cback()
22 if (p_rw_data->raw_frame.p_data) { in rw_cback()
23 GKI_freebuf(p_rw_data->raw_frame.p_data); in rw_cback()
24 p_rw_data->raw_frame.p_data = nullptr; in rw_cback()
27 if (p_rw_data->data.p_data) { in rw_cback()
28 GKI_freebuf(p_rw_data->data.p_data); in rw_cback()
29 p_rw_data->data.p_data = nullptr; in rw_cback()
Dt4t.cc16 static void rw_cback(tRW_EVENT event, tRW_DATA* p_rw_data) { in rw_cback() argument
18 p_rw_data); in rw_cback()
21 if (p_rw_data->raw_frame.p_data) { in rw_cback()
22 GKI_freebuf(p_rw_data->raw_frame.p_data); in rw_cback()
23 p_rw_data->raw_frame.p_data = nullptr; in rw_cback()
27 if (p_rw_data->data.p_data) { in rw_cback()
28 GKI_freebuf(p_rw_data->data.p_data); in rw_cback()
29 p_rw_data->data.p_data = nullptr; in rw_cback()
Dt5t.cc35 static void rw_cback(tRW_EVENT event, tRW_DATA* p_rw_data) { in rw_cback() argument
37 p_rw_data); in rw_cback()
40 if (p_rw_data->i93_data.p_data) { in rw_cback()
41 GKI_freebuf(p_rw_data->i93_data.p_data); in rw_cback()
42 p_rw_data->i93_data.p_data = nullptr; in rw_cback()
45 if (p_rw_data->raw_frame.p_data) { in rw_cback()
46 GKI_freebuf(p_rw_data->raw_frame.p_data); in rw_cback()
47 p_rw_data->raw_frame.p_data = nullptr; in rw_cback()
Dt2t.cc19 static void rw_cback(tRW_EVENT event, tRW_DATA* p_rw_data) { in rw_cback() argument
21 p_rw_data); in rw_cback()
24 if (p_rw_data->data.p_data) { in rw_cback()
25 GKI_freebuf(p_rw_data->data.p_data); in rw_cback()
26 p_rw_data->data.p_data = nullptr; in rw_cback()
Dt1t.cc25 static void rw_cback(tRW_EVENT event, tRW_DATA* p_rw_data) { in rw_cback() argument
27 p_rw_data); in rw_cback()
32 if (p_rw_data->data.p_data) { in rw_cback()
33 GKI_freebuf(p_rw_data->data.p_data); in rw_cback()
34 p_rw_data->data.p_data = nullptr; in rw_cback()
Dt3t.cc42 static void rw_cback(tRW_EVENT event, tRW_DATA* p_rw_data) { in rw_cback() argument
44 p_rw_data); in rw_cback()
47 if (p_rw_data->data.p_data) { in rw_cback()
48 GKI_freebuf(p_rw_data->data.p_data); in rw_cback()
49 p_rw_data->data.p_data = nullptr; in rw_cback()