Lines Matching refs:dev_handle
277 void bta_hh_co_open(UINT8 dev_handle, UINT8 sub_class, tBTA_HH_ATTR_MASK attr_mask, in bta_hh_co_open() argument
283 if (dev_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_co_open()
285 __FUNCTION__, dev_handle); in bta_hh_co_open()
292 p_dev->dev_handle == dev_handle) { in bta_hh_co_open()
325 p_dev->dev_handle = dev_handle; in bta_hh_co_open()
372 void bta_hh_co_close(UINT8 dev_handle, UINT8 app_id) in bta_hh_co_close() argument
377 APPL_TRACE_WARNING("%s: dev_handle = %d, app_id = %d", __FUNCTION__, dev_handle, app_id); in bta_hh_co_close()
378 if (dev_handle == BTA_HH_INVALID_HANDLE) { in bta_hh_co_close()
379 APPL_TRACE_WARNING("%s: Oops, dev_handle (%d) is invalid...", __FUNCTION__, dev_handle); in bta_hh_co_close()
385 if (p_dev->dev_status != BTHH_CONN_STATE_UNKNOWN && p_dev->dev_handle == dev_handle) { in bta_hh_co_close()
389 ,p_dev->dev_handle); in bta_hh_co_close()
413 void bta_hh_co_data(UINT8 dev_handle, UINT8 *p_rpt, UINT16 len, tBTA_HH_PROTO_MODE mode, in bta_hh_co_data() argument
421 __FUNCTION__, dev_handle, sub_class, mode, ctry_code, app_id); in bta_hh_co_data()
423 p_dev = btif_hh_find_connected_dev_by_handle(dev_handle); in bta_hh_co_data()
425 APPL_TRACE_WARNING("%s: Error: unknown HID device handle %d", __FUNCTION__, dev_handle); in bta_hh_co_data()