/device/google/felix/vibrator/cs40l26/tests/ |
D | test-hwcal.cpp | 55 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 …]
|
/device/google/bluejay/vibrator/cs40l26/tests/ |
D | test-hwcal.cpp | 55 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 …]
|
/device/google/lynx/vibrator/cs40l26/tests/ |
D | test-hwcal.cpp | 55 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 …]
|
/device/google/sunfish/vibrator/drv2624/tests/ |
D | test-hwcal.cpp | 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::HwCalTest 90 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 …]
|
/device/google/redfin/vibrator/drv2624/tests/ |
D | test-hwcal.cpp | 62 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 …]
|
/device/google/barbet/vibrator/drv2624/tests/ |
D | test-hwcal.cpp | 62 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 …]
|
/device/google/bramble/vibrator/drv2624/tests/ |
D | test-hwcal.cpp | 62 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 …]
|
/device/google/sunfish/vibrator/drv2624/ |
D | Vibrator.cpp | 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 …]
|
D | Vibrator.h | 187 std::unique_ptr<HwCal> mHwCal; variable
|
/device/google/redfin/vibrator/drv2624/ |
D | Vibrator.cpp | 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 …]
|
D | Vibrator.h | 201 std::unique_ptr<HwCal> mHwCal; variable
|
/device/google/barbet/vibrator/drv2624/ |
D | Vibrator.cpp | 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 …]
|
D | Vibrator.h | 195 std::unique_ptr<HwCal> mHwCal; variable
|
/device/google/bramble/vibrator/drv2624/ |
D | Vibrator.cpp | 286 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator() 297 if (mHwCal->getAutocal(&autocal)) { in Vibrator() 300 mHwCal->getLraPeriod(&lraPeriod); in Vibrator() 302 mHwCal->getCloseLoopThreshold(&mCloseLoopThreshold); in Vibrator() 303 mHwCal->getDynamicConfig(&mDynamicConfig); in Vibrator() 313 mHwCal->getLongFrequencyShift(&longFreqencyShift); in Vibrator() 314 mHwCal->getShortVoltageMax(&shortVoltageMax); in Vibrator() 315 mHwCal->getLongVoltageMax(&longVoltageMax); in Vibrator() 317 hasEffectCoeffs = mHwCal->getEffectCoeffs(&effectCoeffs); in Vibrator() 341 mHwCal->getEffectShape(&shape); in Vibrator() [all …]
|
D | Vibrator.h | 195 std::unique_ptr<HwCal> mHwCal; variable
|
/device/google/lynx/vibrator/cs40l26/ |
D | Vibrator.cpp | 253 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)), mAsyncHandle(std::async([] {})) { in Vibrator() 349 if (mHwCal->getF0(&caldata)) { 352 if (mHwCal->getRedc(&caldata)) { 355 if (mHwCal->getQ(&caldata)) { 359 mHwCal->getLongFrequencyShift(&longFrequencyShift); 368 mHwCal->getVersion(&calVer); 370 mHwCal->getTickVolLevels(&mTickEffectVol); 371 mHwCal->getClickVolLevels(&mClickEffectVol); 372 mHwCal->getLongVolLevels(&mLongEffectVol); 377 mHwApi->setF0CompEnable(mHwCal->isF0CompEnabled()); [all …]
|
D | Vibrator.h | 205 std::unique_ptr<HwCal> mHwCal; variable
|
/device/google/bluejay/vibrator/cs40l26/ |
D | Vibrator.cpp | 253 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)), mAsyncHandle(std::async([] {})) { in Vibrator() 349 if (mHwCal->getF0(&caldata)) { 352 if (mHwCal->getRedc(&caldata)) { 355 if (mHwCal->getQ(&caldata)) { 359 mHwCal->getLongFrequencyShift(&longFrequencyShift); 368 mHwCal->getVersion(&calVer); 370 mHwCal->getTickVolLevels(&mTickEffectVol); 371 mHwCal->getClickVolLevels(&mClickEffectVol); 372 mHwCal->getLongVolLevels(&mLongEffectVol); 377 mHwApi->setF0CompEnable(mHwCal->isF0CompEnabled()); [all …]
|
D | Vibrator.h | 205 std::unique_ptr<HwCal> mHwCal; variable
|