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