Home
last modified time | relevance | path

Searched refs:b_hard_lock (Results 1 – 9 of 9) sorted by relevance

/system/nfc/src/nfa/include/
Dnfa_rw_int.h137 typedef struct { bool b_hard_lock; } tNFA_RW_OP_PARAMS_CONFIG_READ_ONLY; member
285 bool b_hard_lock; member
Dnfa_rw_api.h226 extern tNFA_STATUS NFA_RwSetTagReadOnly(bool b_hard_lock);
/system/nfc/src/nfa/rw/
Dnfa_rw_api.cc257 tNFA_STATUS NFA_RwSetTagReadOnly(bool b_hard_lock) { in NFA_RwSetTagReadOnly() argument
271 if ((!b_hard_lock && (protocol == NFC_PROTOCOL_T5T)) || in NFA_RwSetTagReadOnly()
272 (b_hard_lock && (protocol == NFC_PROTOCOL_ISO_DEP))) { in NFA_RwSetTagReadOnly()
275 b_hard_lock ? "Hard lock" : "Soft lock", protocol); in NFA_RwSetTagReadOnly()
280 << StringPrintf("%s", b_hard_lock ? "Hard lock" : "Soft lock"); in NFA_RwSetTagReadOnly()
287 p_msg->params.set_readonly.b_hard_lock = b_hard_lock; in NFA_RwSetTagReadOnly()
Dnfa_rw_act.cc48 static tNFC_STATUS nfa_rw_config_tag_ro(bool b_hard_lock);
346 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) { in nfa_rw_handle_tlv_detect()
369 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) { in nfa_rw_handle_tlv_detect()
2015 static tNFC_STATUS nfa_rw_config_tag_ro(bool b_hard_lock) { in nfa_rw_config_tag_ro() argument
2028 status = RW_T1tSetTagReadOnly(b_hard_lock); in nfa_rw_config_tag_ro()
2033 status = RW_T2tSetTagReadOnly(b_hard_lock); in nfa_rw_config_tag_ro()
2037 status = RW_T3tSetReadOnly(b_hard_lock); in nfa_rw_config_tag_ro()
2862 nfa_rw_cb.b_hard_lock = p_data->op_req.params.set_readonly.b_hard_lock; in nfa_rw_handle_op_req()
2863 nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock); in nfa_rw_handle_op_req()
/system/nfc/src/nfc/include/
Drw_api.h452 extern tNFC_STATUS RW_T1tSetTagReadOnly(bool b_hard_lock);
601 extern tNFC_STATUS RW_T2tSetTagReadOnly(bool b_hard_lock);
689 extern tNFC_STATUS RW_T3tSetReadOnly(bool b_hard_lock);
Drw_int.h188 bool b_hard_lock; /* Hard lock the tag as part of config tag to Read only */ member
409 bool b_hard_lock; /* Hard lock the tag as part of config tag to Read only */ member
/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc389 if (!p_t1t->b_hard_lock) { in rw_t1t_handle_write_rsp()
2525 tNFC_STATUS RW_T1tSetTagReadOnly(bool b_hard_lock) { in RW_T1tSetTagReadOnly() argument
2537 p_t1t->b_hard_lock = b_hard_lock; in RW_T1tSetTagReadOnly()
2549 if (p_t1t->b_hard_lock) { in RW_T1tSetTagReadOnly()
Drw_t2t_ndef.cc1766 if (!p_t2t->b_hard_lock) { in rw_t2t_handle_config_tag_readonly()
2684 if (p_t2t->b_hard_lock) { in rw_t2t_soft_lock_tag()
3061 tNFC_STATUS RW_T2tSetTagReadOnly(bool b_hard_lock) { in RW_T2tSetTagReadOnly() argument
3073 p_t2t->b_hard_lock = b_hard_lock; in RW_T2tSetTagReadOnly()
Drw_t3t.cc2960 tNFC_STATUS RW_T3tSetReadOnly(bool b_hard_lock) { in RW_T3tSetReadOnly() argument
2966 << StringPrintf("b_hard_lock=%d", b_hard_lock); in RW_T3tSetReadOnly()
2982 if ((!b_hard_lock) && in RW_T3tSetReadOnly()
2994 if (b_hard_lock) in RW_T3tSetReadOnly()