Lines Matching full:action
24 struct cras_ramp_action action; in TEST() local
29 action = cras_ramp_get_current_action(ramp); in TEST()
31 EXPECT_EQ(action.type, CRAS_RAMP_ACTION_NONE); in TEST()
32 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
33 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
43 cras_ramp_action action; in TEST() local
50 action = cras_ramp_get_current_action(ramp); in TEST()
52 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
53 EXPECT_FLOAT_EQ(0.0, action.scaler); in TEST()
54 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
66 struct cras_ramp_action action; in TEST() local
76 action = cras_ramp_get_current_action(ramp); in TEST()
79 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
80 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
81 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
92 struct cras_ramp_action action; in TEST() local
101 action = cras_ramp_get_current_action(ramp); in TEST()
104 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
105 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
106 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
117 struct cras_ramp_action action; in TEST() local
138 action = cras_ramp_get_current_action(ramp); in TEST()
141 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
142 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
143 EXPECT_FLOAT_EQ(up_increment, action.increment); in TEST()
154 struct cras_ramp_action action; in TEST() local
175 action = cras_ramp_get_current_action(ramp); in TEST()
178 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
179 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
180 EXPECT_FLOAT_EQ(second_increment, action.increment); in TEST()
190 cras_ramp_action action; in TEST() local
197 action = cras_ramp_get_current_action(ramp); in TEST()
199 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
200 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
201 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
213 struct cras_ramp_action action; in TEST() local
223 action = cras_ramp_get_current_action(ramp); in TEST()
226 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
227 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
228 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
239 struct cras_ramp_action action; in TEST() local
248 action = cras_ramp_get_current_action(ramp); in TEST()
251 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
252 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
253 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
264 struct cras_ramp_action action; in TEST() local
288 action = cras_ramp_get_current_action(ramp); in TEST()
291 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
292 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
293 EXPECT_FLOAT_EQ(down_increment, action.increment); in TEST()
304 struct cras_ramp_action action; in TEST() local
328 action = cras_ramp_get_current_action(ramp); in TEST()
331 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
332 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
333 EXPECT_FLOAT_EQ(second_down_increment, action.increment); in TEST()
349 struct cras_ramp_action action; in TEST() local
359 action = cras_ramp_get_current_action(ramp); in TEST()
362 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
363 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
364 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
377 struct cras_ramp_action action; in TEST() local
387 action = cras_ramp_get_current_action(ramp); in TEST()
390 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
391 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
392 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()