Searched refs:mHwCal (Results 1 – 10 of 10) sorted by relevance
55 void createHwCal() { mHwCal = std::make_unique<HwCal>(); } in createHwCal()69 std::unique_ptr<Vibrator::HwCal> mHwCal; member in aidl::android::hardware::vibrator::HwCalTest82 EXPECT_TRUE(mHwCal->getF0(&actual)); in TEST_F()91 EXPECT_FALSE(mHwCal->getF0(&actual)); in TEST_F()103 EXPECT_TRUE(mHwCal->getRedc(&actual)); in TEST_F()112 EXPECT_FALSE(mHwCal->getRedc(&actual)); in TEST_F()124 EXPECT_TRUE(mHwCal->getQ(&actual)); in TEST_F()133 EXPECT_FALSE(mHwCal->getQ(&actual)); in TEST_F()150 EXPECT_TRUE(mHwCal->getTickVolLevels(&actual)); in TEST_F()163 EXPECT_TRUE(mHwCal->getClickVolLevels(&actual)); in TEST_F()[all …]
63 void createHwCal() { mHwCal = std::make_unique<HwCal>(); } in createHwCal()77 std::unique_ptr<Vibrator::HwCal> mHwCal; member in android::hardware::vibrator::V1_3::implementation::HwCalTest90 EXPECT_TRUE(mHwCal->getCloseLoopThreshold(&actual)); in TEST_F()103 EXPECT_TRUE(mHwCal->getCloseLoopThreshold(&actual)); in TEST_F()116 EXPECT_TRUE(mHwCal->getDynamicConfig(&actual)); in TEST_F()129 EXPECT_TRUE(mHwCal->getDynamicConfig(&actual)); in TEST_F()142 EXPECT_TRUE(mHwCal->getDynamicConfig(&actual)); in TEST_F()155 EXPECT_TRUE(mHwCal->getLongFrequencyShift(&actual)); in TEST_F()168 EXPECT_TRUE(mHwCal->getLongFrequencyShift(&actual)); in TEST_F()181 EXPECT_TRUE(mHwCal->getShortVoltageMax(&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 …]
288 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()298 if (mHwCal->getAutocal(&autocal)) { in Vibrator()301 mHwCal->getLraPeriod(&lraPeriod); in Vibrator()303 mHwCal->getCloseLoopThreshold(&mCloseLoopThreshold); in Vibrator()304 mHwCal->getDynamicConfig(&mDynamicConfig); in Vibrator()317 mHwCal->getLongFrequencyShift(&longFreqencyShift); in Vibrator()318 mHwCal->getShortVoltageMax(&shortVoltageMax); in Vibrator()319 mHwCal->getLongVoltageMax(&longVoltageMax); in Vibrator()322 mHwCal->getDevHwVer(&devHwVersion); in Vibrator()334 hasEffectCoeffs = mHwCal->getEffectCoeffs(&effectCoeffs); in Vibrator()[all …]
201 std::unique_ptr<HwCal> mHwCal; variable
182 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()192 if (mHwCal->getAutocal(&autocal)) { in Vibrator()195 mHwCal->getLraPeriod(&lraPeriod); in Vibrator()197 mHwCal->getCloseLoopThreshold(&mCloseLoopThreshold); in Vibrator()198 mHwCal->getDynamicConfig(&mDynamicConfig); in Vibrator()208 mHwCal->getLongFrequencyShift(&longFreqencyShift); in Vibrator()209 mHwCal->getShortVoltageMax(&shortVoltageMax); in Vibrator()210 mHwCal->getLongVoltageMax(&longVoltageMax); in Vibrator()212 hasEffectCoeffs = mHwCal->getEffectCoeffs(&effectCoeffs); in Vibrator()236 mHwCal->getEffectShape(&shape); in Vibrator()[all …]
187 std::unique_ptr<HwCal> mHwCal; variable
289 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()300 if (mHwCal->getAutocal(&autocal)) { in Vibrator()303 mHwCal->getLraPeriod(&lraPeriod); in Vibrator()305 mHwCal->getCloseLoopThreshold(&mCloseLoopThreshold); in Vibrator()306 mHwCal->getDynamicConfig(&mDynamicConfig); in Vibrator()316 mHwCal->getLongFrequencyShift(&longFreqencyShift); in Vibrator()317 mHwCal->getShortVoltageMax(&shortVoltageMax); in Vibrator()318 mHwCal->getLongVoltageMax(&longVoltageMax); in Vibrator()320 hasEffectCoeffs = mHwCal->getEffectCoeffs(&effectCoeffs); in Vibrator()344 mHwCal->getEffectShape(&shape); in Vibrator()[all …]
195 std::unique_ptr<HwCal> mHwCal; variable