Home
last modified time | relevance | path

Searched refs:p_t1t (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc91 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_handle_rsp() local
94 if ((p_t1t->state == RW_T1T_STATE_READ) || in rw_t1t_handle_rsp()
95 (p_t1t->state == RW_T1T_STATE_WRITE)) { in rw_t1t_handle_rsp()
106 p_t1t->b_rseg = true; in rw_t1t_handle_rsp()
110 memcpy(p_t1t->mem, (uint8_t*)(p_data + T1T_ADD_LEN), T1T_SEGMENT_SIZE); in rw_t1t_handle_rsp()
133 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_info_to_event() local
135 switch (p_t1t->state) { in rw_t1t_info_to_event()
137 if (p_t1t->tlv_detect == TAG_NDEF_TLV) in rw_t1t_info_to_event()
189 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_extract_lock_bytes() local
197 start = p_t1t->segment * T1T_SEGMENT_SIZE; in rw_t1t_extract_lock_bytes()
[all …]
Drw_t1t.cc65 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in rw_t1t_data_cback() local
73 uint8_t begin_state = p_t1t->state; in rw_t1t_data_cback()
81 "state:%s (%d)", rw_t1t_get_state_name(p_t1t->state).c_str(), in rw_t1t_data_cback()
82 p_t1t->state); in rw_t1t_data_cback()
86 if ((p_t1t->state == RW_T1T_STATE_IDLE) || (!p_cmd_rsp_info)) { in rw_t1t_data_cback()
94 if ((p_t1t->prev_cmd_rsp_info.pend_retx_rsp) && in rw_t1t_data_cback()
95 (p_t1t->prev_cmd_rsp_info.rsp_len == p_pkt->len) && in rw_t1t_data_cback()
96 ((p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RID) || in rw_t1t_data_cback()
97 (p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RALL) || in rw_t1t_data_cback()
98 (p_t1t->prev_cmd_rsp_info.addr == *p))) { in rw_t1t_data_cback()
[all …]
/system/nfc/src/nfa/rw/
Dnfa_rw_main.cc91 tRW_T1T_CB* p_t1t; in nfa_rw_sys_disable() local
102 p_t1t = &rw_cb.tcb.t1t; in nfa_rw_sys_disable()
103 if (p_t1t->p_cur_cmd_buf != NULL) { in nfa_rw_sys_disable()
104 GKI_freebuf(p_t1t->p_cur_cmd_buf); in nfa_rw_sys_disable()
105 p_t1t->p_cur_cmd_buf = NULL; in nfa_rw_sys_disable()
/system/nfc/src/fuzzers/rw/
Dt1t.cc115 tRW_T1T_CB* p_t1t = &rw_cb.tcb.t1t; in Init_ReadNdef() local
116 p_t1t->tag_attribute = RW_T1_TAG_ATTRB_READ_WRITE; in Init_ReadNdef()
117 p_t1t->ndef_msg_len = 256; in Init_ReadNdef()