Home
last modified time | relevance | path

Searched refs:hwapi (Results 1 – 11 of 11) sorted by relevance

/hardware/google/pixel/vibrator/drv2624/
Dservice.cpp28 auto hwapi = HwApi::Create(); in main() local
30 if (!hwapi) { in main()
36 ndk::SharedRefBase::make<Vibrator>(std::move(hwapi), std::make_unique<HwCal>()); in main()
DHardware.h29 auto hwapi = std::unique_ptr<HwApi>(new HwApi()); in Create() local
31 if (!hwapi->mActivate.is_open() || !hwapi->mDuration.is_open() || in Create()
32 !hwapi->mState.is_open()) { in Create()
35 return hwapi; in Create()
DVibrator.cpp65 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
66 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
DVibrator.h136 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-hwapi.cpp156 std::unique_ptr<HwApi> hwapi; in TEST_P() local
171 hwapi = HwApi::Create(); in TEST_P()
173 EXPECT_EQ(nullptr, hwapi); in TEST_P()
175 EXPECT_NE(nullptr, hwapi); in TEST_P()
DAndroid.bp24 "test-hwapi.cpp",
/hardware/google/pixel/vibrator/cs40l25/tests/
DAndroid.bp24 "test-hwapi.cpp",
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.h100 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
DVibrator.cpp216 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
217 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)), mAsyncHandle(std::async([] {})) { in Vibrator()
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.h138 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
DVibrator.cpp192 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
193 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)), mAsyncHandle(std::async([] {})) { in Vibrator()