Searched refs:mHwCal (Results 1 – 8 of 8) sorted by relevance
54 void createHwCal() { mHwCal = std::make_unique<HwCal>(); } in createHwCal()68 std::unique_ptr<Vibrator::HwCal> mHwCal; member in aidl::android::hardware::vibrator::HwCalTest80 EXPECT_TRUE(mHwCal->getF0(&actual)); in TEST_F()89 EXPECT_FALSE(mHwCal->getF0(&actual)); in TEST_F()100 EXPECT_TRUE(mHwCal->getRedc(&actual)); in TEST_F()109 EXPECT_FALSE(mHwCal->getRedc(&actual)); in TEST_F()120 EXPECT_TRUE(mHwCal->getQ(&actual)); in TEST_F()133 EXPECT_TRUE(mHwCal->getQ(&actual)); in TEST_F()143 EXPECT_TRUE(mHwCal->getQ(&actual)); in TEST_F()156 EXPECT_TRUE(mHwCal->getQ(&actual)); in TEST_F()[all …]
62 void createHwCal() { mHwCal = std::make_unique<HwCal>(); } in createHwCal()76 std::unique_ptr<Vibrator::HwCal> mHwCal; member in aidl::android::hardware::vibrator::HwCalTest89 EXPECT_TRUE(mHwCal->getCloseLoopThreshold(&actual)); in TEST_F()102 EXPECT_TRUE(mHwCal->getCloseLoopThreshold(&actual)); in TEST_F()115 EXPECT_TRUE(mHwCal->getDynamicConfig(&actual)); in TEST_F()128 EXPECT_TRUE(mHwCal->getDynamicConfig(&actual)); in TEST_F()141 EXPECT_TRUE(mHwCal->getDynamicConfig(&actual)); in TEST_F()154 EXPECT_TRUE(mHwCal->getLongFrequencyShift(&actual)); in TEST_F()167 EXPECT_TRUE(mHwCal->getLongFrequencyShift(&actual)); in TEST_F()180 EXPECT_TRUE(mHwCal->getShortVoltageMax(&actual)); in TEST_F()[all …]
66 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()75 if (mHwCal->getAutocal(&autocal)) { in Vibrator()78 mHwCal->getLraPeriod(&lraPeriod); in Vibrator()80 mHwCal->getCloseLoopThreshold(&mCloseLoopThreshold); in Vibrator()81 mHwCal->getDynamicConfig(&dynamicConfig); in Vibrator()87 mHwCal->getLongFrequencyShift(&longFreqencyShift); in Vibrator()88 mHwCal->getShortVoltageMax(&shortVoltageMax); in Vibrator()89 mHwCal->getLongVoltageMax(&longVoltageMax); in Vibrator()108 mHwCal->getClickDuration(&mClickDuration); in Vibrator()109 mHwCal->getTickDuration(&mTickDuration); in Vibrator()[all …]
178 std::unique_ptr<HwCal> mHwCal; variable
193 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)), mAsyncHandle(std::async([] {})) { in Vibrator()203 if (mHwCal->getF0(&caldata)) {206 if (mHwCal->getRedc(&caldata)) {209 if (mHwCal->getQ(&caldata)) {213 mHwCal->getLongFrequencyShift(&longFreqencyShift);222 mHwCal->getVersion(&calVer);225 mHwCal->getVolLevels(&volLevels);240 mHwCal->getTickVolLevels(&mTickEffectVol);241 mHwCal->getClickVolLevels(&mClickEffectVol);242 mHwCal->getLongVolLevels(&mLongEffectVol);[all …]
205 std::unique_ptr<HwCal> mHwCal; variable
217 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)), mAsyncHandle(std::async([] {})) { in Vibrator()320 if (mHwCal->getF0(&caldata)) {323 if (mHwCal->getRedc(&caldata)) {326 if (mHwCal->getQ(&caldata)) {330 mHwCal->getLongFrequencyShift(&longFrequencyShift);339 mHwCal->getVersion(&calVer);341 mHwCal->getTickVolLevels(&mTickEffectVol);342 mHwCal->getClickVolLevels(&mClickEffectVol);343 mHwCal->getLongVolLevels(&mLongEffectVol);350 mIsChirpEnabled = mHwCal->isChirpEnabled();[all …]
166 std::unique_ptr<HwCal> mHwCal; variable