Home
last modified time | relevance | path

Searched refs:vibrator (Results 1 – 25 of 36) sorted by relevance

12

/hardware/interfaces/vibrator/1.0/vts/functional/
DVtsHalVibratorV1_0TargetTest.cpp31 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 …]
DAndroid.bp21 static_libs: ["android.hardware.vibrator@1.0"],
/hardware/interfaces/vibrator/1.3/vts/functional/
DVtsHalVibratorV1_3TargetTest.cpp30 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 …]
DAndroid.bp22 "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/
DVtsHalVibratorV1_1TargetTest.cpp30 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 …]
DAndroid.bp22 "android.hardware.vibrator@1.0",
23 "android.hardware.vibrator@1.1",
/hardware/interfaces/vibrator/1.2/vts/functional/
DVtsHalVibratorV1_2TargetTest.cpp27 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 …]
DAndroid.bp22 "android.hardware.vibrator@1.0",
23 "android.hardware.vibrator@1.1",
24 "android.hardware.vibrator@1.2",
/hardware/interfaces/vibrator/1.3/example/
DAndroid.bp17 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",
Dservice.cpp25 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()
Dandroid.hardware.vibrator@1.3-service.example.rc1 service vendor.vibrator-1-3 /vendor/bin/hw/android.hardware.vibrator@1.3-service.example
DVibrator.h24 namespace vibrator {
28 using android::hardware::vibrator::V1_0::EffectStrength;
29 using android::hardware::vibrator::V1_0::Status;
/hardware/interfaces/vibrator/1.3/
DAndroid.bp4 name: "android.hardware.vibrator@1.3",
14 "android.hardware.vibrator@1.0",
15 "android.hardware.vibrator@1.1",
16 "android.hardware.vibrator@1.2",
DIVibrator.hal17 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/
DAndroid.bp17 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",
Dandroid.hardware.vibrator@1.0-service.rc1 service vendor.vibrator-1-0 /vendor/bin/hw/android.hardware.vibrator@1.0-service
Dservice.cpp21 using android::hardware::vibrator::V1_0::IVibrator;
DVibrator.h25 namespace vibrator {
DVibrator.cpp30 namespace vibrator { namespace
/hardware/interfaces/vibrator/1.2/
DAndroid.bp4 name: "android.hardware.vibrator@1.2",
14 "android.hardware.vibrator@1.0",
15 "android.hardware.vibrator@1.1",
/hardware/interfaces/vibrator/1.0/
DIVibrator.hal17 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.
DAndroid.bp4 name: "android.hardware.vibrator@1.0",
/hardware/interfaces/vibrator/1.1/
DAndroid.bp4 name: "android.hardware.vibrator@1.1",
14 "android.hardware.vibrator@1.0",
Dtypes.hal17 package android.hardware.vibrator@1.1;
/hardware/libhardware/modules/vibrator/
DAndroid.bp16 name: "vibrator.default",
23 srcs: ["vibrator.c"],

12