Home
last modified time | relevance | path

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

/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dapi.rs174 session_type: jbyte, in Java_com_android_server_uwb_indev_UwbServiceCore_nativeInitSession()
179 init_session(JniContext::new(env, obj), session_id, session_type, app_config_params), in Java_com_android_server_uwb_indev_UwbServiceCore_nativeInitSession()
317 session_type: jbyte, in init_session()
323 let session_type = session_type as u8; in init_session() localVariable
324 let session_type = SessionType::try_from(session_type) in init_session() localVariable
325 .map_err(|_| Error::Parse(format!("Invalid session type. Received {}", session_type)))?; in init_session()
326 let params = match session_type { in init_session()
333 Ok(uwb_service.init_session(session_id, session_type, params)?) in init_session()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dhfp_client_interface_aidl.cc152 HfpDecodingTransport::HfpDecodingTransport(SessionType session_type) in HfpDecodingTransport() argument
153 : IBluetoothSinkTransportInstance(session_type, (AudioConfiguration){}) { in HfpDecodingTransport()
204 HfpEncodingTransport::HfpEncodingTransport(SessionType session_type) in HfpEncodingTransport() argument
205 : IBluetoothSourceTransportInstance(session_type, (AudioConfiguration){}) { in HfpEncodingTransport()
Dle_audio_software_aidl.cc371 inline bool is_broadcaster_session(SessionType session_type) { in is_broadcaster_session() argument
372 if (session_type == in is_broadcaster_session()
374 session_type == in is_broadcaster_session()
382 LeAudioSinkTransport::LeAudioSinkTransport(SessionType session_type, in LeAudioSinkTransport() argument
384 : IBluetoothSinkTransportInstance(session_type, (AudioConfiguration){}) { in LeAudioSinkTransport()
386 is_broadcaster_session(session_type) ? flush_broadcast_sink
482 LeAudioSourceTransport::LeAudioSourceTransport(SessionType session_type, in LeAudioSourceTransport() argument
484 : IBluetoothSourceTransportInstance(session_type, (AudioConfiguration){}) { in LeAudioSourceTransport()
Dle_audio_software_aidl.h133 LeAudioSinkTransport(SessionType session_type, StreamCallbacks stream_cb);
193 LeAudioSourceTransport(SessionType session_type, StreamCallbacks stream_cb);
Dclient_interface_aidl.h85 SessionType session_type);
87 GetProviderInfo(SessionType session_type,
Dclient_interface_aidl.cc80 BluetoothAudioClientInterface::GetAudioCapabilities(SessionType session_type) { in GetAudioCapabilities() argument
95 provider_factory->getProviderCapabilities(session_type, &capabilities); in GetAudioCapabilities()
105 SessionType session_type, in GetProviderInfo() argument
126 provider_factory->getProviderInfo(session_type, &provider_info); in GetProviderInfo()
Da2dp_provider_info_unittest.cc75 (SessionType session_type,
87 SessionType session_type, in GetProviderInfo() argument
89 return mock_bt_audio_client_itf->GetProviderInfo(session_type, in GetProviderInfo()
Da2dp_encoding_aidl.cc421 SessionType session_type) { in new_hal_interface() argument
422 auto a2dp_transport = new A2dpTransport(session_type); in new_hal_interface()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dle_audio_software.cc890 hidl::SessionType_2_1 session_type = in GetSink() local
894 new hidl::le_audio::LeAudioSinkTransport(session_type, in GetSink()
911 aidl::SessionType session_type = in GetSink() local
917 session_type = in GetSink()
924 if (session_type == in GetSink()
926 session_type == in GetSink()
929 new aidl::le_audio::LeAudioSinkTransport(session_type, in GetSink()
948 new aidl::le_audio::LeAudioSinkTransport(session_type, in GetSink()
1017 hidl::SessionType_2_1 session_type = in GetSource() local
1021 session_type = in GetSource()
[all …]
Dle_audio_software_unittest.cc459 BluetoothAudioClientInterface::GetAudioCapabilities(SessionType session_type) { in GetAudioCapabilities() argument
462 return instance->GetAudioCapabilities(session_type); in GetAudioCapabilities()
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dle_audio_software_hidl.cc289 LeAudioSinkTransport::LeAudioSinkTransport(SessionType_2_1 session_type, in LeAudioSinkTransport() argument
291 : IBluetoothSinkTransportInstance(session_type, {}) { in LeAudioSinkTransport()
370 LeAudioSourceTransport::LeAudioSourceTransport(SessionType_2_1 session_type, in LeAudioSourceTransport() argument
372 : IBluetoothSourceTransportInstance(session_type, {}) { in LeAudioSourceTransport()
Dle_audio_software_hidl.h110 LeAudioSinkTransport(SessionType_2_1 session_type, StreamCallbacks stream_cb);
157 LeAudioSourceTransport(SessionType_2_1 session_type,
Dclient_interface_hidl_unittest.cc140 TestSinkTransport(SessionType session_type) in TestSinkTransport() argument
141 : bluetooth::audio::hidl::IBluetoothSinkTransportInstance(session_type, in TestSinkTransport()
179 TestSourceTransport(SessionType session_type) in TestSourceTransport() argument
180 : bluetooth::audio::hidl::IBluetoothSourceTransportInstance(session_type, in TestSourceTransport()
Dclient_interface_hidl.h200 SessionType session_type);
Dclient_interface_hidl.cc221 BluetoothAudioClientInterface::GetAudioCapabilities(SessionType session_type) { in GetAudioCapabilities() argument
242 session_type, getProviderCapabilities_cb); in GetAudioCapabilities()
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/
Dlibbt_audio_hal_client_interface_fuzzer.cpp145 TestSinkTransport(SessionType session_type) in TestSinkTransport() argument
146 : bluetooth::audio::hidl::IBluetoothSinkTransportInstance(session_type, in TestSinkTransport()
178 TestSourceTransport(SessionType session_type) in TestSourceTransport() argument
179 : bluetooth::audio::hidl::IBluetoothSourceTransportInstance(session_type, in TestSourceTransport()
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy.cc78 const SessionType& session_type) { in BitsPerSampleToAudioFormat() argument
87 if (session_type == in BitsPerSampleToAudioFormat()
89 session_type == SessionType::A2DP_SOFTWARE_ENCODING_DATAPATH) { in BitsPerSampleToAudioFormat()
/packages/modules/Uwb/service/uci/jni/src/
Duci_jni_android_new.rs199 session_type: jbyte, in Java_com_android_server_uwb_jni_NativeUwbManager_nativeSessionInit()
204 native_session_init(env, obj, session_id, session_type, chip_id), in Java_com_android_server_uwb_jni_NativeUwbManager_nativeSessionInit()
213 session_type: jbyte, in native_session_init()
216 let session_type = in native_session_init() localVariable
217 SessionType::try_from(session_type as u8).map_err(|_| Error::BadParameters)?; in native_session_init()
219 uci_manager.session_init(session_id as u32, session_type) in native_session_init()