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.cc875 void RecomputeTimeout(AdvertisingInstance* inst, TimeTicks now) { in RecomputeTimeout() argument
876 TimeDelta duration = now - inst->enable_time; in RecomputeTimeout()
878 if (inst->duration) { in RecomputeTimeout()
880 if (durationDone + 1 >= inst->duration) { in RecomputeTimeout()
881 inst->enable_status = false; in RecomputeTimeout()
882 inst->timeout_cb.Run(0 /* TODO: STATUS HERE?*/); in RecomputeTimeout()
885 inst->duration = inst->duration - durationDone; in RecomputeTimeout()
889 if (inst->maxExtAdvEvents && !cb_fired) { in RecomputeTimeout()
891 (duration.InMilliseconds() / (inst->advertising_interval * 5 / 8)); in RecomputeTimeout()
893 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()
1460 (nfa_hci_cb.inst == NFA_HCI_ANY_OK) ? NFA_STATUS_OK : NFA_STATUS_FAILED; in nfa_hci_handle_admin_gate_rsp()
1642 if (nfa_hci_cb.inst != NFA_HCI_EVT_HOT_PLUG) { in nfa_hci_handle_admin_gate_evt()
1679 evt_data.rcvd_evt.evt_code = nfa_hci_cb.inst; in nfa_hci_handle_admin_gate_evt()
[all …]
Dnfa_hci_utils.cc1313 char* nfa_hciu_get_type_inst_names(uint8_t pipe, uint8_t type, uint8_t inst, in nfa_hciu_get_type_inst_names() argument
1323 nfa_hciu_instr_2_str(inst).c_str(), inst); in nfa_hciu_get_type_inst_names()
1327 nfa_hciu_evt_2_str(pipe, inst).c_str(), inst); in nfa_hciu_get_type_inst_names()
1331 nfa_hciu_get_response_name(inst).c_str(), inst); in nfa_hciu_get_type_inst_names()
1334 sprintf(&p_buff[xx], "Inst: %u ", inst); in nfa_hciu_get_type_inst_names()
Dnfa_hci_main.cc751 nfa_hci_cb.inst = (*p++ & 0x3F); in nfa_hci_conn_cback()
792 nfa_hciu_get_type_inst_names(pipe, nfa_hci_cb.type, nfa_hci_cb.inst, in nfa_hci_conn_cback()
/system/nfc/src/nfa/include/
Dnfa_hci_int.h401 uint8_t inst; /* Instruction of incoming message */ member
525 uint8_t inst, char* p_buff);