Searched refs:inst (Results 1 – 6 of 6) sorted by relevance
/system/bt/stack/btm/ |
D | btm_ble_multi_adv.cc | 814 void RecomputeTimeout(AdvertisingInstance* inst, TimeTicks now) { in RecomputeTimeout() argument 815 TimeDelta duration = now - inst->enable_time; in RecomputeTimeout() 817 if (inst->duration) { in RecomputeTimeout() 819 if (durationDone + 1 >= inst->duration) { in RecomputeTimeout() 820 inst->enable_status = false; in RecomputeTimeout() 821 inst->timeout_cb.Run(0 /* TODO: STATUS HERE?*/); in RecomputeTimeout() 824 inst->duration = inst->duration - durationDone; in RecomputeTimeout() 828 if (inst->maxExtAdvEvents && !cb_fired) { in RecomputeTimeout() 830 (duration.InMilliseconds() / (inst->advertising_interval * 5 / 8)); in RecomputeTimeout() 832 if (eventsDone + 1 >= inst->maxExtAdvEvents) { in RecomputeTimeout() [all …]
|
/system/nfc/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_hci.c | 363 uint8_t inst; in nfc_hal_hci_handle_hcp_pkt_to_hc() local 375 inst = (*p_data++ & 0x3F); in nfc_hal_hci_handle_hcp_pkt_to_hc() 376 if (inst == NFC_HAL_HCI_ANY_GET_PARAMETER) { in nfc_hal_hci_handle_hcp_pkt_to_hc() 384 } else if (inst == NFC_HAL_HCI_ANY_SET_PARAMETER) { in nfc_hal_hci_handle_hcp_pkt_to_hc() 432 uint8_t inst; in nfc_hal_hci_handle_hcp_pkt_from_hc() local 448 inst = (*p_data++ & 0x3F); in nfc_hal_hci_handle_hcp_pkt_from_hc() 450 if (inst == NFC_HAL_HCI_ADM_NOTIFY_ALL_PIPE_CLEARED) { in nfc_hal_hci_handle_hcp_pkt_from_hc() 481 inst = (*p_data++ & 0x3F); in nfc_hal_hci_handle_hcp_pkt_from_hc() 482 if (inst == NFC_HAL_HCI_ANY_OK) { in nfc_hal_hci_handle_hcp_pkt_from_hc()
|
/system/nfc/src/nfa/hci/ |
D | nfa_hci_act.c | 1103 (nfa_hci_cb.inst != NFA_HCI_ANY_OPEN_PIPE)) { in nfa_hci_handle_link_mgm_gate_cmd() 1109 switch (nfa_hci_cb.inst) { in nfa_hci_handle_link_mgm_gate_cmd() 1165 if (nfa_hci_cb.inst == NFA_HCI_ANY_OPEN_PIPE) { in nfa_hci_handle_pipe_open_close_cmd() 1173 } else if (nfa_hci_cb.inst == NFA_HCI_ANY_CLOSE_PIPE) { in nfa_hci_handle_pipe_open_close_cmd() 1198 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() 1448 (nfa_hci_cb.inst == NFA_HCI_ANY_OK) ? NFA_STATUS_OK : NFA_STATUS_FAILED; in nfa_hci_handle_admin_gate_rsp() 1624 if (nfa_hci_cb.inst != NFA_HCI_EVT_HOT_PLUG) { in nfa_hci_handle_admin_gate_evt() 1661 evt_data.rcvd_evt.evt_code = nfa_hci_cb.inst; in nfa_hci_handle_admin_gate_evt() [all …]
|
D | nfa_hci_utils.c | 1306 char* nfa_hciu_get_type_inst_names(uint8_t pipe, uint8_t type, uint8_t inst, in nfa_hciu_get_type_inst_names() argument 1314 sprintf(&p_buff[xx], "Inst: %s [0x%02x] ", nfa_hciu_instr_2_str(inst), in nfa_hciu_get_type_inst_names() 1315 inst); in nfa_hciu_get_type_inst_names() 1318 sprintf(&p_buff[xx], "Evt: %s [0x%02x] ", nfa_hciu_evt_2_str(pipe, inst), in nfa_hciu_get_type_inst_names() 1319 inst); in nfa_hciu_get_type_inst_names() 1323 nfa_hciu_get_response_name(inst), inst); in nfa_hciu_get_type_inst_names() 1326 sprintf(&p_buff[xx], "Inst: %u ", inst); in nfa_hciu_get_type_inst_names()
|
D | nfa_hci_main.c | 690 nfa_hci_cb.inst = (*p++ & 0x3F); in nfa_hci_conn_cback() 732 nfa_hci_cb.inst, buff), in nfa_hci_conn_cback() 738 pipe, nfa_hci_cb.type, nfa_hci_cb.inst, chaining_bit, in nfa_hci_conn_cback()
|
/system/nfc/src/nfa/int/ |
D | nfa_hci_int.h | 401 uint8_t inst; /* Instruction of incoming message */ member 529 uint8_t inst, char* p_buff);
|