Lines Matching refs:policy
39 struct audio_policy policy; member
255 dap->policy.set_device_connection_state = ap_set_device_connection_state; in create_default_ap()
256 dap->policy.get_device_connection_state = ap_get_device_connection_state; in create_default_ap()
257 dap->policy.set_phone_state = ap_set_phone_state; in create_default_ap()
258 dap->policy.set_ringer_mode = ap_set_ringer_mode; in create_default_ap()
259 dap->policy.set_force_use = ap_set_force_use; in create_default_ap()
260 dap->policy.get_force_use = ap_get_force_use; in create_default_ap()
261 dap->policy.set_can_mute_enforced_audible = in create_default_ap()
263 dap->policy.init_check = ap_init_check; in create_default_ap()
264 dap->policy.get_output = ap_get_output; in create_default_ap()
265 dap->policy.start_output = ap_start_output; in create_default_ap()
266 dap->policy.stop_output = ap_stop_output; in create_default_ap()
267 dap->policy.release_output = ap_release_output; in create_default_ap()
268 dap->policy.get_input = ap_get_input; in create_default_ap()
269 dap->policy.start_input = ap_start_input; in create_default_ap()
270 dap->policy.stop_input = ap_stop_input; in create_default_ap()
271 dap->policy.release_input = ap_release_input; in create_default_ap()
272 dap->policy.init_stream_volume = ap_init_stream_volume; in create_default_ap()
273 dap->policy.set_stream_volume_index = ap_set_stream_volume_index; in create_default_ap()
274 dap->policy.get_stream_volume_index = ap_get_stream_volume_index; in create_default_ap()
275 dap->policy.set_stream_volume_index_for_device = ap_set_stream_volume_index_for_device; in create_default_ap()
276 dap->policy.get_stream_volume_index_for_device = ap_get_stream_volume_index_for_device; in create_default_ap()
277 dap->policy.get_strategy_for_stream = ap_get_strategy_for_stream; in create_default_ap()
278 dap->policy.get_devices_for_stream = ap_get_devices_for_stream; in create_default_ap()
279 dap->policy.get_output_for_effect = ap_get_output_for_effect; in create_default_ap()
280 dap->policy.register_effect = ap_register_effect; in create_default_ap()
281 dap->policy.unregister_effect = ap_unregister_effect; in create_default_ap()
282 dap->policy.set_effect_enabled = ap_set_effect_enabled; in create_default_ap()
283 dap->policy.is_stream_active = ap_is_stream_active; in create_default_ap()
284 dap->policy.dump = ap_dump; in create_default_ap()
286 dap->policy.is_offload_supported = ap_is_offload_supported; in create_default_ap()
291 *ap = &dap->policy; in create_default_ap()