Home
last modified time | relevance | path

Searched refs:hwapi (Results 1 – 9 of 9) 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.cpp61 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
62 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
DVibrator.h133 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-hwapi.cpp155 std::unique_ptr<HwApi> hwapi; in TEST_P() local
170 hwapi = HwApi::Create(); in TEST_P()
172 EXPECT_EQ(nullptr, hwapi); in TEST_P()
174 EXPECT_NE(nullptr, hwapi); in TEST_P()
DAndroid.bp20 "test-hwapi.cpp",
/hardware/google/pixel/vibrator/cs40l25/tests/
DAndroid.bp20 "test-hwapi.cpp",
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.h117 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
DVibrator.cpp85 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
86 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)), mAsyncHandle(std::async([] {})) { in Vibrator()