Searched refs:a2dp_uipc (Results 1 – 2 of 2) sorted by relevance
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 51 std::unique_ptr<tUIPC_STATE> a2dp_uipc = nullptr; variable 54 a2dp_uipc = UIPC_Init(); in btif_a2dp_control_init() 55 UIPC_Open(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, btif_a2dp_ctrl_cb, A2DP_CTRL_PATH); in btif_a2dp_control_init() 60 if (a2dp_uipc != nullptr) { in btif_a2dp_control_cleanup() 61 UIPC_Close(*a2dp_uipc, UIPC_CH_ID_ALL); in btif_a2dp_control_cleanup() 70 n = UIPC_Read(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, NULL, &read_cmd, 1); in btif_a2dp_recv_ctrl_data() 76 UIPC_Close(*a2dp_uipc, UIPC_CH_ID_AV_CTRL); in btif_a2dp_recv_ctrl_data() 132 UIPC_Open(*a2dp_uipc, UIPC_CH_ID_AV_AUDIO, btif_a2dp_data_cb, in btif_a2dp_recv_ctrl_data() 151 UIPC_Open(*a2dp_uipc, UIPC_CH_ID_AV_AUDIO, btif_a2dp_data_cb, in btif_a2dp_recv_ctrl_data() 191 UIPC_Send(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, 0, in btif_a2dp_recv_ctrl_data() [all …]
|
D | btif_a2dp_source.cc | 57 extern std::unique_ptr<tUIPC_STATE> a2dp_uipc; 806 } else if (a2dp_uipc != nullptr) { in btif_a2dp_source_audio_tx_stop_event() 807 btif_a2dp_control_log_bytes_read(UIPC_Read(*a2dp_uipc, UIPC_CH_ID_AV_AUDIO, in btif_a2dp_source_audio_tx_stop_event() 817 } else if (a2dp_uipc != nullptr) { in btif_a2dp_source_audio_tx_stop_event() 818 UIPC_Close(*a2dp_uipc, UIPC_CH_ID_AV_AUDIO); in btif_a2dp_source_audio_tx_stop_event() 879 } else if (a2dp_uipc != nullptr) { in btif_a2dp_source_read_callback() 880 bytes_read = UIPC_Read(*a2dp_uipc, UIPC_CH_ID_AV_AUDIO, &event, p_buf, len); in btif_a2dp_source_read_callback() 1009 if (!bluetooth::audio::a2dp::is_hal_2_0_enabled() && a2dp_uipc != nullptr) { in btif_a2dp_source_audio_tx_flush_event() 1010 UIPC_Ioctl(*a2dp_uipc, UIPC_CH_ID_AV_AUDIO, UIPC_REQ_RX_FLUSH, nullptr); in btif_a2dp_source_audio_tx_flush_event()
|