Home
last modified time | relevance | path

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

/system/bt/bta/hh/
Dbta_hh_le.cc556 uint8_t proto_mode, bool register_ba) { in bta_hh_le_register_input_notif() argument
561 proto_mode); in bta_hh_le_register_input_notif()
571 else if (proto_mode == BTA_HH_PROTO_BOOT_MODE) { in bta_hh_le_register_input_notif()
587 } else if (proto_mode == BTA_HH_PROTO_RPT_MODE) { in bta_hh_le_register_input_notif()
843 hs_data.rsp_data.proto_mode = p_dev_cb->mode; in get_protocol_mode_cb()
848 hs_data.rsp_data.proto_mode = *(value); in get_protocol_mode_cb()
851 if (hs_data.rsp_data.proto_mode == 0) in get_protocol_mode_cb()
852 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_BOOT_MODE; in get_protocol_mode_cb()
854 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_RPT_MODE; in get_protocol_mode_cb()
856 p_dev_cb->mode = hs_data.rsp_data.proto_mode; in get_protocol_mode_cb()
[all …]
Dbta_hh_act.cc656 bta_hh.hs_data.rsp_data.proto_mode = BTA_HH_PROTO_UNKNOWN; in bta_hh_handsk_act()
748 hs_data.rsp_data.proto_mode = ((*data) == HID_PAR_PROTOCOL_REPORT) in bta_hh_ctrl_dat_act()
753 (hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in bta_hh_ctrl_dat_act()
/system/bt/btif/src/
Dbtif_hh.cc909 p_data->hs_data.rsp_data.proto_mode, in btif_hh_upstreams_evt()
910 (p_data->hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in btif_hh_upstreams_evt()
912 : (p_data->hs_data.rsp_data.proto_mode == BTA_HH_PROTO_BOOT_MODE) in btif_hh_upstreams_evt()
915 if (p_data->hs_data.rsp_data.proto_mode != BTA_HH_PROTO_UNKNOWN) { in btif_hh_upstreams_evt()
919 (bthh_protocol_mode_t)p_data->hs_data.rsp_data.proto_mode); in btif_hh_upstreams_evt()
1450 uint8_t proto_mode = protocolMode; in set_protocol() local
1467 proto_mode); in set_protocol()
/system/bt/bta/include/
Dbta_hh_api.h272 tBTA_HH_PROTO_MODE proto_mode; /* GET_PROTO_EVT :protocol mode */ member