Home
last modified time | relevance | path

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

/device/google/sunfish/vibrator/drv2624/
DHardware.h34 auto hwapi = std::unique_ptr<HwApi>(new HwApi()); in Create() local
36 if (!hwapi->mActivate.is_open() || !hwapi->mDuration.is_open() || in Create()
37 !hwapi->mState.is_open()) { in Create()
40 return hwapi; in Create()
Dservice.cpp37 auto hwapi = HwApi::Create(); in registerVibratorService() local
39 if (!hwapi) { in registerVibratorService()
43 sp<Vibrator> vibrator = new Vibrator(std::move(hwapi), std::make_unique<HwCal>()); in registerVibratorService()
DVibrator.cpp181 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
182 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
DVibrator.h155 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
/device/google/barbet/vibrator/drv2624/
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()
Dservice.cpp28 auto hwapi = HwApi::Create(); in main() local
30 if (!hwapi) { in main()
44 ndk::SharedRefBase::make<Vibrator>(std::move(hwapi), std::make_unique<HwCal>()); in main()
DVibrator.cpp288 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
289 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
DVibrator.h154 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
/device/google/redfin/vibrator/drv2624/
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()
Dservice.cpp28 auto hwapi = HwApi::Create(); in main() local
30 if (!hwapi) { in main()
38 ndk::SharedRefBase::make<Vibrator>(std::move(hwapi), std::make_unique<HwCal>()); in main()
DVibrator.cpp287 Vibrator::Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal) in Vibrator() argument
288 : mHwApi(std::move(hwapi)), mHwCal(std::move(hwcal)) { in Vibrator()
DVibrator.h160 Vibrator(std::unique_ptr<HwApi> hwapi, std::unique_ptr<HwCal> hwcal);
/device/google/sunfish/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.bp25 "test-hwapi.cpp",
/device/google/redfin/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()
/device/google/barbet/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.bp25 "test-hwapi.cpp",
/device/google/felix/vibrator/cs40l26/
DVibMgrHwApi.h43 auto hwapi = std::unique_ptr<VibMgrHwApi>(new VibMgrHwApi()); in Create() local
44 return hwapi; in Create()
DHardware.h71 auto hwapi = std::unique_ptr<HwApi>(new HwApi()); in Create() local
72 return hwapi; in Create()
/device/google/felix/vibrator/cs40l26/tests/
DAndroid.bp25 "test-hwapi.cpp",