Lines Matching refs:pol

89     int (*set_device_connection_state)(struct audio_policy *pol,
96 const struct audio_policy *pol,
102 void (*set_phone_state)(struct audio_policy *pol, audio_mode_t state);
105 void (*set_ringer_mode)(struct audio_policy *pol, uint32_t mode,
109 void (*set_force_use)(struct audio_policy *pol,
114 audio_policy_forced_cfg_t (*get_force_use)(const struct audio_policy *pol,
119 void (*set_can_mute_enforced_audible)(struct audio_policy *pol,
123 int (*init_check)(const struct audio_policy *pol);
131 audio_io_handle_t (*get_output)(struct audio_policy *pol,
141 int (*start_output)(struct audio_policy *pol,
148 int (*stop_output)(struct audio_policy *pol,
154 void (*release_output)(struct audio_policy *pol, audio_io_handle_t output);
158 audio_io_handle_t (*get_input)(struct audio_policy *pol, audio_source_t inputSource,
165 int (*start_input)(struct audio_policy *pol, audio_io_handle_t input);
168 int (*stop_input)(struct audio_policy *pol, audio_io_handle_t input);
171 void (*release_input)(struct audio_policy *pol, audio_io_handle_t input);
179 void (*init_stream_volume)(struct audio_policy *pol,
186 int (*set_stream_volume_index)(struct audio_policy *pol,
191 int (*get_stream_volume_index)(const struct audio_policy *pol,
198 int (*set_stream_volume_index_for_device)(struct audio_policy *pol,
204 int (*get_stream_volume_index_for_device)(const struct audio_policy *pol,
210 uint32_t (*get_strategy_for_stream)(const struct audio_policy *pol,
214 audio_devices_t (*get_devices_for_stream)(const struct audio_policy *pol,
218 audio_io_handle_t (*get_output_for_effect)(struct audio_policy *pol,
221 int (*register_effect)(struct audio_policy *pol,
228 int (*unregister_effect)(struct audio_policy *pol, int id);
230 int (*set_effect_enabled)(struct audio_policy *pol, int id, bool enabled);
232 bool (*is_stream_active)(const struct audio_policy *pol,
236 bool (*is_stream_active_remotely)(const struct audio_policy *pol,
240 bool (*is_source_active)(const struct audio_policy *pol,
244 int (*dump)(const struct audio_policy *pol, int fd);
247 bool (*is_offload_supported)(const struct audio_policy *pol,