Home
last modified time | relevance | path

Searched refs:mHwCal (Results 1 – 9 of 9) sorted by relevance

/hardware/google/pixel/vibrator/cs40l26/tests/
Dtest-hwcal.cpp55 void createHwCal() { mHwCal = std::make_unique<HwCal>(); } in createHwCal()
69 std::unique_ptr<Vibrator::HwCal> mHwCal; member in aidl::android::hardware::vibrator::HwCalTest
82 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 …]
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-hwcal.cpp54 void createHwCal() { mHwCal = std::make_unique<HwCal>(); } in createHwCal()
68 std::unique_ptr<Vibrator::HwCal> mHwCal; member in aidl::android::hardware::vibrator::HwCalTest
80 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 …]
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-hwcal.cpp62 void createHwCal() { mHwCal = std::make_unique<HwCal>(); } in createHwCal()
76 std::unique_ptr<Vibrator::HwCal> mHwCal; member in aidl::android::hardware::vibrator::HwCalTest
89 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 …]
/hardware/google/pixel/vibrator/drv2624/
DVibrator.cpp66 : 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 …]
DVibrator.h178 std::unique_ptr<HwCal> mHwCal; variable
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.cpp177 mHwCal(std::move(hwcal)), in Vibrator()
242 if (mHwCal->getF0(&caldata)) {
252 if (mHwCal->getRedc(&caldata)) {
256 if (mHwCal->getQ(&caldata)) {
260 mHwCal->getLongFrequencyShift(&longFrequencyShift);
269 mHwCal->getVersion(&calVer);
271 mHwCal->getTickVolLevels(&mTickEffectVol);
272 mHwCal->getClickVolLevels(&mClickEffectVol);
273 mHwCal->getLongVolLevels(&mLongEffectVol);
278 mHwApi->setF0CompEnable(mHwCal->isF0CompEnabled());
[all …]
DVibrator.h246 std::unique_ptr<HwCal> mHwCal; variable
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp215 mHwCal(std::move(hwcal)), in Vibrator()
228 if (mHwCal->getF0(&caldata)) {
237 if (mHwCal->getRedc(&caldata)) {
241 if (mHwCal->getQ(&caldata)) {
245 mHwCal->getLongFrequencyShift(&longFreqencyShift);
254 mHwCal->getVersion(&calVer);
257 mHwCal->getVolLevels(&volLevels);
272 mHwCal->getTickVolLevels(&mTickEffectVol);
273 mHwCal->getClickVolLevels(&mClickEffectVol);
274 mHwCal->getLongVolLevels(&mLongEffectVol);
[all …]
DVibrator.h235 std::unique_ptr<HwCal> mHwCal; variable