Home
last modified time | relevance | path

Searched refs:nfa_dm_cb (Results 1 – 10 of 10) sorted by relevance

/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc73 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_ENABLE_EVT_PEND; in nfa_dm_module_init_cback()
77 (*nfa_dm_cb.p_dm_cback)(NFA_DM_ENABLE_EVT, &dm_cback_data); in nfa_dm_module_init_cback()
93 LOG(VERBOSE) << StringPrintf("nfcc_pwr_mode = 0x%x", nfa_dm_cb.nfcc_pwr_mode); in nfa_dm_nfcc_power_mode_proc_complete_cback()
96 if (nfa_dm_cb.nfcc_pwr_mode != NFA_DM_PWR_MODE_OFF_SLEEP) { in nfa_dm_nfcc_power_mode_proc_complete_cback()
97 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_NFCC_IS_RESTORING; in nfa_dm_nfcc_power_mode_proc_complete_cback()
103 nfa_dm_cb.flags &= ~NFA_DM_FLAGS_SETTING_PWR_MODE; in nfa_dm_nfcc_power_mode_proc_complete_cback()
106 power_mode_change.power_mode = nfa_dm_cb.nfcc_pwr_mode; in nfa_dm_nfcc_power_mode_proc_complete_cback()
109 (*nfa_dm_cb.p_dm_cback)(NFA_DM_PWR_MODE_CHANGE_EVT, &nfa_dm_cback_data); in nfa_dm_nfcc_power_mode_proc_complete_cback()
144 nfa_dm_cb.params.lf_t3t_id[xx][0] = 0xFF; in nfa_dm_set_init_nci_params()
145 nfa_dm_cb.params.lf_t3t_id[xx][1] = 0xFF; in nfa_dm_set_init_nci_params()
[all …]
Dnfa_dm_main.cc42 tNFA_DM_CB nfa_dm_cb = {}; variable
95 memset(&nfa_dm_cb, 0, sizeof(tNFA_DM_CB)); in nfa_dm_init()
96 nfa_dm_cb.poll_disc_handle = NFA_HANDLE_INVALID; in nfa_dm_init()
97 nfa_dm_cb.disc_cb.disc_duration = NFA_DM_DISC_DURATION_POLL; in nfa_dm_init()
98 nfa_dm_cb.nfcc_pwr_mode = NFA_DM_PWR_MODE_FULL; in nfa_dm_init()
99 nfa_dm_cb.pending_power_state = SCREEN_STATE_INVALID; in nfa_dm_init()
145 if ((nfa_dm_cb.disc_cb.disc_state == NFA_DM_RFST_IDLE) && in nfa_dm_sys_disable()
146 ((nfa_dm_cb.disc_cb.disc_flags & NFA_DM_DISC_FLAGS_DISABLING) == 0)) { in nfa_dm_sys_disable()
152 nfa_dm_cb.disc_cb.disc_state, in nfa_dm_sys_disable()
153 nfa_dm_cb.disc_cb.disc_flags); in nfa_dm_sys_disable()
[all …]
Dnfa_dm_discover.cc186 if (nfa_dm_cb.flags & NFA_DM_FLAGS_LISTEN_DISABLED) { in nfa_dm_get_rf_discover_config()
192 if (nfa_dm_cb.flags & NFA_DM_FLAGS_DEFAULT_TECH_CHANGED) { in nfa_dm_get_rf_discover_config()
193 if (nfa_dm_cb.flags & NFA_DM_FLAGS_LISTEN_TECH_CHANGED) { in nfa_dm_get_rf_discover_config()
194 dm_disc_listen_mask_dfl = nfa_dm_cb.change_listen_mask; in nfa_dm_get_rf_discover_config()
195 } else if (nfa_dm_cb.change_listen_mask == 0xff) { in nfa_dm_get_rf_discover_config()
198 if (nfa_dm_cb.flags & NFA_DM_FLAGS_POLL_TECH_CHANGED) { in nfa_dm_get_rf_discover_config()
199 dm_disc_poll_mask_dfl = nfa_dm_cb.change_poll_mask; in nfa_dm_get_rf_discover_config()
200 } else if (nfa_dm_cb.change_poll_mask == 0xff) { in nfa_dm_get_rf_discover_config()
205 if (nfa_dm_cb.flags & NFA_DM_FLAGS_LISTEN_TECH_CHANGED) { in nfa_dm_get_rf_discover_config()
207 nfa_dm_change_listen_mask(dm_disc_mask, nfa_dm_cb.change_listen_mask); in nfa_dm_get_rf_discover_config()
[all …]
Dnfa_dm_ndef.cc88 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_dereg_hdlr_by_handle()
109 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_dereg_all()
131 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_reg_hdlr()
239 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_find_next_handler()
346 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_clear_notified_flag()
367 tNFA_DM_CB* p_cb = &nfa_dm_cb; in nfa_dm_ndef_handle_message()
Dnfa_dm_api.cc65 nfa_dm_cb.get_max_ee = p_hal_entry_tbl->get_max_ee; in NFA_Init()
378 if (!nfa_dm_cb.p_excl_conn_cback) { in NFA_ReleaseExclusiveRfControl()
820 (!(nfa_dm_cb.disc_cb.disc_state == NFA_DM_RFST_LISTEN_ACTIVE && in NFA_SendRawFrame()
821 nfa_dm_cb.disc_cb.activated_protocol == NFA_PROTOCOL_T3T))) in NFA_SendRawFrame()
1034 if (nfa_dm_cb.flags & NFA_DM_FLAGS_SETTING_PWR_MODE) { in NFA_PowerOffSleepMode()
1038 nfa_dm_cb.flags |= NFA_DM_FLAGS_SETTING_PWR_MODE; in NFA_PowerOffSleepMode()
1187 nfa_dm_cb.eDtaMode = eDtaMode; in NFA_EnableDtamode()
/system/nfc/src/nfa/wlc/
Dnfa_wlc_act.cc46 nfa_dm_cb.flags); in nfa_wlc_enable()
50 if ((nfa_dm_cb.flags & NFA_DM_FLAGS_DM_IS_ACTIVE) && in nfa_wlc_enable()
51 !((nfa_dm_cb.flags & NFA_DM_FLAGS_ENABLE_EVT_PEND) || in nfa_wlc_enable()
52 (nfa_dm_cb.flags & NFA_DM_FLAGS_DM_DISABLING_NFC))) { in nfa_wlc_enable()
105 if (nfa_dm_cb.disc_cb.disc_state != NFA_DM_RFST_POLL_ACTIVE) { in nfa_wlc_start()
126 if (nfa_dm_cb.disc_cb.disc_flags & in nfa_wlc_start()
138 nfa_dm_cb.flags |= NFA_DM_FLAGS_RF_EXT_ACTIVE; in nfa_wlc_start()
139 nfa_dm_cb.flags |= NFA_DM_FLAGS_WLCP_ENABLED; in nfa_wlc_start()
/system/nfc/src/fuzzers/ndef/
Dmain.cc9 tNFA_DM_CB nfa_dm_cb = {}; variable
/system/nfc/src/nfa/include/
Dnfa_dm_int.h615 extern tNFA_DM_CB nfa_dm_cb;
/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc2551 if (nfa_dm_cb.p_activate_ntf != nullptr) { in nfa_rw_activate_ntf()
2552 GKI_freebuf(nfa_dm_cb.p_activate_ntf); in nfa_rw_activate_ntf()
2553 nfa_dm_cb.p_activate_ntf = nullptr; in nfa_rw_activate_ntf()
/system/nfc/src/nfa/ce/
Dnfa_ce_act.cc379 nfa_dm_cb.eDtaMode |= NFA_DTA_HCEF_MODE; in nfc_ce_t3t_set_listen_params()