/aosp12/system/bt/audio_bluetooth_hw/ |
H A D | device_port_proxy.cc | 119 session_type_(SessionType_2_1::UNKNOWN) {} in BluetoothAudioPort() 155 session_type_, cbacks); in SetUp() 168 session_type_ = SessionType_2_1::A2DP_SOFTWARE_ENCODING_DATAPATH; in init_session_type() 191 session_type_ = SessionType_2_1::LE_AUDIO_SOFTWARE_DECODED_DATAPATH; in init_session_type() 198 if (!BluetoothAudioSessionControl_2_1::IsSessionReady(session_type_)) { in init_session_type() 208 LOG(ERROR) << __func__ << ": session_type=" << toString(session_type_) in TearDown() 404 if (BluetoothAudioSessionControl_2_1::StartStream(session_type_)) { in Start() 462 BluetoothAudioSessionControl_2_1::StopStream(session_type_); in Stop() 482 session_type_, dst.get(), write_frames * 2) * in WriteData() 500 session_type_, delay_ns, bytes, timestamp); in GetPresentationPosition() [all …]
|
H A D | device_port_proxy.h | 88 return session_type_ == SessionType_2_1::A2DP_SOFTWARE_ENCODING_DATAPATH || in IsA2dp() 89 session_type_ == SessionType_2_1::A2DP_HARDWARE_OFFLOAD_DATAPATH; in IsA2dp() 95 SessionType_2_1 session_type_; variable
|
/aosp12/hardware/interfaces/bluetooth/audio/utils/session/ |
H A D | BluetoothAudioSession.cpp | 80 (session_type_ == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH in OnSessionStarted() 141 << " for SessionType=" << toString(session_type_) in ReportControlStatus() 154 (session_type_ == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH || in IsSessionReady() 181 (session_type_ == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in UpdateAudioConfig() 204 uint16_t cookie = ObserversCookieGetInitValue(session_type_); in RegisterStatusCback() 263 << toString(session_type_) << " failed"; in StartStream() 279 << toString(session_type_) << " failed"; in SuspendStream() 293 << toString(session_type_) << " failed"; in StopStream() 325 << toString(session_type_) << " failed"; in GetPresentationPosition() 344 session_type_ == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in UpdateTracksMetadata() [all …]
|
H A D | BluetoothAudioSession.h | 87 SessionType session_type_; variable
|
/aosp12/hardware/interfaces/bluetooth/audio/2.0/default/ |
H A D | BluetoothAudioProvider.cpp | 49 session_type_(SessionType::UNKNOWN), in BluetoothAudioProvider() 70 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_) in startSession() 79 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_) in streamStarted() 87 BluetoothAudioSessionReport::ReportControlStatus(session_type_, true, in streamStarted() 90 LOG(WARNING) << __func__ << " - SessionType=" << toString(session_type_) in streamStarted() 99 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_) in streamSuspended() 107 BluetoothAudioSessionReport::ReportControlStatus(session_type_, false, in streamSuspended() 110 LOG(WARNING) << __func__ << " - SessionType=" << toString(session_type_) in streamSuspended() 118 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_); in endSession() 121 BluetoothAudioSessionReport::OnSessionEnded(session_type_); in endSession() [all …]
|
H A D | A2dpOffloadAudioProvider.cpp | 43 session_type_ = SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH; in A2dpOffloadAudioProvider() 47 return (sessionType == session_type_); in isValid() 67 session_type_, audioConfig.codecConfig())) { in startSession() 78 BluetoothAudioSessionReport::OnSessionStarted(session_type_, stack_iface_, in onSessionReady()
|
H A D | A2dpSoftwareAudioProvider.cpp | 55 session_type_ = SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH; in A2dpSoftwareAudioProvider() 63 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid() 98 session_type_, stack_iface_, mDataMQ->getDesc(), audio_config_); in onSessionReady()
|
H A D | HearingAidAudioProvider.cpp | 51 session_type_ = SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH; in HearingAidAudioProvider() 59 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid() 93 session_type_, stack_iface_, mDataMQ->getDesc(), audio_config_); in onSessionReady()
|
H A D | BluetoothAudioProvider.h | 54 SessionType session_type_; variable
|
/aosp12/hardware/interfaces/bluetooth/audio/2.1/default/ |
H A D | BluetoothAudioProvider.cpp | 50 session_type_(SessionType::UNKNOWN), in BluetoothAudioProvider() 91 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_) in startSession_2_1() 100 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_) in streamStarted() 108 BluetoothAudioSessionReport_2_1::ReportControlStatus(session_type_, true, in streamStarted() 111 LOG(WARNING) << __func__ << " - SessionType=" << toString(session_type_) in streamStarted() 120 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_) in streamSuspended() 128 BluetoothAudioSessionReport_2_1::ReportControlStatus(session_type_, false, in streamSuspended() 131 LOG(WARNING) << __func__ << " - SessionType=" << toString(session_type_) in streamSuspended() 139 LOG(INFO) << __func__ << " - SessionType=" << toString(session_type_); in endSession() 142 BluetoothAudioSessionReport_2_1::OnSessionEnded(session_type_); in endSession() [all …]
|
H A D | LeAudioAudioProvider.cpp | 45 session_type_ = SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH; in LeAudioOutputAudioProvider() 50 session_type_ = SessionType::LE_AUDIO_SOFTWARE_DECODED_DATAPATH; in LeAudioInputAudioProvider() 64 return (sessionType == session_type_); in isValid() 153 if (session_type_ == SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH) in startSession_2_1() 155 else if (session_type_ == SessionType::LE_AUDIO_SOFTWARE_DECODED_DATAPATH) in startSession_2_1() 183 session_type_, stack_iface_, mDataMQ->getDesc(), audio_config_); in onSessionReady()
|
H A D | A2dpOffloadAudioProvider.cpp | 45 session_type_ = SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH; in A2dpOffloadAudioProvider() 53 return (sessionType == session_type_); in isValid() 73 session_type_, audioConfig.codecConfig())) { in startSession() 84 BluetoothAudioSessionReport_2_1::OnSessionStarted(session_type_, stack_iface_, in onSessionReady()
|
H A D | A2dpSoftwareAudioProvider.cpp | 57 session_type_ = SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH; in A2dpSoftwareAudioProvider() 69 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid() 104 session_type_, stack_iface_, mDataMQ->getDesc(), audio_config_); in onSessionReady()
|
H A D | HearingAidAudioProvider.cpp | 53 session_type_ = SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH; in HearingAidAudioProvider() 65 return (sessionType == session_type_ && mDataMQ && mDataMQ->isValid()); in isValid() 99 session_type_, stack_iface_, mDataMQ->getDesc(), audio_config_); in onSessionReady()
|
H A D | BluetoothAudioProvider.h | 57 SessionType session_type_; variable
|
/aosp12/system/bt/audio_hal_interface/ |
H A D | client_interface.h | 99 : session_type_(sessionType), in IBluetoothTransportInstance() 105 : session_type_(SessionType::UNKNOWN), in IBluetoothTransportInstance() 111 SessionType GetSessionType() const { return session_type_; } in GetSessionType() 143 const SessionType session_type_;
|