diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2012-12-12 17:18:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2012-12-12 17:18:15 -0800 |
commit | 689d66b6559dcb3a0ad7f6cc33b6129e50910253 (patch) | |
tree | 0da4b1946b25b966e04569afd01aa992e19fb7bc /btif/include | |
parent | 3ad3c81926cce0ae789752fbef6aa79ba595ae83 (diff) | |
download | external_bluetooth_bluedroid-689d66b6559dcb3a0ad7f6cc33b6129e50910253.zip external_bluetooth_bluedroid-689d66b6559dcb3a0ad7f6cc33b6129e50910253.tar.gz external_bluetooth_bluedroid-689d66b6559dcb3a0ad7f6cc33b6129e50910253.tar.bz2 |
Snapshot 9fd57cbacd95e89602f430244c35bbc67f08b6d2
Change-Id: Ibc3a4bf4161d286c7cfab89a19c676eb5cc9224f
Diffstat (limited to 'btif/include')
-rw-r--r-- | btif/include/btif_common.h | 2 | ||||
-rw-r--r-- | btif/include/btif_hh.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/btif/include/btif_common.h b/btif/include/btif_common.h index 7f3b039..6bf885f 100644 --- a/btif/include/btif_common.h +++ b/btif/include/btif_common.h @@ -54,7 +54,7 @@ extern bt_callbacks_t *bt_hal_cbacks; #define HAL_CBACK(P_CB, P_CBACK, ...)\ if (P_CB && P_CB->P_CBACK) { \ - ALOGD("HAL %s->%s", #P_CB, #P_CBACK); \ + BTIF_TRACE_API2("HAL %s->%s", #P_CB, #P_CBACK); \ P_CB->P_CBACK(__VA_ARGS__); \ } \ else { \ diff --git a/btif/include/btif_hh.h b/btif/include/btif_hh.h index 4f31002..25063eb 100644 --- a/btif/include/btif_hh.h +++ b/btif/include/btif_hh.h @@ -62,6 +62,8 @@ typedef struct UINT8 app_id; int fd; BT_HDR *p_buf; + UINT32 hh_poll_thread_id; + UINT8 hh_keep_polling; } btif_hh_device_t; /* Control block to maintain properties of devices */ @@ -96,6 +98,8 @@ extern btif_hh_device_t *btif_hh_find_connected_dev_by_handle(UINT8 handle); extern void btif_hh_remove_device(bt_bdaddr_t bd_addr); extern bt_status_t btif_hh_virtual_unplug(bt_bdaddr_t *bd_addr); extern void btif_hh_disconnect(bt_bdaddr_t *bd_addr); +extern void btif_hh_setreport(btif_hh_device_t *p_dev, bthh_report_type_t r_type, + UINT16 size, UINT8* report); BOOLEAN btif_hh_add_added_dev(bt_bdaddr_t bd_addr, tBTA_HH_ATTR_MASK attr_mask); |