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.cc557 uint8_t proto_mode, bool register_ba) { in bta_hh_le_register_input_notif() argument
562 proto_mode); in bta_hh_le_register_input_notif()
572 else if (proto_mode == BTA_HH_PROTO_BOOT_MODE) { in bta_hh_le_register_input_notif()
588 } else if (proto_mode == BTA_HH_PROTO_RPT_MODE) { in bta_hh_le_register_input_notif()
844 hs_data.rsp_data.proto_mode = p_dev_cb->mode; in get_protocol_mode_cb()
849 hs_data.rsp_data.proto_mode = *(value); in get_protocol_mode_cb()
852 if (hs_data.rsp_data.proto_mode == 0) in get_protocol_mode_cb()
853 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_BOOT_MODE; in get_protocol_mode_cb()
855 hs_data.rsp_data.proto_mode = BTA_HH_PROTO_RPT_MODE; in get_protocol_mode_cb()
857 p_dev_cb->mode = hs_data.rsp_data.proto_mode; in get_protocol_mode_cb()
[all …]
Dbta_hh_act.cc654 bta_hh.hs_data.rsp_data.proto_mode = BTA_HH_PROTO_UNKNOWN; in bta_hh_handsk_act()
746 hs_data.rsp_data.proto_mode = ((*data) == HID_PAR_PROTOCOL_REPORT) in bta_hh_ctrl_dat_act()
751 (hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in bta_hh_ctrl_dat_act()
/system/bt/btif/src/
Dbtif_hh.cc912 p_data->hs_data.rsp_data.proto_mode, in btif_hh_upstreams_evt()
913 (p_data->hs_data.rsp_data.proto_mode == BTA_HH_PROTO_RPT_MODE) in btif_hh_upstreams_evt()
915 : (p_data->hs_data.rsp_data.proto_mode == BTA_HH_PROTO_BOOT_MODE) in btif_hh_upstreams_evt()
918 if (p_data->hs_data.rsp_data.proto_mode != BTA_HH_PROTO_UNKNOWN) { in btif_hh_upstreams_evt()
922 (bthh_protocol_mode_t)p_data->hs_data.rsp_data.proto_mode); in btif_hh_upstreams_evt()
1453 uint8_t proto_mode = protocolMode; in set_protocol() local
1470 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