Home
last modified time | relevance | path

Searched refs:eSetup (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-vibrator.cpp538 ExpectationSet eSetup; in TEST_P() local
541 eSetup += in TEST_P()
548 eSetup += EXPECT_CALL(*mMockApi, setFFGain(levelToScale(scale->second))) in TEST_P()
550 eSetup += EXPECT_CALL(*mMockStats, logLatencyEnd()).WillOnce(DoDefault()); in TEST_P()
552 EXPECT_CALL(*mMockApi, setFFPlay(index, true)).After(eSetup).WillOnce(DoDefault()); in TEST_P()
555 eSetup += EXPECT_CALL(*mMockApi, setFFGain(ON_GLOBAL_SCALE)) in TEST_P()
556 .After(eSetup) in TEST_P()
558 eSetup += EXPECT_CALL(*mMockApi, getOwtFreeSpace(_)).WillOnce(DoDefault()); in TEST_P()
559 eSetup += EXPECT_CALL(*mMockApi, uploadOwtEffect(_, _, _, _, _)) in TEST_P()
560 .After(eSetup) in TEST_P()
[all …]
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-vibrator.cpp498 ExpectationSet eSetup; in TEST_P() local
501 eSetup += in TEST_P()
508 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(index)).WillOnce(DoDefault()); in TEST_P()
509 eSetup += EXPECT_CALL(*mMockApi, setEffectScale(scale->second)).WillOnce(Return(true)); in TEST_P()
514 eSetup += EXPECT_CALL(*mMockApi, setEffectIndex(QUEUE_INDEX)).WillOnce(DoDefault()); in TEST_P()
515 eSetup += EXPECT_CALL(*mMockApi, setEffectQueue(std::get<0>(queue->second))) in TEST_P()
517 eSetup += EXPECT_CALL(*mMockApi, setEffectScale(0)).WillOnce(Return(true)); in TEST_P()
523 eSetup += EXPECT_CALL(*mMockApi, setDuration(Ge(duration))).WillOnce(Return(true)); in TEST_P()
524 eSetup += EXPECT_CALL(*mMockStats, logLatencyEnd()).WillOnce(DoDefault()); in TEST_P()
525 eActivate = EXPECT_CALL(*mMockApi, setActivate(true)).After(eSetup).WillOnce(Return(true)); in TEST_P()
[all …]