/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/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/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/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 | 191 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 | 185 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 | 185 std::unique_ptr<HwCal> mHwCal; variable
|