Searched refs:hwapi (Results 1 – 9 of 9) sorted by relevance
/hardware/google/pixel/vibrator/drv2624/ |
D | service.cpp | 28 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()
|
D | Hardware.h | 29 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()
|
D | Vibrator.cpp | 61 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()
|
D | Vibrator.h | 133 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
|
/hardware/google/pixel/vibrator/drv2624/tests/ |
D | test-hwapi.cpp | 155 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()
|
D | Android.bp | 20 "test-hwapi.cpp",
|
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | Android.bp | 20 "test-hwapi.cpp",
|
/hardware/google/pixel/vibrator/cs40l25/ |
D | Vibrator.h | 117 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
|
D | Vibrator.cpp | 85 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()
|