Home
last modified time | relevance | path

Searched refs:SessionType (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy.h127 using ::aidl::android::hardware::bluetooth::audio::SessionType;
160 return session_type_ == SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH || in IsA2dp()
162 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH; in IsA2dp()
166 return session_type_ == SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH || in IsLeAudio()
167 session_type_ == SessionType::LE_AUDIO_SOFTWARE_DECODING_DATAPATH || in IsLeAudio()
169 SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH || in IsLeAudio()
171 SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH || in IsLeAudio()
173 SessionType::LE_AUDIO_BROADCAST_SOFTWARE_ENCODING_DATAPATH || in IsLeAudio()
175 SessionType:: in IsLeAudio()
184 SessionType session_type_;
Ddevice_port_proxy.cc78 const SessionType& session_type) { in BitsPerSampleToAudioFormat()
88 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH || in BitsPerSampleToAudioFormat()
89 session_type == SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH) { in BitsPerSampleToAudioFormat()
124 session_type_(SessionType::UNKNOWN) {} in BluetoothAudioPortAidl()
188 session_type_ = SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH; in init_session_type()
194 session_type_ = SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH; in init_session_type()
200 session_type_ = SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH; in init_session_type()
206 session_type_ = SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH; in init_session_type()
212 session_type_ = SessionType::LE_AUDIO_SOFTWARE_DECODING_DATAPATH; in init_session_type()
219 SessionType::LE_AUDIO_BROADCAST_SOFTWARE_ENCODING_DATAPATH; in init_session_type()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dclient_interface_aidl.cc80 BluetoothAudioClientInterface::GetAudioCapabilities(SessionType session_type) { in GetAudioCapabilities()
105 SessionType session_type, in GetProviderInfo()
279 SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH || in UpdateAudioConfig()
281 SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH || in UpdateAudioConfig()
283 SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH || in UpdateAudioConfig()
285 SessionType::LE_AUDIO_SOFTWARE_DECODING_DATAPATH || in UpdateAudioConfig()
287 SessionType::LE_AUDIO_BROADCAST_SOFTWARE_ENCODING_DATAPATH || in UpdateAudioConfig()
290 SessionType::HFP_SOFTWARE_ENCODING_DATAPATH || in UpdateAudioConfig()
292 SessionType::HFP_SOFTWARE_DECODING_DATAPATH))); in UpdateAudioConfig()
295 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH); in UpdateAudioConfig()
[all …]
Dprovider_info.cc31 using ::aidl::android::hardware::bluetooth::audio::SessionType;
44 bluetooth::audio::aidl::ProviderInfo::GetProviderInfo(SessionType sessionType) { in GetProviderInfo()
56 ProviderInfo::ProviderInfo(SessionType sessionType, in ProviderInfo()
65 if (sessionType == SessionType::HFP_HARDWARE_OFFLOAD_DATAPATH || in ProviderInfo()
66 sessionType == SessionType::HFP_SOFTWARE_ENCODING_DATAPATH || in ProviderInfo()
67 sessionType == SessionType::HFP_SOFTWARE_DECODING_DATAPATH) { in ProviderInfo()
Dtransport_instance.h30 using ::aidl::android::hardware::bluetooth::audio::SessionType;
39 IBluetoothTransportInstance(SessionType sessionType, in IBluetoothTransportInstance()
44 SessionType GetSessionType() const { return session_type_; } in GetSessionType()
99 const SessionType session_type_;
110 IBluetoothSinkTransportInstance(SessionType sessionType, in IBluetoothSinkTransportInstance()
123 IBluetoothSourceTransportInstance(SessionType sessionType, in IBluetoothSourceTransportInstance()
Dprovider_info.h29 using ::aidl::android::hardware::bluetooth::audio::SessionType;
33 static std::unique_ptr<ProviderInfo> GetProviderInfo(SessionType sessionType);
35 ProviderInfo(SessionType sessionType, std::vector<CodecInfo> codecs);
Dhfp_client_interface_aidl.h76 SessionType sessionType);
86 HfpDecodingTransport(SessionType sessionType);
129 HfpEncodingTransport(SessionType sessionType);
Da2dp_provider_info_unittest.cc40 using bluetooth::audio::aidl::SessionType;
75 (SessionType session_type,
87 SessionType session_type, in GetProviderInfo()
150 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH, _)) in GetProviderInfoForTesting()
155 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH, _)); in GetProviderInfoForTesting()
161 SessionType::A2DP_HARDWARE_OFFLOAD_DECODING_DATAPATH, _)) in GetProviderInfoForTesting()
166 SessionType::A2DP_HARDWARE_OFFLOAD_DECODING_DATAPATH, _)); in GetProviderInfoForTesting()
242 GetProviderInfo(SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH, _)) in TEST_F_WITH_FLAGS()
246 GetProviderInfo(SessionType::A2DP_HARDWARE_OFFLOAD_DECODING_DATAPATH, _)) in TEST_F_WITH_FLAGS()
Da2dp_encoding_aidl.cc54 using ::aidl::android::hardware::bluetooth::audio::SessionType;
76 A2dpTransport::A2dpTransport(SessionType sessionType) in A2dpTransport()
414 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH; in is_hal_offloading()
421 SessionType session_type) { in new_hal_interface()
465 new_hal_interface(SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH); in init()
473 new_hal_interface(SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH); in init()
595 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH) { in setup_codec()
943 SessionType::A2DP_HARDWARE_OFFLOAD_ENCODING_DATAPATH)) == nullptr) { in get_a2dp_configuration()
Dhfp_client_interface_aidl.cc68 SessionType sessionType) { in GetHfpScoConfig()
152 HfpDecodingTransport::HfpDecodingTransport(SessionType session_type) in HfpDecodingTransport()
204 HfpEncodingTransport::HfpEncodingTransport(SessionType session_type) in HfpEncodingTransport()
Dle_audio_software_aidl.h34 using ::aidl::android::hardware::bluetooth::audio::SessionType;
133 LeAudioSinkTransport(SessionType session_type, StreamCallbacks stream_cb);
193 LeAudioSourceTransport(SessionType session_type, StreamCallbacks stream_cb);
Dle_audio_software_aidl.cc371 inline bool is_broadcaster_session(SessionType session_type) { in is_broadcaster_session()
373 SessionType::LE_AUDIO_BROADCAST_HARDWARE_OFFLOAD_ENCODING_DATAPATH || in is_broadcaster_session()
375 SessionType::LE_AUDIO_BROADCAST_SOFTWARE_ENCODING_DATAPATH) { in is_broadcaster_session()
382 LeAudioSinkTransport::LeAudioSinkTransport(SessionType session_type, in LeAudioSinkTransport()
482 LeAudioSourceTransport::LeAudioSourceTransport(SessionType session_type, in LeAudioSourceTransport()
738 SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH); in get_offload_capabilities()
Dhearing_aid_software_encoding_aidl.cc44 using ::bluetooth::audio::aidl::SessionType;
54 SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH, in HearingAidTransport()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dclient_interface_hidl.h58 using SessionType = ::android::hardware::bluetooth::audio::V2_0::SessionType; variable
60 ::android::hardware::bluetooth::audio::V2_1::SessionType;
99 IBluetoothTransportInstance(SessionType sessionType, in IBluetoothTransportInstance()
107 : session_type_(SessionType::UNKNOWN), in IBluetoothTransportInstance()
113 SessionType GetSessionType() const { return session_type_; } in GetSessionType()
145 const SessionType session_type_;
156 IBluetoothSinkTransportInstance(SessionType sessionType, in IBluetoothSinkTransportInstance()
170 IBluetoothSourceTransportInstance(SessionType sessionType, in IBluetoothSourceTransportInstance()
200 SessionType session_type);
Dclient_interface_hidl_unittest.cc56 using ::bluetooth::audio::hidl::SessionType;
140 TestSinkTransport(SessionType session_type) in TestSinkTransport()
179 TestSourceTransport(SessionType session_type) in TestSourceTransport()
376 new TestSinkTransport(SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH); in TEST_F()
476 new TestSinkTransport(SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in TEST_F()
496 new TestSinkTransport(SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in TEST_F()
550 new TestSinkTransport(SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in TEST_F()
570 new TestSinkTransport(SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in TEST_F()
621 new TestSinkTransport(SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in TEST_F()
641 new TestSinkTransport(SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in TEST_F()
[all …]
Da2dp_encoding_hidl.cc53 using ::bluetooth::audio::hidl::SessionType;
73 A2dpTransport(SessionType sessionType) in A2dpTransport()
360 SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH; in is_hal_2_0_offloading()
373 new A2dpTransport(SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH); in init()
385 a2dp_sink = new A2dpTransport(SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in init()
464 SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH) { in setup_codec()
Dclient_interface_hidl.cc221 BluetoothAudioClientInterface::GetAudioCapabilities(SessionType session_type) { in GetAudioCapabilities()
497 SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH || in UpdateAudioConfig()
499 SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH); in UpdateAudioConfig()
501 SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH); in UpdateAudioConfig()
588 SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH && in StartSession()
817 } else if (transport_->GetSessionType() != SessionType::UNKNOWN) { in RenewAudioProviderAndSession()
Dhearing_aid_software_encoding_hidl.cc45 using ::bluetooth::audio::hidl::SessionType;
57 SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH, in HearingAidTransport()
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/
Dlibbt_audio_hal_client_interface_fuzzer.cpp52 using ::bluetooth::audio::hidl::SessionType;
73 constexpr SessionType kSessionTypes[] = {
74 SessionType::UNKNOWN,
75 SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH,
76 SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH,
77 SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH,
145 TestSinkTransport(SessionType session_type) in TestSinkTransport()
178 TestSourceTransport(SessionType session_type) in TestSourceTransport()
373 SessionType sessionType; in process()
413 (sessionType == SessionType::A2DP_HARDWARE_OFFLOAD_DATAPATH)) { in process()
[all …]
DREADME.md37 …ype` | 0.`SessionType::UNKNOWN` 1.`SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH` 2.`SessionType::A…
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software.cc94 aidl::SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH || in is_aidl_offload_encoding_session()
98 aidl::SessionType:: in is_aidl_offload_encoding_session()
612 aidl::SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH) { in StartSession()
850 aidl::SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH) { in UpdateAudioConfigToHal()
911 aidl::SessionType session_type = in GetSink()
913 ? aidl::SessionType::LE_AUDIO_BROADCAST_SOFTWARE_ENCODING_DATAPATH in GetSink()
914 : aidl::SessionType::LE_AUDIO_SOFTWARE_ENCODING_DATAPATH; in GetSink()
919 ? aidl::SessionType:: in GetSink()
921 : aidl::SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH; in GetSink()
925 aidl::SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH || in GetSink()
[all …]
Dhfp_client_interface.cc240 aidl::SessionType::HFP_SOFTWARE_DECODING_DATAPATH); in GetDecode()
386 aidl::SessionType::HFP_SOFTWARE_ENCODING_DATAPATH); in GetEncode()
510 aidl::SessionType::HFP_HARDWARE_OFFLOAD_DATAPATH); in GetHfpScoConfig()
532 aidl::SessionType::HFP_HARDWARE_OFFLOAD_DATAPATH); in GetOffload()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarOpenSessionParams.java56 @SessionType private final int mSessionType;
74 @SessionType int sessionType, in RadarOpenSessionParams()
173 @SessionType
251 @SessionType private int mSessionType = RadarParams.SESSION_TYPE_RADAR;
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccOpenRangingParams.java81 @SessionType private final int mSessionType;
112 @SessionType int sessionType, in CccOpenRangingParams()
265 @SessionType
359 @SessionType private int mSessionType = CccParams.SESSION_TYPE_CCC;
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/
DAliroOpenRangingParams.java81 @SessionType private final int mSessionType;
112 @SessionType int sessionType, in AliroOpenRangingParams()
265 @SessionType
359 @SessionType private int mSessionType = AliroParams.SESSION_TYPE_ALIRO;

12