Home
last modified time | relevance | path

Searched refs:session_type (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSessionControl.h29 static bool IsSessionReady(const SessionType& session_type) { in IsSessionReady() argument
31 BluetoothAudioSessionInstance::GetSessionInstance(session_type); in IsSessionReady()
42 const SessionType& session_type, const PortStatusCallbacks& cbacks) { in RegisterControlResultCback() argument
44 BluetoothAudioSessionInstance::GetSessionInstance(session_type); in RegisterControlResultCback()
54 static void UnregisterControlResultCback(const SessionType& session_type, in UnregisterControlResultCback() argument
57 BluetoothAudioSessionInstance::GetSessionInstance(session_type); in UnregisterControlResultCback()
66 const SessionType& session_type) { in GetAudioConfig() argument
68 BluetoothAudioSessionInstance::GetSessionInstance(session_type); in GetAudioConfig()
71 } else if (session_type == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in GetAudioConfig()
80 static bool StartStream(const SessionType& session_type) { in StartStream() argument
[all …]
DBluetoothAudioSessionReport.h29 static void OnSessionStarted(const SessionType& session_type, in OnSessionStarted() argument
34 BluetoothAudioSessionInstance::GetSessionInstance(session_type); in OnSessionStarted()
41 static void OnSessionEnded(const SessionType& session_type) { in OnSessionEnded() argument
43 BluetoothAudioSessionInstance::GetSessionInstance(session_type); in OnSessionEnded()
50 static void ReportControlStatus(const SessionType& session_type, in ReportControlStatus() argument
54 BluetoothAudioSessionInstance::GetSessionInstance(session_type); in ReportControlStatus()
DBluetoothAudioSession.h54 inline uint16_t ObserversCookieGetInitValue(SessionType session_type) { in ObserversCookieGetInitValue() argument
55 return (static_cast<uint16_t>(session_type) << 8 & 0xff00); in ObserversCookieGetInitValue()
57 inline uint16_t ObserversCookieGetUpperBound(SessionType session_type) { in ObserversCookieGetUpperBound() argument
58 return (static_cast<uint16_t>(session_type) << 8 & 0xff00) + in ObserversCookieGetUpperBound()
107 BluetoothAudioSession(const SessionType& session_type);
175 const SessionType& session_type);
DBluetoothAudioSupportedCodecsDB.h32 const SessionType& session_type);
35 bool IsOffloadCodecConfigurationValid(const SessionType& session_type,
DBluetoothAudioSession.cpp53 BluetoothAudioSession::BluetoothAudioSession(const SessionType& session_type) in BluetoothAudioSession() argument
54 : session_type_(session_type), stack_iface_(nullptr), mDataMQ(nullptr) { in BluetoothAudioSession()
411 const SessionType& session_type) { in GetSessionInstance() argument
414 auto entry = instance_ptr->sessions_map_.find(session_type); in GetSessionInstance()
420 std::make_shared<BluetoothAudioSession>(session_type); in GetSessionInstance()
421 instance_ptr->sessions_map_[session_type] = session_ptr; in GetSessionInstance()
DBluetoothAudioSupportedCodecsDB.cpp304 const SessionType& session_type) { in GetOffloadCodecCapabilities() argument
305 if (session_type != SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in GetOffloadCodecCapabilities()
368 bool IsOffloadCodecConfigurationValid(const SessionType& session_type, in IsOffloadCodecConfigurationValid() argument
370 if (session_type != SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in IsOffloadCodecConfigurationValid()
372 << ": Invalid SessionType=" << toString(session_type); in IsOffloadCodecConfigurationValid()
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp154 void GetProviderCapabilitiesHelper(const SessionType& session_type) { in GetProviderCapabilitiesHelper() argument
162 providers_factory_->getProviderCapabilities(session_type, hidl_cb); in GetProviderCapabilitiesHelper()
165 if (session_type == SessionType::UNKNOWN) { in GetProviderCapabilitiesHelper()
167 } else if (session_type != SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in GetProviderCapabilitiesHelper()
218 void OpenProviderHelper(const SessionType& session_type) { in OpenProviderHelper() argument
226 auto hidl_retval = providers_factory_->openProvider(session_type, hidl_cb); in OpenProviderHelper()
230 ASSERT_NE(session_type, SessionType::UNKNOWN); in OpenProviderHelper()
235 ASSERT_TRUE(session_type == SessionType::UNKNOWN || in OpenProviderHelper()
236 session_type == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in OpenProviderHelper()
291 for (auto session_type : session_types_) { in TEST_P() local
[all …]