/packages/modules/Bluetooth/system/audio_bluetooth_hw/ |
D | device_port_proxy.h | 127 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_;
|
D | device_port_proxy.cc | 78 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/ |
D | client_interface_aidl.cc | 80 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 …]
|
D | provider_info.cc | 31 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()
|
D | transport_instance.h | 30 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()
|
D | provider_info.h | 29 using ::aidl::android::hardware::bluetooth::audio::SessionType; 33 static std::unique_ptr<ProviderInfo> GetProviderInfo(SessionType sessionType); 35 ProviderInfo(SessionType sessionType, std::vector<CodecInfo> codecs);
|
D | hfp_client_interface_aidl.h | 76 SessionType sessionType); 86 HfpDecodingTransport(SessionType sessionType); 129 HfpEncodingTransport(SessionType sessionType);
|
D | a2dp_provider_info_unittest.cc | 40 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()
|
D | a2dp_encoding_aidl.cc | 54 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()
|
D | hfp_client_interface_aidl.cc | 68 SessionType sessionType) { in GetHfpScoConfig() 152 HfpDecodingTransport::HfpDecodingTransport(SessionType session_type) in HfpDecodingTransport() 204 HfpEncodingTransport::HfpEncodingTransport(SessionType session_type) in HfpEncodingTransport()
|
D | le_audio_software_aidl.h | 34 using ::aidl::android::hardware::bluetooth::audio::SessionType; 133 LeAudioSinkTransport(SessionType session_type, StreamCallbacks stream_cb); 193 LeAudioSourceTransport(SessionType session_type, StreamCallbacks stream_cb);
|
D | le_audio_software_aidl.cc | 371 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()
|
D | hearing_aid_software_encoding_aidl.cc | 44 using ::bluetooth::audio::aidl::SessionType; 54 SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH, in HearingAidTransport()
|
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/ |
D | client_interface_hidl.h | 58 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);
|
D | client_interface_hidl_unittest.cc | 56 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 …]
|
D | a2dp_encoding_hidl.cc | 53 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()
|
D | client_interface_hidl.cc | 221 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()
|
D | hearing_aid_software_encoding_hidl.cc | 45 using ::bluetooth::audio::hidl::SessionType; 57 SessionType::HEARING_AID_SOFTWARE_ENCODING_DATAPATH, in HearingAidTransport()
|
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/ |
D | libbt_audio_hal_client_interface_fuzzer.cpp | 52 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 …]
|
D | README.md | 37 …ype` | 0.`SessionType::UNKNOWN` 1.`SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH` 2.`SessionType::A…
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | le_audio_software.cc | 94 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 …]
|
D | hfp_client_interface.cc | 240 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/ |
D | RadarOpenSessionParams.java | 56 @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/ |
D | CccOpenRangingParams.java | 81 @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/ |
D | AliroOpenRangingParams.java | 81 @SessionType private final int mSessionType; 112 @SessionType int sessionType, in AliroOpenRangingParams() 265 @SessionType 359 @SessionType private int mSessionType = AliroParams.SESSION_TYPE_ALIRO;
|