Home
last modified time | relevance | path

Searched refs:audio (Results 1 – 25 of 117) sorted by relevance

12345

/system/bt/audio_hal_interface/
Dclient_interface.h32 namespace audio {
34 using ::android::hardware::bluetooth::audio::V2_0::AudioCapabilities;
35 using ::android::hardware::bluetooth::audio::V2_0::AudioConfiguration;
36 using ::android::hardware::bluetooth::audio::V2_0::BitsPerSample;
37 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
38 using ::android::hardware::bluetooth::audio::V2_0::CodecConfiguration;
39 using ::android::hardware::bluetooth::audio::V2_0::CodecType;
40 using ::android::hardware::bluetooth::audio::V2_0::IBluetoothAudioProvider;
41 using ::android::hardware::bluetooth::audio::V2_0::PcmParameters;
42 using ::android::hardware::bluetooth::audio::V2_0::SampleRate;
[all …]
Dhearing_aid_software_encoding.cc28 using ::android::hardware::bluetooth::audio::V2_0::CodecType;
29 using ::bluetooth::audio::AudioConfiguration;
30 using ::bluetooth::audio::BitsPerSample;
31 using ::bluetooth::audio::BluetoothAudioCtrlAck;
32 using ::bluetooth::audio::ChannelMode;
33 using ::bluetooth::audio::PcmParameters;
34 using ::bluetooth::audio::SampleRate;
35 using ::bluetooth::audio::SessionType;
36 using ::bluetooth::audio::hearing_aid::StreamCallbacks;
40 : public bluetooth::audio::IBluetoothTransportInstance {
[all …]
Dclient_interface_unittest.cc23 using ::android::hardware::bluetooth::audio::V2_0::AacObjectType;
24 using ::android::hardware::bluetooth::audio::V2_0::AacParameters;
25 using ::android::hardware::bluetooth::audio::V2_0::AacVariableBitRate;
26 using ::android::hardware::bluetooth::audio::V2_0::AptxParameters;
27 using ::android::hardware::bluetooth::audio::V2_0::CodecCapabilities;
28 using ::android::hardware::bluetooth::audio::V2_0::CodecConfiguration;
29 using ::android::hardware::bluetooth::audio::V2_0::CodecType;
30 using ::android::hardware::bluetooth::audio::V2_0::LdacChannelMode;
31 using ::android::hardware::bluetooth::audio::V2_0::LdacParameters;
32 using ::android::hardware::bluetooth::audio::V2_0::LdacQualityIndex;
[all …]
DAndroid.bp4 name: "libbt-audio-hal-interface",
19 "android.hardware.bluetooth.audio@2.0",
36 name: "bluetooth-test-audio-hal-interface",
45 "android.hardware.bluetooth.audio@2.0",
54 "libbt-audio-hal-interface",
Da2dp_encoding.cc32 using ::android::hardware::bluetooth::audio::V2_0::AacObjectType;
33 using ::android::hardware::bluetooth::audio::V2_0::AacVariableBitRate;
34 using ::android::hardware::bluetooth::audio::V2_0::CodecType;
35 using ::android::hardware::bluetooth::audio::V2_0::LdacChannelMode;
36 using ::android::hardware::bluetooth::audio::V2_0::LdacQualityIndex;
37 using ::android::hardware::bluetooth::audio::V2_0::SbcAllocMethod;
38 using ::android::hardware::bluetooth::audio::V2_0::SbcBlockLength;
39 using ::android::hardware::bluetooth::audio::V2_0::SbcChannelMode;
40 using ::android::hardware::bluetooth::audio::V2_0::SbcNumSubbands;
41 using ::bluetooth::audio::AudioConfiguration;
[all …]
/system/bt/btif/src/
Dbtif_a2dp.cc60 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_started()
61 bluetooth::audio::a2dp::ack_stream_started(status); in btif_a2dp_on_started()
80 } else if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_started()
86 bluetooth::audio::a2dp::ack_stream_started(A2DP_CTRL_ACK_SUCCESS); in btif_a2dp_on_started()
98 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_started()
99 bluetooth::audio::a2dp::ack_stream_started(A2DP_CTRL_ACK_FAILURE); in btif_a2dp_on_started()
118 if (bluetooth::audio::a2dp::is_hal_2_0_enabled() || in btif_a2dp_on_stopped()
133 if (bluetooth::audio::a2dp::is_hal_2_0_enabled() || in btif_a2dp_on_suspended()
172 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_offload_started()
173 bluetooth::audio::a2dp::ack_stream_started(ack); in btif_a2dp_on_offload_started()
Dbtif_a2dp_source.cc359 if (!bluetooth::audio::a2dp::init(&btif_a2dp_source_thread)) { in btif_a2dp_source_startup_delayed()
398 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_start_session_delayed()
399 bluetooth::audio::a2dp::start_session(); in btif_a2dp_source_start_session_delayed()
466 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_end_session_delayed()
467 bluetooth::audio::a2dp::end_session(); in btif_a2dp_source_end_session_delayed()
502 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_shutdown_delayed()
503 bluetooth::audio::a2dp::cleanup(); in btif_a2dp_source_shutdown_delayed()
598 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_setup_codec_delayed()
599 bluetooth::audio::a2dp::setup_codec(); in btif_a2dp_source_setup_codec_delayed()
683 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_on_stopped()
[all …]
/system/bt/audio_bluetooth_hw/
DAndroid.bp1 // The format of the name is audio.<type>.<hardware/etc>.so
4 name: "audio.bluetooth.default",
15 "android.hardware.bluetooth.audio@2.0",
Ddevice_port_proxy.cc33 namespace audio { namespace
36 using ::android::bluetooth::audio::BluetoothAudioSessionControl;
37 using ::android::hardware::bluetooth::audio::V2_0::BitsPerSample;
38 using ::android::hardware::bluetooth::audio::V2_0::ChannelMode;
39 using ::android::hardware::bluetooth::audio::V2_0::PcmParameters;
40 using ::android::hardware::bluetooth::audio::V2_0::SampleRate;
41 using ::android::hardware::bluetooth::audio::V2_0::SessionType;
43 ::android::hardware::bluetooth::audio::V2_0::Status;
104 cookie_(android::bluetooth::audio::kObserversCookieUndefined) {} in BluetoothAudioPortOut()
136 ::android::bluetooth::audio::PortStatusCallbacks cbacks = { in SetUp()
[all …]
Ddevice_port_proxy.h29 namespace audio {
89 ::android::hardware::bluetooth::audio::V2_0::SessionType session_type_;
105 const ::android::hardware::bluetooth::audio::V2_0::Status& status);
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc71 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in send_audio_data()
72 bytes_read = bluetooth::audio::hearing_aid::read(p_buf, bytes_per_tick); in send_audio_data()
382 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in Start()
383 bluetooth::audio::hearing_aid::start_session(); in Start()
384 bluetooth::audio::hearing_aid::set_remote_delay(remote_delay_ms); in Start()
393 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in Stop()
394 bluetooth::audio::hearing_aid::end_session(); in Stop()
401 auto stream_cb = bluetooth::audio::hearing_aid::StreamCallbacks{ in Initialize()
405 if (!bluetooth::audio::hearing_aid::init(stream_cb, get_main_thread())) { in Initialize()
413 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in CleanUp()
[all …]
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_audio.te20 # allow hal audio to use vnbinder
34 # Only audio HAL may directly access the audio hardware
/system/sepolicy/public/
Dhal_audio.te20 # allow hal audio to use vnbinder
34 # Only audio HAL may directly access the audio hardware
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_audio.te21 # allow hal audio to use vnbinder
35 # Only audio HAL may directly access the audio hardware
Daudioserver.te1 # audioserver - audio services daemon
/system/sepolicy/prebuilts/api/27.0/private/
Daudioserver.te1 # audioserver - audio services daemon
38 # Grant access to audio files to audioserver
58 # permissions. Example: Audioserver is only responsible for controlling audio
59 # hardware and processing audio content. Cameraserver does the same for camera
/system/sepolicy/prebuilts/api/26.0/private/
Daudioserver.te1 # audioserver - audio services daemon
38 # Grant access to audio files to audioserver
58 # permissions. Example: Audioserver is only responsible for controlling audio
59 # hardware and processing audio content. Cameraserver does the same for camera
/system/bt/audio_a2dp_hw/
DAndroid.bp14 name: "audio.a2dp.default",
49 "audio.a2dp.default",
/system/bt/audio_hearing_aid_hw/
DAndroid.bp14 name: "audio.hearing_aid.default",
48 "audio.hearing_aid.default",
/system/sepolicy/prebuilts/api/28.0/private/
Daudioserver.te1 # audioserver - audio services daemon
45 # Grant access to audio files to audioserver
80 # permissions. Example: Audioserver is only responsible for controlling audio
81 # hardware and processing audio content. Cameraserver does the same for camera
/system/sepolicy/prebuilts/api/27.0/public/
Dhal_audio.te37 # Only audio HAL may directly access the audio hardware
Daudioserver.te1 # audioserver - audio services daemon
/system/sepolicy/prebuilts/api/26.0/public/
Dhal_audio.te37 # Only audio HAL may directly access the audio hardware
Daudioserver.te1 # audioserver - audio services daemon
/system/sepolicy/private/
Daudioserver.te1 # audioserver - audio services daemon
50 # Grant access to audio files to audioserver
88 # permissions. Example: Audioserver is only responsible for controlling audio
89 # hardware and processing audio content. Cameraserver does the same for camera

12345