/device/google/sunfish/vibrator/drv2624/ |
D | Vibrator.cpp | 182 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator() 188 if (!mHwApi->setState(true)) { in Vibrator() 193 mHwApi->setAutocal(autocal); in Vibrator() 263 mHwApi->setOlLraPeriod(lraPeriod); in Vibrator() 276 if (!mHwApi->setLpTriggerEffect(lpTrigSupport)) { in Vibrator() 292 mHwApi->setCtrlLoop(toUnderlying(loopMode)); in on() 293 if (!mHwApi->setDuration(timeoutMs)) { in on() 298 mHwApi->setMode(mode); in on() 300 mHwApi->setLraWaveShape(toUnderlying(config->shape)); in on() 301 mHwApi->setOdClamp(config->odClamp[volOffset]); in on() [all …]
|
D | Vibrator.h | 186 std::unique_ptr<HwApi> mHwApi; variable
|
/device/google/barbet/vibrator/drv2624/ |
D | Vibrator.cpp | 289 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator() 296 if (!mHwApi->setState(true)) { in Vibrator() 301 mHwApi->setAutocal(autocal); in Vibrator() 398 mHwApi->setOlLraPeriod(lraPeriod); in Vibrator() 410 if (!mHwApi->setLpTriggerEffect(lpTrigSupport)) { in Vibrator() 418 if (mHwApi->hasRtpInput()) { in getCapabilities() 437 mHwApi->setCtrlLoop(toUnderlying(loopMode)); in on() 438 if (!mHwApi->setDuration(timeoutMs)) { in on() 443 mHwApi->setMode(mode); in on() 445 mHwApi->setLraWaveShape(toUnderlying(config->shape)); in on() [all …]
|
D | Vibrator.h | 194 std::unique_ptr<HwApi> mHwApi; variable
|
/device/google/redfin/vibrator/drv2624/ |
D | Vibrator.cpp | 288 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator() 294 if (!mHwApi->setState(true)) { in Vibrator() 299 mHwApi->setAutocal(autocal); in Vibrator() 430 mHwApi->setOlLraPeriod(lraPeriod); in Vibrator() 443 if (!mHwApi->setLpTriggerEffect(lpTrigSupport)) { in Vibrator() 451 if (mHwApi->hasRtpInput()) { in getCapabilities() 470 mHwApi->setCtrlLoop(toUnderlying(loopMode)); in on() 471 if (!mHwApi->setDuration(timeoutMs)) { in on() 476 mHwApi->setMode(mode); in on() 478 mHwApi->setLraWaveShape(toUnderlying(config->shape)); in on() [all …]
|
D | Vibrator.h | 200 std::unique_ptr<HwApi> mHwApi; variable
|
/device/google/felix/vibrator/cs40l26/tests/ |
D | test-hwapi.cpp | 62 mHwApi = std::make_unique<HwApi>(); in SetUp() 111 std::unique_ptr<Vibrator::HwApi> mHwApi; member in aidl::android::hardware::vibrator::HwApiTest 137 EXPECT_TRUE(func(*mHwApi)); in TEST_P() 165 EXPECT_TRUE(func(*mHwApi, &actual)); in TEST_P() 195 EXPECT_TRUE(func(*mHwApi, true)); in TEST_P() 205 EXPECT_TRUE(func(*mHwApi, false)); in TEST_P() 235 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 265 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
|
/device/google/sunfish/vibrator/drv2624/tests/ |
D | test-hwapi.cpp | 73 mHwApi = HwApi::Create(); in SetUp() 134 std::unique_ptr<Vibrator::HwApi> mHwApi; member in android::hardware::vibrator::V1_3::implementation::HwApiTest 200 EXPECT_TRUE(func(*mHwApi)); in TEST_P() 225 EXPECT_TRUE(func(*mHwApi, true)); in TEST_P() 235 EXPECT_TRUE(func(*mHwApi, false)); in TEST_P() 270 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 303 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 335 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 372 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
|
/device/google/redfin/vibrator/drv2624/tests/ |
D | test-hwapi.cpp | 72 mHwApi = HwApi::Create(); in SetUp() 133 std::unique_ptr<Vibrator::HwApi> mHwApi; member in aidl::android::hardware::vibrator::HwApiTest 199 EXPECT_TRUE(func(*mHwApi)); in TEST_P() 224 EXPECT_TRUE(func(*mHwApi, true)); in TEST_P() 234 EXPECT_TRUE(func(*mHwApi, false)); in TEST_P() 269 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 302 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 334 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 371 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
|
/device/google/barbet/vibrator/drv2624/tests/ |
D | test-hwapi.cpp | 72 mHwApi = HwApi::Create(); in SetUp() 133 std::unique_ptr<Vibrator::HwApi> mHwApi; member in aidl::android::hardware::vibrator::HwApiTest 199 EXPECT_TRUE(func(*mHwApi)); in TEST_P() 224 EXPECT_TRUE(func(*mHwApi, true)); in TEST_P() 234 EXPECT_TRUE(func(*mHwApi, false)); in TEST_P() 269 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 302 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 334 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P() 371 EXPECT_TRUE(func(*mHwApi, value)); in TEST_P()
|