Home
last modified time | relevance | path

Searched refs:audio_usecase_t (Results 1 – 25 of 26) sorted by relevance

12

/hardware/qcom/audio/msm8909/hal/
Dplatform_api.h35 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type);
77 int64_t platform_render_latency(audio_usecase_t usecase);
78 int platform_update_usecase_from_source(int source, audio_usecase_t usecase);
81 bool platform_listen_usecase_needs_event(audio_usecase_t uc_id);
84 bool platform_sound_trigger_usecase_needs_event(audio_usecase_t uc_id);
97 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id);
Daudio_hw.h174 audio_usecase_t usecase;
209 audio_usecase_t usecase;
234 audio_usecase_t id;
304 audio_usecase_t uc_id);
316 audio_usecase_t uc_id);
318 bool is_offload_usecase(audio_usecase_t uc_id);
323 audio_usecase_t get_usecase_id_from_usecase_type(struct audio_device *adev,
Dvoice.h45 typedef int audio_usecase_t; typedef
75 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id);
76 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id);
Dvoice.c46 audio_usecase_t usecase_id) in voice_get_session_from_use_case()
59 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_stop_usecase()
110 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_start_usecase()
Daudio_hw.c186 static const audio_usecase_t offload_usecases[] = {
730 audio_usecase_t get_usecase_id_from_usecase_type(struct audio_device *adev, in get_usecase_id_from_usecase_type()
747 audio_usecase_t uc_id) in get_usecase_from_list()
760 int select_devices(struct audio_device *adev, audio_usecase_t uc_id) in select_devices()
768 audio_usecase_t hfp_ucid; in select_devices()
1123 bool is_offload_usecase(audio_usecase_t uc_id) in is_offload_usecase()
1133 static audio_usecase_t get_offload_usecase(struct audio_device *adev) in get_offload_usecase()
1135 audio_usecase_t ret = USECASE_AUDIO_PLAYBACK_OFFLOAD; in get_offload_usecase()
1156 audio_usecase_t uc_id) in free_offload_usecase()
/hardware/qcom/audio/hal/
Daudio_hw.h161 audio_usecase_t usecase;
195 audio_usecase_t usecase;
223 audio_usecase_t id;
296 audio_usecase_t uc_id);
311 audio_usecase_t uc_id);
Dvoice.h42 typedef int audio_usecase_t; typedef
73 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id);
74 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id);
Dplatform_api.h28 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type);
62 int64_t platform_render_latency(audio_usecase_t usecase);
77 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id);
Dvoice.c42 audio_usecase_t usecase_id) in voice_get_session_from_use_case()
107 int voice_stop_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_stop_usecase()
156 int voice_start_usecase(struct audio_device *adev, audio_usecase_t usecase_id) in voice_start_usecase()
Daudio_hw.c576 static audio_usecase_t get_voice_usecase_id_from_list(struct audio_device *adev) in get_voice_usecase_id_from_list()
592 audio_usecase_t uc_id) in get_usecase_from_list()
606 audio_usecase_t uc_id) in select_devices()
613 audio_usecase_t hfp_ucid; in select_devices()
2884 const audio_usecase_t audio_usecase = testcases[i]; in adev_verify_devices()
/hardware/qcom/audio/hal/voice_extn/
Dvoice_extn.h24 const audio_usecase_t usecase_id,
49 const audio_usecase_t usecase_id __unused, in voice_extn_get_session_from_use_case()
Dvoice_extn.c99 static audio_usecase_t voice_extn_get_usecase_for_session_idx(const int index) in voice_extn_get_usecase_for_session_idx()
101 audio_usecase_t usecase_id = -1; in voice_extn_get_usecase_for_session_idx()
160 audio_usecase_t usecase_id = 0; in update_calls()
378 const audio_usecase_t usecase_id, in voice_extn_get_session_from_use_case()
/hardware/qcom/audio/msm8909/hal/voice_extn/
Dvoice_extn.c97 static audio_usecase_t voice_extn_get_usecase_for_session_idx(const int index) in voice_extn_get_usecase_for_session_idx()
99 audio_usecase_t usecase_id = -1; in voice_extn_get_usecase_for_session_idx()
150 audio_usecase_t usecase_id = 0; in update_calls()
366 const audio_usecase_t usecase_id, in voice_extn_get_session_from_use_case()
Dvoice_extn.h27 const audio_usecase_t usecase_id,
58 const audio_usecase_t usecase_id __unused, in voice_extn_get_session_from_use_case()
/hardware/qcom/audio/msm8909/hal/audio_extn/
Dcompress_capture.c93 bool audio_extn_compr_cap_usecase_supported(audio_usecase_t usecase) in audio_extn_compr_cap_usecase_supported()
Daudio_extn.h273 bool audio_extn_compr_cap_usecase_supported(audio_usecase_t usecase);
324 audio_usecase_t audio_extn_hfp_get_usecase();
Dhfp.c66 audio_usecase_t ucid;
301 audio_usecase_t audio_extn_hfp_get_usecase() in audio_extn_hfp_get_usecase()
Dlisten.c140 audio_usecase_t uc_id; in audio_extn_listen_update_stream_status()
Dsoundtrigger.c218 audio_usecase_t uc_id; in audio_extn_sound_trigger_update_stream_status()
/hardware/qcom/audio/hal/audio_extn/
Daudio_extn.h63 audio_usecase_t audio_extn_hfp_get_usecase();
Dhfp.c47 audio_usecase_t ucid;
275 audio_usecase_t audio_extn_hfp_get_usecase() in audio_extn_hfp_get_usecase()
/hardware/qcom/audio/msm8909/hal/msm8960/
Dplatform.c392 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id()
1026 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency()
1049 bool platform_listen_usecase_needs_event(audio_usecase_t uc_id __unused) in platform_listen_usecase_needs_event()
1065 int platform_set_usecase_pcm_id(audio_usecase_t usecase __unused, int32_t type __unused, in platform_set_usecase_pcm_id()
1082 bool platform_sound_trigger_usecase_needs_event(audio_usecase_t uc_id __unused) in platform_sound_trigger_usecase_needs_event()
/hardware/qcom/audio/hal/msm8960/
Dplatform.c403 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id()
986 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency()
1022 int platform_set_usecase_pcm_id(audio_usecase_t usecase __unused, int32_t type __unused, in platform_set_usecase_pcm_id()
/hardware/qcom/audio/msm8909/hal/msm8916/
Dplatform.c584 static bool is_misc_usecase(audio_usecase_t usecase) { in is_misc_usecase()
1431 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id()
2740 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency()
2773 bool platform_listen_usecase_needs_event(audio_usecase_t uc_id) in platform_listen_usecase_needs_event()
2834 bool platform_sound_trigger_usecase_needs_event(audio_usecase_t uc_id) in platform_sound_trigger_usecase_needs_event()
2968 int platform_set_usecase_pcm_id(audio_usecase_t usecase __unused, int32_t type __unused, in platform_set_usecase_pcm_id()
/hardware/qcom/audio/msm8909/hal/msm8974/
Dplatform.c1270 int platform_get_pcm_device_id(audio_usecase_t usecase, int device_type) in platform_get_pcm_device_id()
2615 int64_t platform_render_latency(audio_usecase_t usecase) in platform_render_latency()
2648 bool platform_listen_usecase_needs_event(audio_usecase_t uc_id __unused) in platform_listen_usecase_needs_event()
2666 bool platform_sound_trigger_usecase_needs_event(audio_usecase_t uc_id __unused) in platform_sound_trigger_usecase_needs_event()
2943 int platform_set_usecase_pcm_id(audio_usecase_t usecase, int32_t type, int32_t pcm_id) in platform_set_usecase_pcm_id()

12