Home
last modified time | relevance | path

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

/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/cs40l25/
DVibrator.cpp193 : 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 …]
DVibrator.h205 std::unique_ptr<HwCal> mHwCal; variable
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.cpp217 : 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 …]
DVibrator.h166 std::unique_ptr<HwCal> mHwCal; variable