Home
last modified time | relevance | path

Searched refs:kSource (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/audio_hal_interface/
Da2dp_encoding_host.cc143 if (btif_av_stream_started_ready(A2dpType::kSource)) { in StartRequest()
148 if (btif_av_stream_ready(A2dpType::kSource)) { in StartRequest()
156 btif_av_stream_start(A2dpType::kSource); in StartRequest()
157 if (btif_av_get_peer_sep(A2dpType::kSource) != AVDT_TSEP_SRC) { in StartRequest()
170 if (btif_av_get_peer_sep(A2dpType::kSource) == AVDT_TSEP_SNK && in StopRequest()
171 !btif_av_stream_started_ready(A2dpType::kSource)) { in StopRequest()
172 btif_av_clear_remote_suspend_flag(A2dpType::kSource); in StopRequest()
186 if (!btif_av_stream_started_ready(A2dpType::kSource)) { in SuspendRequest()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_control.cc82 if (btif_av_stream_ready(A2dpType::kSource) || in btif_a2dp_control_on_check_ready()
83 btif_av_stream_started_ready(A2dpType::kSource)) { in btif_a2dp_control_on_check_ready()
102 if (btif_av_stream_ready(A2dpType::kSource)) { in btif_a2dp_control_on_start()
112 btif_av_stream_start(A2dpType::kSource); in btif_a2dp_control_on_start()
113 if (btif_av_get_peer_sep(A2dpType::kSource) == AVDT_TSEP_SRC) in btif_a2dp_control_on_start()
117 if (btif_av_stream_started_ready(A2dpType::kSource)) { in btif_a2dp_control_on_start()
137 if (btif_av_stream_started_ready(A2dpType::kSource)) { in btif_a2dp_control_on_suspend()
145 btif_av_clear_remote_suspend_flag(A2dpType::kSource); in btif_a2dp_control_on_suspend()
369 if (btif_av_get_peer_sep(A2dpType::kSource) == AVDT_TSEP_SNK) { in btif_a2dp_data_cb()
Dbtif_av.cc839 if (btif_av_source.Enabled() && local_a2dp_type == A2dpType::kSource) { in btif_av_find_peer()
880 if (btif_av_source.Enabled() && local_a2dp_type == A2dpType::kSource) in btif_av_find_active_peer()
1702 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in OnEnter()
1896 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in ProcessEvent()
1959 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in ProcessEvent()
1975 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in ProcessEvent()
1982 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in ProcessEvent()
2036 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in OnEnter()
2067 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in ProcessEvent()
2082 peer_.IsSource() ? A2dpType::kSink : A2dpType::kSource); in ProcessEvent()
[all …]
Dbtif_a2dp.cc200 btif_av_stream_started_ready(A2dpType::kSource)) { in btif_a2dp_on_offload_started()
Dbtif_a2dp_source.cc420 btif_av_get_audio_delay(A2dpType::kSource)); in btif_a2dp_source_start_session_delayed()
Dbluetooth.cc336 btif_av_acl_disconnected(bd_addr, A2dpType::kSource); in onLinkDown()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Da2dp_encoding_hidl.cc97 if (btif_av_stream_started_ready(A2dpType::kSource)) { in StartRequest()
101 if (btif_av_stream_ready(A2dpType::kSource)) { in StartRequest()
108 btif_av_stream_start(A2dpType::kSource); in StartRequest()
109 if (btif_av_get_peer_sep(A2dpType::kSource) != AVDT_TSEP_SRC) { in StartRequest()
130 if (btif_av_stream_started_ready(A2dpType::kSource)) { in SuspendRequest()
140 btif_av_clear_remote_suspend_flag(A2dpType::kSource); in SuspendRequest()
145 if (btif_av_get_peer_sep(A2dpType::kSource) == AVDT_TSEP_SNK && in StopRequest()
146 !btif_av_stream_started_ready(A2dpType::kSource)) { in StopRequest()
147 btif_av_clear_remote_suspend_flag(A2dpType::kSource); in StopRequest()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Da2dp_encoding_aidl.cc100 if (btif_av_stream_started_ready(A2dpType::kSource)) { in StartRequest()
104 if (btif_av_stream_ready(A2dpType::kSource)) { in StartRequest()
114 if (btif_av_get_peer_sep(A2dpType::kSource) != AVDT_TSEP_SRC) { in StartRequest()
135 if (btif_av_stream_started_ready(A2dpType::kSource)) { in SuspendRequest()
145 btif_av_clear_remote_suspend_flag(A2dpType::kSource); in SuspendRequest()
150 if (btif_av_get_peer_sep(A2dpType::kSource) == AVDT_TSEP_SNK && in StopRequest()
151 !btif_av_stream_started_ready(A2dpType::kSource)) { in StopRequest()
152 btif_av_clear_remote_suspend_flag(A2dpType::kSource); in StopRequest()
/packages/modules/Bluetooth/system/btif/include/
Dbtif_av.h38 enum class A2dpType { kSource, kSink, kUnknown }; enumerator
/packages/modules/Bluetooth/system/btif/co/
Dbta_av_co.cc283 if (btif_av_peer_prefers_mandatory_codec(p_peer->addr, A2dpType::kSource)) { in ProcessSourceGetConfig()
712 btif_av_set_audio_delay(peer_address, delay, A2dpType::kSource); in ProcessAudioDelay()
807 btif_av_is_peer_edr(peer_address, A2dpType::kSource); in GetPeerEncoderParameters()
809 btif_av_peer_supports_3mbps(peer_address, A2dpType::kSource); in GetPeerEncoderParameters()