Home
last modified time | relevance | path

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

/system/bt/stack/hid/
Dhidh_api.c107 UINT16 attr_mask = 0; in hidh_search_callback() local
147 attr_mask |= HID_VIRTUAL_CABLE; in hidh_search_callback()
153 attr_mask |= HID_RECONN_INIT; in hidh_search_callback()
159 attr_mask |= HID_NORMALLY_CONNECTABLE; in hidh_search_callback()
165 attr_mask |= HID_SDP_DISABLE; in hidh_search_callback()
171 attr_mask |= HID_BATTERY_POWER; in hidh_search_callback()
177 attr_mask |= HID_REMOTE_WAKE; in hidh_search_callback()
206 attr_mask |= HID_SUP_TOUT_AVLBL; in hidh_search_callback()
212 attr_mask |= HID_SSR_MAX_LATENCY; in hidh_search_callback()
220 attr_mask |= HID_SSR_MIN_TOUT; in hidh_search_callback()
[all …]
Dhidh_int.h41 …UINT16 attr_mask; /* 0x01- virtual_cable; 0x02- normally_connectable; 0x03- reconn_initiat… member
Dhidh_conn.c270 (p_dev->attr_mask & HID_SEC_REQUIRED) ? HID_SEC_CHN : HID_NOSEC_CHN, in hidh_l2cif_connect_ind()
427 (p_dev->attr_mask & HID_SEC_REQUIRED) ? HID_SEC_CHN : HID_NOSEC_CHN, in hidh_l2cif_connect_cfm()
652 (!(hh_cb.devices[dhandle].attr_mask & HID_RECONN_INIT)) && in hidh_l2cif_disconnect_ind()
653 (hh_cb.devices[dhandle].attr_mask & HID_NORMALLY_CONNECTABLE)) in hidh_l2cif_disconnect_ind()
1022 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
105 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask);
111 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bd_addr, tBTA_HH_ATTR_MASK attr_mask);
Dbtif_storage.h232 UINT16 attr_mask, UINT8 sub_class,
/system/bt/stack/include/
Dhidh_api.h52 typedef void (tHID_HOST_SDP_CALLBACK) (UINT16 result, UINT16 attr_mask,
139 extern tHID_STATUS HID_HostAddDev (BD_ADDR addr, UINT16 attr_mask,
Dsrvc_api.h77 UINT16 attr_mask; member
/system/bt/bta/hh/
Dbta_hh_act.c188 static void bta_hh_sdp_cback(UINT16 result, UINT16 attr_mask, in bta_hh_sdp_cback() argument
200 attr_mask |= HID_SEC_REQUIRED; in bta_hh_sdp_cback()
205 p_cb, result, attr_mask,p_cb->hid_handle); in bta_hh_sdp_cback()
215 if(HID_HostAddDev (p_cb->addr, attr_mask, &hdl) == HID_SUCCESS) in bta_hh_sdp_cback()
235 bta_hh_add_device_to_list(p_cb, hdl, attr_mask, in bta_hh_sdp_cback()
365 if (HID_HostAddDev (p_cb->addr, p_cb->attr_mask, &hdl) \ in bta_hh_start_sdp()
369 bta_hh_add_device_to_list(p_cb, hdl, p_cb->attr_mask, NULL, in bta_hh_start_sdp()
568 p_cb->attr_mask, p_cb->app_id); in bta_hh_open_cmpl_act()
995 if (HID_HostAddDev(p_dev_info->bda, p_dev_info->attr_mask, &dev_handle)\ in bta_hh_maint_dev_act()
1018 p_dev_info->attr_mask, in bta_hh_maint_dev_act()
Dbta_hh_utils.c182 UINT16 attr_mask, in bta_hh_add_device_to_list() argument
195 p_cb->attr_mask = attr_mask; in bta_hh_add_device_to_list()
533 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state, in bta_hh_trace_dev_db()
Dbta_hh_api.c356 void BTA_HhAddDev(BD_ADDR bda, tBTA_HH_ATTR_MASK attr_mask, UINT8 sub_class, in BTA_HhAddDev() argument
372 p_buf->attr_mask = (UINT16) attr_mask; in BTA_HhAddDev()
Dbta_hh_int.h148 UINT16 attr_mask; member
244 UINT16 attr_mask; /* attribute mask */ member
364 UINT16 attr_mask,
Dbta_hh_le.c1198 if (p_dis_value->attr_mask & DIS_ATTR_PNP_ID_BIT) in bta_hh_le_dis_cback()
2768 p_dev_info->attr_mask, in bta_hh_le_add_device()
/system/bt/stack/srvc/
Dsrvc_dis.c214 p_clcb->dis_value.attr_mask); in dis_gatt_c_read_dis_value_cmpl()
294 p_clcb->dis_value.attr_mask |= DIS_ATTR_SYS_ID_BIT; in dis_c_cmpl_cback()
303 p_clcb->dis_value.attr_mask |= DIS_ATTR_PNP_ID_BIT; in dis_c_cmpl_cback()
323 p_clcb->dis_value.attr_mask |= dis_uuid_to_attr(read_type); in dis_c_cmpl_cback()
/system/bt/bta/include/
Dbta_hh_co.h65 UINT16 attr_mask, UINT8 app_id);
Dbta_hh_api.h505 extern void BTA_HhAddDev(BD_ADDR bda, tBTA_HH_ATTR_MASK attr_mask,
/system/bt/btif/co/
Dbta_hh_co.c275 void bta_hh_co_open(UINT8 dev_handle, UINT8 sub_class, tBTA_HH_ATTR_MASK attr_mask, in bta_hh_co_open() argument
299 __FUNCTION__, p_dev->attr_mask, p_dev->sub_class, p_dev->app_id); in bta_hh_co_open()
324 p_dev->attr_mask = attr_mask; in bta_hh_co_open()
/system/bt/btif/src/
Dbtif_hh.c466 BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bda, tBTA_HH_ATTR_MASK attr_mask) in btif_hh_add_added_dev() argument
488 btif_hh_cb.added_devices[i].attr_mask = attr_mask; in btif_hh_add_added_dev()
601 && (p_dev->attr_mask & HID_VIRTUAL_CABLE)) in btif_hh_virtual_unplug()
650 __FUNCTION__, bda_str, added_dev->attr_mask); in btif_hh_connect()
960 if (btif_hh_add_added_dev(p_dev->bd_addr, p_dev->attr_mask)) { in btif_hh_upstreams_evt()
971 BTA_HhAddDev(bda, p_dev->attr_mask,p_dev->sub_class,p_dev->app_id, dscp_info); in btif_hh_upstreams_evt()
973 …ret = btif_storage_add_hid_device_info(&(p_dev->bd_addr), p_dev->attr_mask,p_dev->sub_class,p_dev-… in btif_hh_upstreams_evt()
1376 if (btif_hh_add_added_dev(*bd_addr, hid_info.attr_mask)) in set_info()
1378 BTA_HhAddDev(*bda, hid_info.attr_mask, hid_info.sub_class, in set_info()
Dbtif_storage.c1302 UINT16 attr_mask, UINT8 sub_class, in btif_storage_add_hid_device_info() argument
1311 btif_config_set_int(bdstr, "HidAttrMask", attr_mask); in btif_storage_add_hid_device_info()
1340 uint16_t attr_mask; in btif_storage_load_bonded_hid_info() local
1356 attr_mask = (uint16_t)value; in btif_storage_load_bonded_hid_info()
1393 if (btif_hh_add_added_dev(bd_addr,attr_mask)) in btif_storage_load_bonded_hid_info()
1395 BTA_HhAddDev(bd_addr.address, attr_mask, sub_class, in btif_storage_load_bonded_hid_info()