Home
last modified time | relevance | path

Searched refs:audio_policy (Results 1 – 6 of 6) sorted by relevance

/hardware/libhardware/include/hardware/
Daudio_policy.h83 struct audio_policy { struct
89 int (*set_device_connection_state)(struct audio_policy *pol, argument
96 const struct audio_policy *pol,
102 void (*set_phone_state)(struct audio_policy *pol, audio_mode_t state); argument
105 void (*set_ringer_mode)(struct audio_policy *pol, uint32_t mode, argument
109 void (*set_force_use)(struct audio_policy *pol, argument
114 audio_policy_forced_cfg_t (*get_force_use)(const struct audio_policy *pol, argument
119 void (*set_can_mute_enforced_audible)(struct audio_policy *pol, argument
123 int (*init_check)(const struct audio_policy *pol); argument
131 audio_io_handle_t (*get_output)(struct audio_policy *pol, argument
[all …]
/hardware/libhardware/modules/audio/
Daudio_policy.c39 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()
[all …]
DAndroid.bp52 name: "audio_policy.stub",
55 srcs: ["audio_policy.c"],
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_policy_hal.cpp45 struct audio_policy policy;
53 static inline struct qcom_audio_policy * to_qap(struct audio_policy *pol) in to_qap()
58 static inline const struct qcom_audio_policy * to_cqap(const struct audio_policy *pol) in to_cqap()
64 static int ap_set_device_connection_state(struct audio_policy *pol, in ap_set_device_connection_state()
77 const struct audio_policy *pol, in ap_get_device_connection_state()
87 static void ap_set_phone_state(struct audio_policy *pol, audio_mode_t state) in ap_set_phone_state()
95 static void ap_set_ringer_mode(struct audio_policy *pol, uint32_t mode, in ap_set_ringer_mode()
102 static void ap_set_force_use(struct audio_policy *pol, in ap_set_force_use()
113 const struct audio_policy *pol, in ap_get_force_use()
123 static void ap_set_can_mute_enforced_audible(struct audio_policy *pol, in ap_set_can_mute_enforced_audible()
[all …]
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/audio_policy.conf)
DAndroid.mk76 LOCAL_MODULE := audio_policy.msm8960