Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_multi_adv.cc881 void RecomputeTimeout(AdvertisingInstance* inst, TimeTicks now) { in RecomputeTimeout() argument
882 TimeDelta duration = now - inst->enable_time; in RecomputeTimeout()
884 if (inst->duration) { in RecomputeTimeout()
886 if (durationDone + 1 >= inst->duration) { in RecomputeTimeout()
887 inst->enable_status = false; in RecomputeTimeout()
888 inst->timeout_cb.Run(0 /* TODO: STATUS HERE?*/); in RecomputeTimeout()
891 inst->duration = inst->duration - durationDone; in RecomputeTimeout()
895 if (inst->maxExtAdvEvents && !cb_fired) { in RecomputeTimeout()
897 (duration.InMilliseconds() / (inst->advertising_interval * 5 / 8)); in RecomputeTimeout()
899 if (eventsDone + 1 >= inst->maxExtAdvEvents) { in RecomputeTimeout()
[all …]
/system/nfc/src/nfa/hci/
Dnfa_hci_act.cc1105 (nfa_hci_cb.inst != NFA_HCI_ANY_OPEN_PIPE)) { in nfa_hci_handle_link_mgm_gate_cmd()
1111 switch (nfa_hci_cb.inst) { in nfa_hci_handle_link_mgm_gate_cmd()
1167 if (nfa_hci_cb.inst == NFA_HCI_ANY_OPEN_PIPE) { in nfa_hci_handle_pipe_open_close_cmd()
1175 } else if (nfa_hci_cb.inst == NFA_HCI_ANY_CLOSE_PIPE) { in nfa_hci_handle_pipe_open_close_cmd()
1200 switch (nfa_hci_cb.inst) { in nfa_hci_handle_admin_gate_cmd()
1341 if (nfa_hci_cb.inst == NFA_HCI_ANY_E_PIPE_NOT_OPENED) { in nfa_hci_handle_admin_gate_rsp()
1346 if (nfa_hci_cb.inst != NFA_HCI_ANY_OK) { in nfa_hci_handle_admin_gate_rsp()
1466 (nfa_hci_cb.inst == NFA_HCI_ANY_OK) ? NFA_STATUS_OK : NFA_STATUS_FAILED; in nfa_hci_handle_admin_gate_rsp()
1648 if (nfa_hci_cb.inst != NFA_HCI_EVT_HOT_PLUG) { in nfa_hci_handle_admin_gate_evt()
1685 evt_data.rcvd_evt.evt_code = nfa_hci_cb.inst; in nfa_hci_handle_admin_gate_evt()
[all …]
Dnfa_hci_utils.cc1326 char* nfa_hciu_get_type_inst_names(uint8_t pipe, uint8_t type, uint8_t inst, in nfa_hciu_get_type_inst_names() argument
1336 nfa_hciu_instr_2_str(inst).c_str(), inst); in nfa_hciu_get_type_inst_names()
1341 nfa_hciu_evt_2_str(pipe, inst).c_str(), inst); in nfa_hciu_get_type_inst_names()
1346 nfa_hciu_get_response_name(inst).c_str(), inst); in nfa_hciu_get_type_inst_names()
1350 snprintf(&p_buff[xx], max_buff_size - xx, "Inst: %u ", inst); in nfa_hciu_get_type_inst_names()
Dnfa_hci_main.cc767 nfa_hci_cb.inst = (*p++ & 0x3F); in nfa_hci_conn_cback()
808 nfa_hciu_get_type_inst_names(pipe, nfa_hci_cb.type, nfa_hci_cb.inst, buff, in nfa_hci_conn_cback()
/system/nfc/src/nfa/include/
Dnfa_hci_int.h402 uint8_t inst; /* Instruction of incoming message */ member
526 uint8_t inst, char* p_buff,