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()
34 EXPECT_FLOAT_EQ(1.0, action.target); in TEST()
45 cras_ramp_action action; in TEST() local
52 action = cras_ramp_get_current_action(ramp); in TEST()
54 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
55 EXPECT_FLOAT_EQ(0.0, action.scaler); in TEST()
56 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
57 EXPECT_FLOAT_EQ(to, action.target); in TEST()
70 struct cras_ramp_action action; in TEST() local
80 action = cras_ramp_get_current_action(ramp); in TEST()
83 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
84 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
85 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
86 EXPECT_FLOAT_EQ(to, action.target); in TEST()
98 struct cras_ramp_action action; in TEST() local
107 action = cras_ramp_get_current_action(ramp); in TEST()
110 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
111 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
112 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
113 EXPECT_FLOAT_EQ(1.0, action.target); in TEST()
125 struct cras_ramp_action action; in TEST() local
148 action = cras_ramp_get_current_action(ramp); in TEST()
151 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
152 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
153 EXPECT_FLOAT_EQ(up_increment, action.increment); in TEST()
154 EXPECT_FLOAT_EQ(to, action.target); in TEST()
166 struct cras_ramp_action action; in TEST() local
185 action = cras_ramp_get_current_action(ramp); in TEST()
188 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
189 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
190 EXPECT_FLOAT_EQ(second_increment, action.increment); in TEST()
191 EXPECT_FLOAT_EQ(to, action.target); in TEST()
202 cras_ramp_action action; in TEST() local
209 action = cras_ramp_get_current_action(ramp); in TEST()
211 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
212 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
213 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
214 EXPECT_FLOAT_EQ(to, action.target); in TEST()
227 struct cras_ramp_action action; in TEST() local
237 action = cras_ramp_get_current_action(ramp); in TEST()
240 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
241 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
242 EXPECT_FLOAT_EQ(increment, action.increment); in TEST()
243 EXPECT_FLOAT_EQ(to, action.target); in TEST()
255 struct cras_ramp_action action; in TEST() local
264 action = cras_ramp_get_current_action(ramp); in TEST()
267 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
268 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
269 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
270 EXPECT_FLOAT_EQ(1.0, action.target); in TEST()
282 struct cras_ramp_action action; in TEST() local
307 action = cras_ramp_get_current_action(ramp); in TEST()
310 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
311 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
312 EXPECT_FLOAT_EQ(down_increment, action.increment); in TEST()
313 EXPECT_FLOAT_EQ(to, action.target); in TEST()
341 struct cras_ramp_action action; in TEST() local
362 action = cras_ramp_get_current_action(ramp); in TEST()
365 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
366 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
367 EXPECT_FLOAT_EQ(second_down_increment, action.increment); in TEST()
368 EXPECT_FLOAT_EQ(to, action.target); in TEST()
378 struct cras_ramp_action action; in TEST() local
385 action = cras_ramp_get_current_action(ramp); in TEST()
387 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
388 EXPECT_FLOAT_EQ(0.0, action.scaler); in TEST()
389 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
390 EXPECT_FLOAT_EQ(0.0, action.target); in TEST()
404 struct cras_ramp_action action; in TEST() local
418 action = cras_ramp_get_current_action(ramp); in TEST()
420 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
421 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
422 EXPECT_FLOAT_EQ(down_increment, action.increment); in TEST()
423 EXPECT_FLOAT_EQ(to_one, action.target); in TEST()
430 action = cras_ramp_get_current_action(ramp); in TEST()
433 EXPECT_EQ(CRAS_RAMP_ACTION_PARTIAL, action.type); in TEST()
434 EXPECT_FLOAT_EQ(scaler, action.scaler); in TEST()
435 EXPECT_FLOAT_EQ(up_increment, action.increment); in TEST()
436 EXPECT_FLOAT_EQ(to_two, action.target); in TEST()
453 struct cras_ramp_action action; in TEST() local
463 action = cras_ramp_get_current_action(ramp); in TEST()
466 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
467 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
468 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
469 EXPECT_FLOAT_EQ(1.0, action.target); in TEST()
483 struct cras_ramp_action action; in TEST() local
493 action = cras_ramp_get_current_action(ramp); in TEST()
496 EXPECT_EQ(CRAS_RAMP_ACTION_NONE, action.type); in TEST()
497 EXPECT_FLOAT_EQ(1.0, action.scaler); in TEST()
498 EXPECT_FLOAT_EQ(0.0, action.increment); in TEST()
499 EXPECT_FLOAT_EQ(1.0, action.target); in TEST()