/system/bt/btif/src/ |
D | btif_hf_client.cc | 165 HAL_CBACK(bt_hf_client_callbacks, audio_state_cb, &cb->peer_bda, in btif_in_hf_client_generic_evt() 770 HAL_CBACK(bt_hf_client_callbacks, call_cb, &cb->peer_bda, in process_ind_evt() 775 HAL_CBACK(bt_hf_client_callbacks, callsetup_cb, &cb->peer_bda, in process_ind_evt() 779 HAL_CBACK(bt_hf_client_callbacks, callheld_cb, &cb->peer_bda, in process_ind_evt() 784 HAL_CBACK(bt_hf_client_callbacks, network_state_cb, &cb->peer_bda, in process_ind_evt() 789 HAL_CBACK(bt_hf_client_callbacks, network_signal_cb, &cb->peer_bda, in process_ind_evt() 794 HAL_CBACK(bt_hf_client_callbacks, network_roaming_cb, &cb->peer_bda, in process_ind_evt() 799 HAL_CBACK(bt_hf_client_callbacks, battery_level_cb, &cb->peer_bda, in process_ind_evt() 854 HAL_CBACK(bt_hf_client_callbacks, connection_state_cb, &cb->peer_bda, in btif_hf_client_upstreams_evt() 869 HAL_CBACK(bt_hf_client_callbacks, connection_state_cb, &cb->peer_bda, in btif_hf_client_upstreams_evt() [all …]
|
D | btif_gatt_server.cc | 133 HAL_CBACK(bt_gatt_callbacks, server->register_server_cb, in btapp_gatts_handle_cback() 148 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback() 157 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback() 163 HAL_CBACK(bt_gatt_callbacks, server->service_stopped_cb, in btapp_gatts_handle_cback() 169 HAL_CBACK(bt_gatt_callbacks, server->service_deleted_cb, in btapp_gatts_handle_cback() 178 HAL_CBACK(bt_gatt_callbacks, server->request_read_characteristic_cb, in btapp_gatts_handle_cback() 190 HAL_CBACK(bt_gatt_callbacks, server->request_read_descriptor_cb, in btapp_gatts_handle_cback() 203 HAL_CBACK(bt_gatt_callbacks, server->request_write_characteristic_cb, in btapp_gatts_handle_cback() 214 HAL_CBACK(bt_gatt_callbacks, server->request_write_descriptor_cb, in btapp_gatts_handle_cback() 224 HAL_CBACK(bt_gatt_callbacks, server->request_exec_write_cb, in btapp_gatts_handle_cback() [all …]
|
D | btif_hf.cc | 382 HAL_CBACK(bt_hf_callbacks, connection_state_cb, btif_hf_cb[idx].state, in btif_hf_upstreams_evt() 398 HAL_CBACK(bt_hf_callbacks, connection_state_cb, btif_hf_cb[idx].state, in btif_hf_upstreams_evt() 418 HAL_CBACK(bt_hf_callbacks, connection_state_cb, btif_hf_cb[idx].state, in btif_hf_upstreams_evt() 425 HAL_CBACK(bt_hf_callbacks, audio_state_cb, BTHF_AUDIO_STATE_CONNECTED, in btif_hf_upstreams_evt() 430 HAL_CBACK(bt_hf_callbacks, audio_state_cb, BTHF_AUDIO_STATE_DISCONNECTED, in btif_hf_upstreams_evt() 437 HAL_CBACK(bt_hf_callbacks, volume_cmd_cb, in btif_hf_upstreams_evt() 449 HAL_CBACK(bt_hf_callbacks, answer_call_cmd_cb, in btif_hf_upstreams_evt() 461 HAL_CBACK(bt_hf_callbacks, dial_call_cmd_cb, in btif_hf_upstreams_evt() 467 HAL_CBACK(bt_hf_callbacks, hangup_call_cmd_cb, in btif_hf_upstreams_evt() 472 HAL_CBACK(bt_hf_callbacks, cind_cmd_cb, &btif_hf_cb[idx].connected_bda); in btif_hf_upstreams_evt() [all …]
|
D | btif_gatt_client.cc | 107 HAL_CBACK(bt_gatt_callbacks, client->execute_write_cb, in btif_gattc_upstreams_evt() 113 HAL_CBACK(bt_gatt_callbacks, client->search_complete_cb, in btif_gattc_upstreams_evt() 128 HAL_CBACK(bt_gatt_callbacks, client->notify_cb, p_data->notify.conn_id, in btif_gattc_upstreams_evt() 141 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id, in btif_gattc_upstreams_evt() 145 HAL_CBACK(bt_gatt_callbacks, client->configure_mtu_cb, in btif_gattc_upstreams_evt() 158 HAL_CBACK(bt_gatt_callbacks, client->close_cb, p_data->close.conn_id, in btif_gattc_upstreams_evt() 172 HAL_CBACK(bt_gatt_callbacks, client->configure_mtu_cb, in btif_gattc_upstreams_evt() 179 HAL_CBACK(bt_gatt_callbacks, client->congestion_cb, in btif_gattc_upstreams_evt() 184 HAL_CBACK(bt_gatt_callbacks, client->phy_updated_cb, in btif_gattc_upstreams_evt() 190 HAL_CBACK(bt_gatt_callbacks, client->conn_updated_cb, in btif_gattc_upstreams_evt() [all …]
|
D | btif_hd.cc | 186 HAL_CBACK(bt_hd_callbacks, application_state_cb, addr, in btif_hd_upstreams_evt() 192 HAL_CBACK(bt_hd_callbacks, application_state_cb, NULL, in btif_hd_upstreams_evt() 217 HAL_CBACK(bt_hd_callbacks, connection_state_cb, in btif_hd_upstreams_evt() 229 HAL_CBACK(bt_hd_callbacks, connection_state_cb, in btif_hd_upstreams_evt() 234 HAL_CBACK(bt_hd_callbacks, get_report_cb, p_data->get_report.report_type, in btif_hd_upstreams_evt() 239 HAL_CBACK(bt_hd_callbacks, set_report_cb, p_data->set_report.report_type, in btif_hd_upstreams_evt() 245 HAL_CBACK(bt_hd_callbacks, set_protocol_cb, p_data->set_protocol); in btif_hd_upstreams_evt() 249 HAL_CBACK(bt_hd_callbacks, intr_data_cb, p_data->intr_data.report_id, in btif_hd_upstreams_evt() 254 HAL_CBACK(bt_hd_callbacks, connection_state_cb, in btif_hd_upstreams_evt() 268 HAL_CBACK(bt_hd_callbacks, vc_unplug_cb); in btif_hd_upstreams_evt() [all …]
|
D | btif_core.cc | 405 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, in btif_enable_bluetooth_evt() 647 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, num_props, in btif_in_get_adapter_properties() 694 HAL_CBACK(bt_hal_cbacks, remote_device_properties_cb, BT_STATUS_SUCCESS, in btif_in_get_remote_device_properties() 723 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, status, 1, p_prop); in execute_storage_request() 766 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, status, 1, &prop); in execute_storage_request() 774 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, status, 0, NULL); in execute_storage_request() 799 HAL_CBACK(bt_hal_cbacks, remote_device_properties_cb, status, in execute_storage_remote_request() 816 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, status, num_props, p_props); in btif_adapter_properties_evt() 820 HAL_CBACK(bt_hal_cbacks, remote_device_properties_cb, status, remote_addr, in btif_remote_properties_evt() 1178 HAL_CBACK(bt_hal_cbacks, thread_evt_cb, ASSOCIATE_JVM); in btif_jni_associate() [all …]
|
D | btif_hh.cc | 500 HAL_CBACK(bt_hh_callbacks, connection_state_cb, &(p_dev->bd_addr), in btif_hh_remove_device() 631 HAL_CBACK(bt_hh_callbacks, connection_state_cb, bd_addr, in btif_hh_connect() 785 HAL_CBACK(bt_hh_callbacks, connection_state_cb, in btif_hh_upstreams_evt() 811 HAL_CBACK(bt_hh_callbacks, connection_state_cb, &(p_dev->bd_addr), in btif_hh_upstreams_evt() 826 HAL_CBACK(bt_hh_callbacks, connection_state_cb, in btif_hh_upstreams_evt() 856 HAL_CBACK(bt_hh_callbacks, connection_state_cb, &(p_dev->bd_addr), in btif_hh_upstreams_evt() 877 HAL_CBACK(bt_hh_callbacks, get_report_cb, in btif_hh_upstreams_evt() 881 HAL_CBACK(bt_hh_callbacks, handshake_cb, in btif_hh_upstreams_evt() 897 HAL_CBACK(bt_hh_callbacks, handshake_cb, in btif_hh_upstreams_evt() 915 HAL_CBACK(bt_hh_callbacks, protocol_mode_cb, in btif_hh_upstreams_evt() [all …]
|
D | btif_dm.cc | 499 HAL_CBACK(bt_hal_cbacks, bond_state_changed_cb, status, bd_addr, state); in bond_state_changed() 509 HAL_CBACK(bt_hal_cbacks, bond_state_changed_cb, status, bd_addr, state); in bond_state_changed() 624 HAL_CBACK(bt_hal_cbacks, remote_device_properties_cb, status, &bdaddr, in btif_update_remote_properties() 907 HAL_CBACK(bt_hal_cbacks, pin_request_cb, &bd_addr, &bd_name, cod, in btif_dm_pin_req_evt() 987 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ssp_cfm_req_evt() 1021 HAL_CBACK(bt_hal_cbacks, ssp_request_cb, &bd_addr, &bd_name, cod, in btif_dm_ssp_key_notif_evt() 1120 HAL_CBACK(bt_hal_cbacks, remote_device_properties_cb, BT_STATUS_SUCCESS, in btif_dm_auth_cmpl_evt() 1238 HAL_CBACK(bt_hal_cbacks, remote_device_properties_cb, status, &bdaddr, in btif_dm_search_devices_evt() 1339 HAL_CBACK(bt_hal_cbacks, device_found_cb, num_properties, properties); in btif_dm_search_devices_evt() 1350 HAL_CBACK(bt_hal_cbacks, discovery_state_changed_cb, in btif_dm_search_devices_evt() [all …]
|
D | stack_manager.cc | 227 HAL_CBACK(bt_hal_cbacks, adapter_state_changed_cb, BT_STATE_ON); in event_signal_stack_up() 231 HAL_CBACK(bt_hal_cbacks, adapter_state_changed_cb, BT_STATE_OFF); in event_signal_stack_down()
|
D | btif_rc.cc | 490 HAL_CBACK(bt_rc_ctrl_callbacks, getrcfeatures_cb, &rc_addr, rc_features); in handle_rc_ctrl_features() 530 HAL_CBACK(bt_rc_callbacks, remote_features_cb, &rc_addr, rc_features); in handle_rc_features() 587 HAL_CBACK(bt_rc_ctrl_callbacks, connection_state_cb, true, true, &rc_addr); in handle_rc_browse_connect() 647 HAL_CBACK(bt_rc_ctrl_callbacks, connection_state_cb, true, false, &rc_addr); in handle_rc_connect() 711 HAL_CBACK(bt_rc_ctrl_callbacks, connection_state_cb, false, false, in handle_rc_disconnect() 775 HAL_CBACK(bt_rc_callbacks, passthrough_cmd_cb, p_remote_cmd->rc_id, pressed, in handle_rc_passthrough_cmd() 812 HAL_CBACK(bt_rc_ctrl_callbacks, passthrough_rsp_cb, &rc_addr, in handle_rc_passthrough_rsp() 856 HAL_CBACK(bt_rc_ctrl_callbacks, groupnavigation_rsp_cb, vendor_id, in handle_rc_vendorunique_rsp() 1447 HAL_CBACK(bt_rc_callbacks, get_play_status_cb, &rc_addr); in btif_rc_upstreams_evt() 1474 HAL_CBACK(bt_rc_callbacks, get_element_attr_cb, num_attr, element_attrs, in btif_rc_upstreams_evt() [all …]
|
D | btif_av.cc | 260 HAL_CBACK(bt_av_sink_callbacks, connection_state_cb, state, bd_addr); in btif_report_connection_state() 262 HAL_CBACK(bt_av_src_callbacks, connection_state_cb, state, bd_addr); in btif_report_connection_state() 282 HAL_CBACK(bt_av_sink_callbacks, audio_state_cb, state, bd_addr); in btif_report_audio_state() 284 HAL_CBACK(bt_av_src_callbacks, audio_state_cb, state, bd_addr); in btif_report_audio_state() 313 HAL_CBACK(bt_av_src_callbacks, audio_config_cb, codec_config, in btif_report_source_codec_state() 426 HAL_CBACK(bt_av_sink_callbacks, audio_config_cb, &(req.peer_bd), in btif_av_state_idle_handler() 597 HAL_CBACK(bt_av_sink_callbacks, audio_config_cb, &(btif_av_cb.peer_bda), in btif_av_state_opening_handler()
|
D | btif_mce.cc | 70 HAL_CBACK(bt_mce_callbacks, remote_mas_instances_cb, in btif_mce_mas_discovery_comp_evt()
|
D | btif_sdp.cc | 74 HAL_CBACK(bt_sdp_callbacks, sdp_search_cb, (bt_status_t)evt_data->status, in btif_sdp_search_comp_evt()
|
D | btif_ble_scanner.cc | 112 HAL_CBACK(bt_gatt_callbacks, client->search_complete_cb, in btif_gatts_upstreams_evt() 193 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()
|
/system/bt/btif/include/ |
D | btif_common.h | 80 #define HAL_CBACK(P_CB, P_CBACK, ...) \ macro
|