/hardware/interfaces/vibrator/1.0/vts/functional/ |
D | VtsHalVibratorV1_0TargetTest.cpp | 31 using ::android::hardware::vibrator::V1_0::Effect; 32 using ::android::hardware::vibrator::V1_0::EffectStrength; 33 using ::android::hardware::vibrator::V1_0::IVibrator; 34 using ::android::hardware::vibrator::V1_0::Status; 57 vibrator = ::testing::VtsHalHidlTargetTestBase::getService<IVibrator>( in SetUp() 59 ASSERT_NE(vibrator, nullptr); in SetUp() 64 sp<IVibrator> vibrator; member in VibratorHidlTest 83 EXPECT_EQ(Status::OK, vibrator->on(2000)); in TEST_F() 85 EXPECT_EQ(Status::OK, vibrator->off()); in TEST_F() 89 vibrator->perform(Effect::CLICK, EffectStrength::MEDIUM, validatePerformEffect); in TEST_F() [all …]
|
D | Android.bp | 21 static_libs: ["android.hardware.vibrator@1.0"],
|
/hardware/interfaces/vibrator/1.3/vts/functional/ |
D | VtsHalVibratorV1_3TargetTest.cpp | 30 using ::android::hardware::vibrator::V1_0::EffectStrength; 31 using ::android::hardware::vibrator::V1_0::Status; 32 using ::android::hardware::vibrator::V1_3::Effect; 33 using ::android::hardware::vibrator::V1_3::IVibrator; 56 vibrator = ::testing::VtsHalHidlTargetTestBase::getService<IVibrator>( in SetUp() 58 ASSERT_NE(vibrator, nullptr); in SetUp() 63 sp<IVibrator> vibrator; member in VibratorHidlTest_1_3 67 if (vibrator->supportsExternalControl()) { in TEST_F() 68 EXPECT_EQ(Status::OK, vibrator->setExternalControl(true)); in TEST_F() 70 EXPECT_EQ(Status::OK, vibrator->setExternalControl(false)); in TEST_F() [all …]
|
D | Android.bp | 22 "android.hardware.vibrator@1.0", 23 "android.hardware.vibrator@1.1", 24 "android.hardware.vibrator@1.2", 25 "android.hardware.vibrator@1.3",
|
/hardware/interfaces/vibrator/1.1/vts/functional/ |
D | VtsHalVibratorV1_1TargetTest.cpp | 30 using ::android::hardware::vibrator::V1_0::EffectStrength; 31 using ::android::hardware::vibrator::V1_0::Status; 32 using ::android::hardware::vibrator::V1_1::Effect_1_1; 33 using ::android::hardware::vibrator::V1_1::IVibrator; 56 vibrator = ::testing::VtsHalHidlTargetTestBase::getService<IVibrator>( in SetUp() 58 ASSERT_NE(vibrator, nullptr); in SetUp() 63 sp<IVibrator> vibrator; member in VibratorHidlTest_1_1 84 vibrator->perform_1_1(Effect_1_1::CLICK, EffectStrength::MEDIUM, validatePerformEffect); in TEST_F() 85 vibrator->perform_1_1(Effect_1_1::TICK, EffectStrength::STRONG, validatePerformEffect); in TEST_F() 95 vibrator->perform_1_1(badEffect, EffectStrength::LIGHT, validatePerformEffectBadInput)); in TEST_F() [all …]
|
D | Android.bp | 22 "android.hardware.vibrator@1.0", 23 "android.hardware.vibrator@1.1",
|
/hardware/interfaces/vibrator/1.2/vts/functional/ |
D | VtsHalVibratorV1_2TargetTest.cpp | 27 using ::android::hardware::vibrator::V1_0::Status; 28 using ::android::hardware::vibrator::V1_0::EffectStrength; 29 using ::android::hardware::vibrator::V1_2::Effect; 30 using ::android::hardware::vibrator::V1_2::IVibrator; 57 vibrator = ::testing::VtsHalHidlTargetTestBase::getService<IVibrator>( in SetUp() 59 ASSERT_NE(vibrator, nullptr); in SetUp() 64 sp<IVibrator> vibrator; member in VibratorHidlTest_1_2 91 EXPECT_OK(vibrator->perform_1_2(effect, strength, validatePerformEffect)); in TEST_F() 103 vibrator->perform_1_2(badEffect, EffectStrength::LIGHT, validatePerformEffectBadInput)); in TEST_F() 113 vibrator->perform_1_2(badEffect, EffectStrength::LIGHT, validatePerformEffectBadInput)); in TEST_F() [all …]
|
D | Android.bp | 22 "android.hardware.vibrator@1.0", 23 "android.hardware.vibrator@1.1", 24 "android.hardware.vibrator@1.2",
|
/hardware/interfaces/vibrator/1.3/example/ |
D | Android.bp | 17 name: "android.hardware.vibrator@1.3-service.example", 20 init_rc: ["android.hardware.vibrator@1.3-service.example.rc"], 21 vintf_fragments: ["android.hardware.vibrator@1.3-service.example.xml"], 29 "android.hardware.vibrator@1.0", 30 "android.hardware.vibrator@1.1", 31 "android.hardware.vibrator@1.2", 32 "android.hardware.vibrator@1.3",
|
D | service.cpp | 25 using android::hardware::vibrator::V1_3::IVibrator; 26 using android::hardware::vibrator::V1_3::implementation::Vibrator; 30 sp<IVibrator> vibrator = new Vibrator(); in registerVibratorService() local 32 return vibrator->registerAsService(); in registerVibratorService()
|
D | android.hardware.vibrator@1.3-service.example.rc | 1 service vendor.vibrator-1-3 /vendor/bin/hw/android.hardware.vibrator@1.3-service.example
|
D | Vibrator.h | 24 namespace vibrator { 28 using android::hardware::vibrator::V1_0::EffectStrength; 29 using android::hardware::vibrator::V1_0::Status;
|
/hardware/interfaces/vibrator/1.3/ |
D | Android.bp | 4 name: "android.hardware.vibrator@1.3", 14 "android.hardware.vibrator@1.0", 15 "android.hardware.vibrator@1.1", 16 "android.hardware.vibrator@1.2",
|
D | IVibrator.hal | 17 package android.hardware.vibrator@1.3; 25 * Returns whether the vibrator supports control through an alternate interface. 30 * Enables/disables control override of vibrator to audio. 32 * When this API is set, the vibrator control should be ceded to audio system 34 * the vibrator is unsupported and the resulting behavior is undefined. Amplitude 37 * vibrator should resume to an off state.
|
/hardware/interfaces/vibrator/1.0/default/ |
D | Android.bp | 17 name: "android.hardware.vibrator@1.0-impl", 28 "android.hardware.vibrator@1.0", 33 name: "android.hardware.vibrator@1.0-service", 35 init_rc: ["android.hardware.vibrator@1.0-service.rc"], 46 "android.hardware.vibrator@1.0",
|
D | android.hardware.vibrator@1.0-service.rc | 1 service vendor.vibrator-1-0 /vendor/bin/hw/android.hardware.vibrator@1.0-service
|
D | service.cpp | 21 using android::hardware::vibrator::V1_0::IVibrator;
|
D | Vibrator.h | 25 namespace vibrator {
|
D | Vibrator.cpp | 30 namespace vibrator { namespace
|
/hardware/interfaces/vibrator/1.2/ |
D | Android.bp | 4 name: "android.hardware.vibrator@1.2", 14 "android.hardware.vibrator@1.0", 15 "android.hardware.vibrator@1.1",
|
/hardware/interfaces/vibrator/1.0/ |
D | IVibrator.hal | 17 package android.hardware.vibrator@1.0; 21 * Turn on vibrator 26 * @return vibratorOnRet whether vibrator command was successful or not. 31 * Turn off vibrator 34 * @return vibratorOffRet whether vibrator command was successful or not. 39 * Returns whether the vibrator supports changes to its vibrational amplitude.
|
D | Android.bp | 4 name: "android.hardware.vibrator@1.0",
|
/hardware/interfaces/vibrator/1.1/ |
D | Android.bp | 4 name: "android.hardware.vibrator@1.1", 14 "android.hardware.vibrator@1.0",
|
D | types.hal | 17 package android.hardware.vibrator@1.1;
|
/hardware/libhardware/modules/vibrator/ |
D | Android.bp | 16 name: "vibrator.default", 23 srcs: ["vibrator.c"],
|