Home
last modified time | relevance | path

Searched refs:attr_mask (Results 1 – 23 of 23) sorted by relevance

/system/bt/stack/hid/
Dhidh_api.cc96 uint16_t attr_mask = 0; in hidh_search_callback() local
136 attr_mask |= HID_VIRTUAL_CABLE; in hidh_search_callback()
142 attr_mask |= HID_RECONN_INIT; in hidh_search_callback()
148 attr_mask |= HID_NORMALLY_CONNECTABLE; in hidh_search_callback()
154 attr_mask |= HID_SDP_DISABLE; in hidh_search_callback()
160 attr_mask |= HID_BATTERY_POWER; in hidh_search_callback()
166 attr_mask |= HID_REMOTE_WAKE; in hidh_search_callback()
198 attr_mask |= HID_SUP_TOUT_AVLBL; in hidh_search_callback()
204 attr_mask |= HID_SSR_MAX_LATENCY; in hidh_search_callback()
211 attr_mask |= HID_SSR_MIN_TOUT; in hidh_search_callback()
[all …]
Dhidh_int.h40 uint16_t attr_mask; /* 0x01- virtual_cable; 0x02- normally_connectable; 0x03- member
Dhidh_conn.cc524 (!(hh_cb.devices[dhandle].attr_mask & HID_RECONN_INIT)) && in hidh_l2cif_disconnect_ind()
525 (hh_cb.devices[dhandle].attr_mask & HID_NORMALLY_CONNECTABLE)) { in hidh_l2cif_disconnect_ind()
/system/bt/btif/include/
Dbtif_hh.h83 tBTA_HH_ATTR_MASK attr_mask; member
101 tBTA_HH_ATTR_MASK attr_mask; member
127 tBTA_HH_ATTR_MASK attr_mask);
Dbtif_storage.h195 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class,
/system/bt/stack/include/
Dhidh_api.h46 typedef void(tHID_HOST_SDP_CALLBACK)(uint16_t result, uint16_t attr_mask,
133 extern tHID_STATUS HID_HostAddDev(const RawAddress& addr, uint16_t attr_mask,
Dsrvc_api.h71 uint16_t attr_mask; member
/system/bt/bta/hh/
Dbta_hh_utils.cc169 uint16_t attr_mask, in bta_hh_add_device_to_list() argument
179 p_cb->attr_mask = attr_mask; in bta_hh_add_device_to_list()
373 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state, in bta_hh_trace_dev_db()
Dbta_hh_api.cc309 void BTA_HhAddDev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask, in BTA_HhAddDev() argument
319 p_buf->attr_mask = (uint16_t)attr_mask; in BTA_HhAddDev()
Dbta_hh_act.cc183 static void bta_hh_sdp_cback(uint16_t result, uint16_t attr_mask, in bta_hh_sdp_cback() argument
192 attr_mask |= HID_SEC_REQUIRED; in bta_hh_sdp_cback()
195 __func__, p_cb, result, attr_mask, p_cb->hid_handle); in bta_hh_sdp_cback()
203 if (HID_HostAddDev(p_cb->addr, attr_mask, &hdl) == HID_SUCCESS) { in bta_hh_sdp_cback()
218 bta_hh_add_device_to_list(p_cb, hdl, attr_mask, &sdp_rec->dscp_info, in bta_hh_sdp_cback()
328 if (HID_HostAddDev(p_cb->addr, p_cb->attr_mask, &hdl) == HID_SUCCESS) { in bta_hh_start_sdp()
330 bta_hh_add_device_to_list(p_cb, hdl, p_cb->attr_mask, NULL, in bta_hh_start_sdp()
529 bta_hh_co_open(p_cb->hid_handle, p_cb->sub_class, p_cb->attr_mask, in bta_hh_open_cmpl_act()
943 if (HID_HostAddDev(p_dev_info->bda, p_dev_info->attr_mask, in bta_hh_maint_dev_act()
955 p_cb, dev_handle, p_dev_info->attr_mask, in bta_hh_maint_dev_act()
Dbta_hh_int.h111 uint16_t attr_mask; member
191 uint16_t attr_mask; /* attribute mask */ member
288 uint16_t attr_mask,
Dbta_hh_le.cc888 if (p_dis_value->attr_mask & DIS_ATTR_PNP_ID_BIT) { in bta_hh_le_dis_cback()
1975 p_cb, p_cb->hid_handle, p_dev_info->attr_mask, in bta_hh_le_add_device()
/system/bt/bta/include/
Dbta_hh_co.h68 uint16_t attr_mask, uint8_t app_id);
Dbta_hh_api.h505 extern void BTA_HhAddDev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask,
/system/bt/stack/srvc/
Dsrvc_dis.cc201 p_clcb->dis_value.attr_mask); in dis_gatt_c_read_dis_value_cmpl()
275 p_clcb->dis_value.attr_mask |= DIS_ATTR_SYS_ID_BIT; in dis_c_cmpl_cback()
283 p_clcb->dis_value.attr_mask |= DIS_ATTR_PNP_ID_BIT; in dis_c_cmpl_cback()
302 p_clcb->dis_value.attr_mask |= dis_uuid_to_attr(read_type); in dis_c_cmpl_cback()
/system/bt/test/mock/
Dmock_stack_hidh.cc37 tHID_STATUS HID_HostAddDev(const RawAddress& addr, uint16_t attr_mask, in HID_HostAddDev() argument
Dmock_bta_hh_api.cc42 void BTA_HhAddDev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask, in BTA_HhAddDev() argument
Dmock_btif_co_bta_hh_co.cc61 tBTA_HH_ATTR_MASK attr_mask, uint8_t app_id) { in bta_hh_co_open() argument
Dmock_btif_storage.cc80 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class, in btif_storage_add_hid_device_info() argument
/system/bt/btif/src/
Dbtif_hh.cc393 bool btif_hh_add_added_dev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask) { in btif_hh_add_added_dev() argument
406 btif_hh_cb.added_devices[i].attr_mask = attr_mask; in btif_hh_add_added_dev()
511 (p_dev->attr_mask & HID_VIRTUAL_CABLE)) { in btif_hh_virtual_unplug()
568 << added_dev->attr_mask; in btif_hh_connect()
985 if (btif_hh_add_added_dev(p_dev->bd_addr, p_dev->attr_mask)) { in btif_hh_upstreams_evt()
990 BTA_HhAddDev(p_dev->bd_addr, p_dev->attr_mask, p_dev->sub_class, in btif_hh_upstreams_evt()
994 &(p_dev->bd_addr), p_dev->attr_mask, p_dev->sub_class, in btif_hh_upstreams_evt()
1409 if (btif_hh_add_added_dev(*bd_addr, hid_info.attr_mask)) { in set_info()
1410 BTA_HhAddDev(*bd_addr, hid_info.attr_mask, hid_info.sub_class, in set_info()
Dbtif_storage.cc1335 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class, in btif_storage_add_hid_device_info() argument
1341 btif_config_set_int(bdstr, "HidAttrMask", attr_mask); in btif_storage_add_hid_device_info()
1373 uint16_t attr_mask = (uint16_t)value; in btif_storage_load_bonded_hid_info() local
1418 if (btif_hh_add_added_dev(bd_addr, attr_mask)) { in btif_storage_load_bonded_hid_info()
1419 BTA_HhAddDev(bd_addr, attr_mask, sub_class, app_id, dscp_info); in btif_storage_load_bonded_hid_info()
/system/bt/btif/co/
Dbta_hh_co.cc318 tBTA_HH_ATTR_MASK attr_mask, uint8_t app_id) { in bta_hh_co_open() argument
337 p_dev->attr_mask, p_dev->sub_class, p_dev->app_id); in bta_hh_co_open()
363 p_dev->attr_mask = attr_mask; in bta_hh_co_open()
/system/bt/include/hardware/
Dbt_hh.h90 int attr_mask; member