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

/system/bt/btif/include/
H A Dbtif_hh.h62 tBTA_HH_ATTR_MASK attr_mask; member in struct:__anon566
77 tBTA_HH_ATTR_MASK attr_mask; member in struct:__anon567
102 tBTA_HH_ATTR_MASK attr_mask);
H A Dbtif_storage.h167 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class,
/system/bt/stack/hid/
H A Dhidh_api.cc97 uint16_t attr_mask = 0; local
138 attr_mask |= HID_VIRTUAL_CABLE;
144 attr_mask |= HID_RECONN_INIT;
150 attr_mask |= HID_NORMALLY_CONNECTABLE;
156 attr_mask |= HID_SDP_DISABLE;
162 attr_mask |= HID_BATTERY_POWER;
168 attr_mask |= HID_REMOTE_WAKE;
200 attr_mask |= HID_SUP_TOUT_AVLBL;
206 attr_mask |= HID_SSR_MAX_LATENCY;
213 attr_mask |
320 HID_HostAddDev(const RawAddress& addr, uint16_t attr_mask, uint8_t* handle) argument
[all...]
H A Dhidh_int.h37 uint16_t attr_mask; /* 0x01- virtual_cable; 0x02- normally_connectable; 0x03- member in struct:per_device_ctb
H A Dhidh_conn.cc264 (p_dev->attr_mask & HID_SEC_REQUIRED) ? HID_SEC_CHN : HID_NOSEC_CHN,
431 (p_dev->attr_mask & HID_SEC_REQUIRED) ? HID_SEC_CHN : HID_NOSEC_CHN,
655 (!(hh_cb.devices[dhandle].attr_mask & HID_RECONN_INIT)) &&
656 (hh_cb.devices[dhandle].attr_mask & HID_NORMALLY_CONNECTABLE)) {
1004 if (p_dev->attr_mask & HID_SEC_REQUIRED) {
/system/bt/stack/include/
H A 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,
H A Dsrvc_api.h72 uint16_t attr_mask; member in struct:__anon1194
/system/bt/bta/include/
H A Dbta_hh_co.h66 uint16_t attr_mask, uint8_t app_id);
H A Dbta_hh_api.h481 extern void BTA_HhAddDev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask,
/system/bt/bta/hh/
H A Dbta_hh_utils.cc169 uint16_t attr_mask,
179 p_cb->attr_mask = attr_mask;
496 "\t\t\t attr_mask[%04x] state [%d] sub_class[%02x] index = %d",
497 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state,
168 bta_hh_add_device_to_list(tBTA_HH_DEV_CB* p_cb, uint8_t handle, uint16_t attr_mask, tHID_DEV_DSCP_INFO* p_dscp_info, uint8_t sub_class, uint16_t ssr_max_latency, uint16_t ssr_min_tout, uint8_t app_id) argument
H A Dbta_hh_api.cc319 void BTA_HhAddDev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask, argument
329 p_buf->attr_mask = (uint16_t)attr_mask;
H A Dbta_hh_act.cc173 static void bta_hh_sdp_cback(uint16_t result, uint16_t attr_mask, argument
181 /* security is required for the connection, add attr_mask bit*/
182 if (p_cb->sec_mask) attr_mask |= HID_SEC_REQUIRED;
185 APPL_TRACE_EVENT("%s: p_cb: %d result 0x%02x, attr_mask 0x%02x, handle %x",
186 __func__, p_cb, result, attr_mask, p_cb->hid_handle);
194 /* add device/update attr_mask information */
195 if (HID_HostAddDev(p_cb->addr, attr_mask, &hdl) == HID_SUCCESS) {
209 /* update cb information with attr_mask, dscp_info etc. */
210 bta_hh_add_device_to_list(p_cb, hdl, attr_mask, &sdp_rec->dscp_info,
324 if (HID_HostAddDev(p_cb->addr, p_cb->attr_mask,
[all...]
H A Dbta_hh_int.h134 uint16_t attr_mask; member in struct:__anon201
221 uint16_t attr_mask; /* attribute mask */ member in struct:__anon207
335 uint16_t attr_mask,
H A Dbta_hh_le.cc1049 if (p_dis_value->attr_mask & DIS_ATTR_PNP_ID_BIT) {
2153 p_cb, p_cb->hid_handle, p_dev_info->attr_mask,
/system/bt/btif/co/
H A Dbta_hh_co.cc265 tBTA_HH_ATTR_MASK attr_mask, uint8_t app_id) {
289 "%s: attr_mask = 0x%04x, sub_class = 0x%02x, app_id = %d",
290 __func__, p_dev->attr_mask, p_dev->sub_class, p_dev->app_id);
316 p_dev->attr_mask = attr_mask;
264 bta_hh_co_open(uint8_t dev_handle, uint8_t sub_class, tBTA_HH_ATTR_MASK attr_mask, uint8_t app_id) argument
/system/bt/stack/srvc/
H A Dsrvc_dis.cc213 LOG_INFO(LOG_TAG, "%s conn_id:%d attr_mask = 0x%04x", __func__, conn_id,
214 p_clcb->dis_value.attr_mask);
288 p_clcb->dis_value.attr_mask |= DIS_ATTR_SYS_ID_BIT;
296 p_clcb->dis_value.attr_mask |= DIS_ATTR_PNP_ID_BIT;
315 p_clcb->dis_value.attr_mask |= dis_uuid_to_attr(read_type);
/system/bt/btif/src/
H A Dbtif_hh.cc426 bool btif_hh_add_added_dev(const RawAddress& bda, tBTA_HH_ATTR_MASK attr_mask) { argument
439 btif_hh_cb.added_devices[i].attr_mask = attr_mask;
542 (p_dev->attr_mask & HID_VIRTUAL_CABLE)) {
582 << " already added, attr_mask = 0x" << std::hex
583 << added_dev->attr_mask;
961 if (btif_hh_add_added_dev(p_dev->bd_addr, p_dev->attr_mask)) {
966 BTA_HhAddDev(p_dev->bd_addr, p_dev->attr_mask, p_dev->sub_class,
970 &(p_dev->bd_addr), p_dev->attr_mask, p_dev->sub_class,
1377 if (btif_hh_add_added_dev(*bd_addr, hid_info.attr_mask)) {
[all...]
H A Dbtif_storage.cc130 /* <18 char bd addr> <space>LIST <attr_mask> <space> > <sub_class> <space>
1217 RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class,
1224 btif_config_set_int(bdstr, "HidAttrMask", attr_mask);
1251 uint16_t attr_mask; local
1266 attr_mask = (uint16_t)value;
1303 if (btif_hh_add_added_dev(bd_addr, attr_mask)) {
1304 BTA_HhAddDev(bd_addr, attr_mask, sub_class, app_id, dscp_info);
1216 btif_storage_add_hid_device_info( RawAddress* remote_bd_addr, uint16_t attr_mask, uint8_t sub_class, uint8_t app_id, uint16_t vendor_id, uint16_t product_id, uint16_t version, uint8_t ctry_code, uint16_t ssr_max_latency, uint16_t ssr_min_tout, uint16_t dl_len, uint8_t* dsc_list) argument

Completed in 240 milliseconds