Home
last modified time | relevance | path

Searched refs:proto_mode (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_le.cc530 uint8_t proto_mode, in bta_hh_le_register_input_notif() argument
534 log::verbose("mode:{}", proto_mode); in bta_hh_le_register_input_notif()
544 else if (proto_mode == BTA_HH_PROTO_BOOT_MODE) { in bta_hh_le_register_input_notif()
560 } else if (proto_mode == BTA_HH_PROTO_RPT_MODE) { in bta_hh_le_register_input_notif()
838 hs_data.rsp_data.proto_mode = p_dev_cb->mode; in get_protocol_mode_cb()
843 hs_data.rsp_data.proto_mode = *(value); in get_protocol_mode_cb()
846 if (hs_data.rsp_data.proto_mode == 0) in get_protocol_mode_cb()
847 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_BOOT_MODE; in get_protocol_mode_cb()
849 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_RPT_MODE; in get_protocol_mode_cb()
851 p_dev_cb->mode = hs_data.rsp_data.proto_mode; in get_protocol_mode_cb()
[all …]
Dbta_hh_act.cc683 bta_hh.hs_data.rsp_data.proto_mode = BTA_HH_PROTO_UNKNOWN; in bta_hh_handsk_act()
763 hs_data.rsp_data.proto_mode = ((*data) == HID_PAR_PROTOCOL_REPORT) in bta_hh_ctrl_dat_act()
767 (hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in bta_hh_ctrl_dat_act()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hh.cc1125 p_data->hs_data.rsp_data.proto_mode, in btif_hh_upstreams_evt()
1126 (p_data->hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in btif_hh_upstreams_evt()
1128 : (p_data->hs_data.rsp_data.proto_mode == BTA_HH_PROTO_BOOT_MODE) in btif_hh_upstreams_evt()
1131 if (p_data->hs_data.rsp_data.proto_mode != BTA_HH_PROTO_UNKNOWN) { in btif_hh_upstreams_evt()
1136 (bthh_protocol_mode_t)p_data->hs_data.rsp_data.proto_mode); in btif_hh_upstreams_evt()
1894 uint8_t proto_mode = protocolMode; in set_protocol() local
1911 log::warn("device proto_mode = {}", proto_mode); in set_protocol()
/packages/modules/Bluetooth/system/bta/include/
Dbta_hh_api.h319 tBTA_HH_PROTO_MODE proto_mode; /* GET_PROTO_EVT :protocol mode */ member