Lines Matching refs:mixer_ctl
92 EXPECT_EQ(mixer_ctl_get_array(reinterpret_cast<mixer_ctl *>(1), nullptr, 1), -EINVAL); in TEST()
95 reinterpret_cast<mixer_ctl *>(1), reinterpret_cast<void *>(1), 0), -EINVAL); in TEST()
98 EXPECT_EQ(mixer_ctl_set_array(reinterpret_cast<mixer_ctl *>(1), nullptr, 1), -EINVAL); in TEST()
101 reinterpret_cast<mixer_ctl *>(1), reinterpret_cast<const void *>(1), 0), -EINVAL); in TEST()
103 EXPECT_EQ(mixer_ctl_set_enum_by_string(reinterpret_cast<mixer_ctl *>(1), nullptr), -EINVAL); in TEST()
156 controls = std::make_unique<const mixer_ctl *[]>(number_of_controls); in SetUp()
173 std::unique_ptr<const mixer_ctl *[]> controls;
242 const mixer_ctl *control = controls[i]; in TEST_P()
248 const_cast<mixer_ctl *>(control), in TEST_P()
258 mixer_ctl_update(const_cast<mixer_ctl *>(controls[i])); in TEST_P()
264 const mixer_ctl *control = controls[i]; in TEST_P()
286 const mixer_ctl *control = controls[i]; in TEST_P()
297 const_cast<mixer_ctl *>(control), value_id, k100Percent) == 0) { in TEST_P()
305 const_cast<mixer_ctl *>(control), value_id, k0Percent) == 0) { in TEST_P()
310 mixer_ctl_set_percent(const_cast<mixer_ctl *>(control), value_id, percent); in TEST_P()
320 const mixer_ctl *control = nullptr; in TEST_P()
338 const_cast<mixer_ctl *>(control), 0, in TEST_P()
349 mixer_ctl_set_percent(const_cast<mixer_ctl *>(control), 0, percent); in TEST_P()