Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidh_api.cc95 uint16_t attr_mask = 0; in hidh_search_callback() local
135 attr_mask |= HID_VIRTUAL_CABLE; in hidh_search_callback()
141 attr_mask |= HID_RECONN_INIT; in hidh_search_callback()
147 attr_mask |= HID_NORMALLY_CONNECTABLE; in hidh_search_callback()
153 attr_mask |= HID_SDP_DISABLE; in hidh_search_callback()
159 attr_mask |= HID_BATTERY_POWER; in hidh_search_callback()
165 attr_mask |= HID_REMOTE_WAKE; in hidh_search_callback()
197 attr_mask |= HID_SUP_TOUT_AVLBL; in hidh_search_callback()
203 attr_mask |= HID_SSR_MAX_LATENCY; in hidh_search_callback()
210 attr_mask |= HID_SSR_MIN_TOUT; in hidh_search_callback()
[all …]
Dhidh_int.h37 uint16_t attr_mask; /* 0x01- virtual_cable; 0x02- normally_connectable; 0x03- member
Dhidh_conn.cc267 (p_dev->attr_mask & HID_SEC_REQUIRED) ? HID_SEC_CHN : HID_NOSEC_CHN, in hidh_l2cif_connect_ind()
434 (p_dev->attr_mask & HID_SEC_REQUIRED) ? HID_SEC_CHN : HID_NOSEC_CHN, in hidh_l2cif_connect_cfm()
658 (!(hh_cb.devices[dhandle].attr_mask & HID_RECONN_INIT)) && in hidh_l2cif_disconnect_ind()
659 (hh_cb.devices[dhandle].attr_mask & HID_NORMALLY_CONNECTABLE)) { in hidh_l2cif_disconnect_ind()
1015 if (p_dev->attr_mask & HID_SEC_REQUIRED) { in hidh_conn_initiate()
/system/bt/btif/include/
Dbtif_hh.h63 tBTA_HH_ATTR_MASK attr_mask; member
80 tBTA_HH_ATTR_MASK attr_mask; member
106 tBTA_HH_ATTR_MASK attr_mask);
Dbtif_storage.h194 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class,
/system/bt/stack/include/
Dhidh_api.h51 typedef void(tHID_HOST_SDP_CALLBACK)(uint16_t result, uint16_t attr_mask,
138 extern tHID_STATUS HID_HostAddDev(const RawAddress& addr, uint16_t attr_mask,
Dsrvc_api.h72 uint16_t attr_mask; member
/system/bt/bta/hh/
Dbta_hh_act.cc178 static void bta_hh_sdp_cback(uint16_t result, uint16_t attr_mask, in bta_hh_sdp_cback() argument
187 if (p_cb->sec_mask) attr_mask |= HID_SEC_REQUIRED; in bta_hh_sdp_cback()
191 __func__, p_cb, result, attr_mask, p_cb->hid_handle); in bta_hh_sdp_cback()
200 if (HID_HostAddDev(p_cb->addr, attr_mask, &hdl) == HID_SUCCESS) { in bta_hh_sdp_cback()
215 bta_hh_add_device_to_list(p_cb, hdl, attr_mask, &sdp_rec->dscp_info, in bta_hh_sdp_cback()
333 if (HID_HostAddDev(p_cb->addr, p_cb->attr_mask, &hdl) == HID_SUCCESS) { in bta_hh_start_sdp()
335 bta_hh_add_device_to_list(p_cb, hdl, p_cb->attr_mask, NULL, in bta_hh_start_sdp()
537 bta_hh_co_open(p_cb->hid_handle, p_cb->sub_class, p_cb->attr_mask, in bta_hh_open_cmpl_act()
956 if (HID_HostAddDev(p_dev_info->bda, p_dev_info->attr_mask, in bta_hh_maint_dev_act()
975 p_cb, dev_handle, p_dev_info->attr_mask, in bta_hh_maint_dev_act()
Dbta_hh_api.cc325 void BTA_HhAddDev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask, in BTA_HhAddDev() argument
335 p_buf->attr_mask = (uint16_t)attr_mask; in BTA_HhAddDev()
Dbta_hh_utils.cc171 uint16_t attr_mask, in bta_hh_add_device_to_list() argument
181 p_cb->attr_mask = attr_mask; in bta_hh_add_device_to_list()
511 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state, in bta_hh_trace_dev_db()
Dbta_hh_int.h134 uint16_t attr_mask; member
221 uint16_t attr_mask; /* attribute mask */ member
335 uint16_t attr_mask,
Dbta_hh_le.cc915 if (p_dis_value->attr_mask & DIS_ATTR_PNP_ID_BIT) { in bta_hh_le_dis_cback()
2025 p_cb, p_cb->hid_handle, p_dev_info->attr_mask, in bta_hh_le_add_device()
/system/bt/bta/include/
Dbta_hh_co.h66 uint16_t attr_mask, uint8_t app_id);
Dbta_hh_api.h486 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/btif/src/
Dbtif_hh.cc422 bool btif_hh_add_added_dev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask) { in btif_hh_add_added_dev() argument
435 btif_hh_cb.added_devices[i].attr_mask = attr_mask; in btif_hh_add_added_dev()
535 (p_dev->attr_mask & HID_VIRTUAL_CABLE)) { in btif_hh_virtual_unplug()
592 << added_dev->attr_mask; in btif_hh_connect()
986 if (btif_hh_add_added_dev(p_dev->bd_addr, p_dev->attr_mask)) { in btif_hh_upstreams_evt()
991 BTA_HhAddDev(p_dev->bd_addr, p_dev->attr_mask, p_dev->sub_class, in btif_hh_upstreams_evt()
995 &(p_dev->bd_addr), p_dev->attr_mask, p_dev->sub_class, in btif_hh_upstreams_evt()
1400 if (btif_hh_add_added_dev(*bd_addr, hid_info.attr_mask)) { in set_info()
1401 BTA_HhAddDev(*bd_addr, hid_info.attr_mask, hid_info.sub_class, in set_info()
Dbtif_storage.cc1331 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class, in btif_storage_add_hid_device_info() argument
1337 btif_config_set_int(bdstr, "HidAttrMask", attr_mask); in btif_storage_add_hid_device_info()
1369 uint16_t attr_mask = (uint16_t)value; in btif_storage_load_bonded_hid_info() local
1414 if (btif_hh_add_added_dev(bd_addr, attr_mask)) { in btif_storage_load_bonded_hid_info()
1415 BTA_HhAddDev(bd_addr, attr_mask, sub_class, app_id, dscp_info); in btif_storage_load_bonded_hid_info()
/system/bt/include/hardware/
Dbt_hh.h74 int attr_mask; member
/system/bt/btif/co/
Dbta_hh_co.cc315 tBTA_HH_ATTR_MASK attr_mask, uint8_t app_id) { in bta_hh_co_open() argument
334 p_dev->attr_mask, p_dev->sub_class, p_dev->app_id); in bta_hh_co_open()
360 p_dev->attr_mask = attr_mask; in bta_hh_co_open()