Lines Matching refs:policy
45 struct audio_policy policy; member
348 lap->policy.set_device_connection_state = ap_set_device_connection_state; in create_legacy_ap()
349 lap->policy.get_device_connection_state = ap_get_device_connection_state; in create_legacy_ap()
350 lap->policy.set_phone_state = ap_set_phone_state; in create_legacy_ap()
351 lap->policy.set_ringer_mode = ap_set_ringer_mode; in create_legacy_ap()
352 lap->policy.set_force_use = ap_set_force_use; in create_legacy_ap()
353 lap->policy.get_force_use = ap_get_force_use; in create_legacy_ap()
354 lap->policy.set_can_mute_enforced_audible = in create_legacy_ap()
356 lap->policy.init_check = ap_init_check; in create_legacy_ap()
357 lap->policy.get_output = ap_get_output; in create_legacy_ap()
358 lap->policy.start_output = ap_start_output; in create_legacy_ap()
359 lap->policy.stop_output = ap_stop_output; in create_legacy_ap()
360 lap->policy.release_output = ap_release_output; in create_legacy_ap()
361 lap->policy.get_input = ap_get_input; in create_legacy_ap()
362 lap->policy.start_input = ap_start_input; in create_legacy_ap()
363 lap->policy.stop_input = ap_stop_input; in create_legacy_ap()
364 lap->policy.release_input = ap_release_input; in create_legacy_ap()
365 lap->policy.init_stream_volume = ap_init_stream_volume; in create_legacy_ap()
366 lap->policy.set_stream_volume_index = ap_set_stream_volume_index; in create_legacy_ap()
367 lap->policy.get_stream_volume_index = ap_get_stream_volume_index; in create_legacy_ap()
368 lap->policy.set_stream_volume_index_for_device = ap_set_stream_volume_index_for_device; in create_legacy_ap()
369 lap->policy.get_stream_volume_index_for_device = ap_get_stream_volume_index_for_device; in create_legacy_ap()
370 lap->policy.get_strategy_for_stream = ap_get_strategy_for_stream; in create_legacy_ap()
371 lap->policy.get_devices_for_stream = ap_get_devices_for_stream; in create_legacy_ap()
372 lap->policy.get_output_for_effect = ap_get_output_for_effect; in create_legacy_ap()
373 lap->policy.register_effect = ap_register_effect; in create_legacy_ap()
374 lap->policy.unregister_effect = ap_unregister_effect; in create_legacy_ap()
375 lap->policy.set_effect_enabled = ap_set_effect_enabled; in create_legacy_ap()
376 lap->policy.is_stream_active = ap_is_stream_active; in create_legacy_ap()
377 lap->policy.is_stream_active_remotely = ap_is_stream_active_remotely; in create_legacy_ap()
378 lap->policy.is_source_active = ap_is_source_active; in create_legacy_ap()
379 lap->policy.dump = ap_dump; in create_legacy_ap()
380 lap->policy.is_offload_supported = ap_is_offload_supported; in create_legacy_ap()
397 *ap = &lap->policy; in create_legacy_ap()