Lines Matching refs:audio_policy

39     struct audio_policy policy;
45 static int ap_set_device_connection_state(struct audio_policy *pol, in ap_set_device_connection_state()
54 const struct audio_policy *pol, in ap_get_device_connection_state()
61 static void ap_set_phone_state(struct audio_policy *pol, audio_mode_t state) in ap_set_phone_state()
66 static void ap_set_ringer_mode(struct audio_policy *pol, uint32_t mode, in ap_set_ringer_mode()
71 static void ap_set_force_use(struct audio_policy *pol, in ap_set_force_use()
79 const struct audio_policy *pol, in ap_get_force_use()
87 static void ap_set_can_mute_enforced_audible(struct audio_policy *pol, in ap_set_can_mute_enforced_audible()
92 static int ap_init_check(const struct audio_policy *pol) in ap_init_check()
97 static audio_io_handle_t ap_get_output(struct audio_policy *pol, in ap_get_output()
108 static int ap_start_output(struct audio_policy *pol, audio_io_handle_t output, in ap_start_output()
114 static int ap_stop_output(struct audio_policy *pol, audio_io_handle_t output, in ap_stop_output()
120 static void ap_release_output(struct audio_policy *pol, in ap_release_output()
125 static audio_io_handle_t ap_get_input(struct audio_policy *pol, audio_source_t inputSource, in ap_get_input()
134 static int ap_start_input(struct audio_policy *pol, audio_io_handle_t input) in ap_start_input()
139 static int ap_stop_input(struct audio_policy *pol, audio_io_handle_t input) in ap_stop_input()
144 static void ap_release_input(struct audio_policy *pol, audio_io_handle_t input) in ap_release_input()
148 static void ap_init_stream_volume(struct audio_policy *pol, in ap_init_stream_volume()
154 static int ap_set_stream_volume_index(struct audio_policy *pol, in ap_set_stream_volume_index()
161 static int ap_get_stream_volume_index(const struct audio_policy *pol, in ap_get_stream_volume_index()
168 static int ap_set_stream_volume_index_for_device(struct audio_policy *pol, in ap_set_stream_volume_index_for_device()
176 static int ap_get_stream_volume_index_for_device(const struct audio_policy *pol, in ap_get_stream_volume_index_for_device()
184 static uint32_t ap_get_strategy_for_stream(const struct audio_policy *pol, in ap_get_strategy_for_stream()
190 static audio_devices_t ap_get_devices_for_stream(const struct audio_policy *pol, in ap_get_devices_for_stream()
196 static audio_io_handle_t ap_get_output_for_effect(struct audio_policy *pol, in ap_get_output_for_effect()
202 static int ap_register_effect(struct audio_policy *pol, in ap_register_effect()
212 static int ap_unregister_effect(struct audio_policy *pol, int id) in ap_unregister_effect()
217 static int ap_set_effect_enabled(struct audio_policy *pol, int id, bool enabled) in ap_set_effect_enabled()
222 static bool ap_is_stream_active(const struct audio_policy *pol, audio_stream_type_t stream, in ap_is_stream_active()
228 static int ap_dump(const struct audio_policy *pol, int fd) in ap_dump()
233 static bool ap_is_offload_supported(const struct audio_policy *pol, in ap_is_offload_supported()
242 struct audio_policy **ap) in create_default_ap()
296 struct audio_policy *ap) in destroy_default_ap()