Home
last modified time | relevance | path

Searched refs:pol (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/audio/legacy/alsa_sound/
Daudio_policy_hal.cpp53 static inline struct qcom_audio_policy * to_qap(struct audio_policy *pol) in to_qap() argument
55 return reinterpret_cast<struct qcom_audio_policy *>(pol); in to_qap()
58 static inline const struct qcom_audio_policy * to_cqap(const struct audio_policy *pol) in to_cqap() argument
60 return reinterpret_cast<const struct qcom_audio_policy *>(pol); in to_cqap()
64 static int ap_set_device_connection_state(struct audio_policy *pol, in ap_set_device_connection_state() argument
69 struct qcom_audio_policy *qap = to_qap(pol); in ap_set_device_connection_state()
77 const struct audio_policy *pol, in ap_get_device_connection_state() argument
81 const struct qcom_audio_policy *qap = to_cqap(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() argument
89 struct qcom_audio_policy *qap = to_qap(pol); in ap_set_phone_state()
[all …]
/hardware/libhardware/include/hardware/
Daudio_policy.h89 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,
[all …]
/hardware/libhardware/modules/audio/
Daudio_policy.c45 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
[all …]