Lines Matching refs:p_cback
97 bta_hd_cb.p_cback = p_data->api_enable.p_cback; in bta_hd_api_enable()
109 (*bta_hd_cb.p_cback)(BTA_HD_ENABLE_EVT, &bta_hd); in bta_hd_api_enable()
128 if (bta_hd_cb.p_cback == NULL) return; in bta_hd_api_disable()
146 (*bta_hd_cb.p_cback)(BTA_HD_DISABLE_EVT, &bta_hd); in bta_hd_api_disable()
177 (*bta_hd_cb.p_cback)(BTA_HD_REGISTER_APP_EVT, &ret); in bta_hd_register_act()
212 (*bta_hd_cb.p_cback)(BTA_HD_REGISTER_APP_EVT, &ret); in bta_hd_register_act()
241 (*bta_hd_cb.p_cback)(BTA_HD_UNREGISTER_APP_EVT, &bta_hd); in bta_hd_unregister_act()
298 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_connect_act()
325 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_disconnect_act()
451 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_open_act() local
456 HID_DevPlugDevice(p_cback->addr); in bta_hd_open_act()
457 bta_sys_conn_open(BTA_ID_HD, 1, p_cback->addr); in bta_hd_open_act()
459 cback_data.conn.bda = p_cback->addr; in bta_hd_open_act()
460 bta_hd_cb.bd_addr = p_cback->addr; in bta_hd_open_act()
462 bta_hd_cb.p_cback(BTA_HD_OPEN_EVT, &cback_data); in bta_hd_open_act()
475 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_close_act() local
481 bta_sys_conn_close(BTA_ID_HD, 1, p_cback->addr); in bta_hd_close_act()
485 HID_DevUnplugDevice(p_cback->addr); in bta_hd_close_act()
489 cback_data.conn.bda = p_cback->addr; in bta_hd_close_act()
492 bta_hd_cb.p_cback(cback_event, &cback_data); in bta_hd_close_act()
505 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_intr_data_act() local
506 BT_HDR* p_msg = p_cback->p_data; in bta_hd_intr_data_act()
531 (*bta_hd_cb.p_cback)(BTA_HD_INTR_DATA_EVT, &bta_hd); in bta_hd_intr_data_act()
544 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_get_report_act() local
545 bool rep_size_follows = p_cback->data; in bta_hd_get_report_act()
546 BT_HDR* p_msg = p_cback->p_data; in bta_hd_get_report_act()
582 (*bta_hd_cb.p_cback)(BTA_HD_GET_REPORT_EVT, &bta_hd); in bta_hd_get_report_act()
595 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_set_report_act() local
596 BT_HDR* p_msg = p_cback->p_data; in bta_hd_set_report_act()
629 (*bta_hd_cb.p_cback)(BTA_HD_SET_REPORT_EVT, &bta_hd); in bta_hd_set_report_act()
642 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_set_protocol_act() local
647 bta_hd_cb.boot_mode = (p_cback->data == HID_PAR_PROTOCOL_BOOT_MODE); in bta_hd_set_protocol_act()
648 cback_data.set_protocol = p_cback->data; in bta_hd_set_protocol_act()
650 (*bta_hd_cb.p_cback)(BTA_HD_SET_PROTOCOL_EVT, &cback_data); in bta_hd_set_protocol_act()
663 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_vc_unplug_done_act() local
668 bta_sys_conn_close(BTA_ID_HD, 1, p_cback->addr); in bta_hd_vc_unplug_done_act()
670 HID_DevUnplugDevice(p_cback->addr); in bta_hd_vc_unplug_done_act()
672 cback_data.conn.bda = p_cback->addr; in bta_hd_vc_unplug_done_act()
673 bta_hd_cb.bd_addr = p_cback->addr; in bta_hd_vc_unplug_done_act()
675 (*bta_hd_cb.p_cback)(BTA_HD_VC_UNPLUG_EVT, &cback_data); in bta_hd_vc_unplug_done_act()
688 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_suspend_act() local
692 bta_sys_idle(BTA_ID_HD, 1, p_cback->addr); in bta_hd_suspend_act()
705 tBTA_HD_CBACK_DATA* p_cback = (tBTA_HD_CBACK_DATA*)p_data; in bta_hd_exit_suspend_act() local
709 bta_sys_busy(BTA_ID_HD, 1, p_cback->addr); in bta_hd_exit_suspend_act()
710 bta_sys_idle(BTA_ID_HD, 1, p_cback->addr); in bta_hd_exit_suspend_act()