Home
last modified time | relevance | path

Searched refs:setAmplitude (Results 1 – 24 of 24) sorted by relevance

/hardware/interfaces/vibrator/1.0/vts/functional/
DVtsHalVibratorV1_0TargetTest.cpp116 EXPECT_EQ(Status::OK, vibrator->setAmplitude(1)); in TEST_P()
118 EXPECT_EQ(Status::OK, vibrator->setAmplitude(128)); in TEST_P()
120 EXPECT_EQ(Status::OK, vibrator->setAmplitude(255)); in TEST_P()
127 EXPECT_EQ(Status::BAD_VALUE, vibrator->setAmplitude(0)); in TEST_P()
133 EXPECT_EQ(Status::UNSUPPORTED_OPERATION, vibrator->setAmplitude(1)); in TEST_P()
/hardware/interfaces/vibrator/1.0/default/
DVibrator.h36 Return<Status> setAmplitude(uint8_t amplitude) override;
DVibrator.cpp59 Return<Status> Vibrator::setAmplitude(uint8_t) { in setAmplitude() function in android::hardware::vibrator::V1_0::implementation::Vibrator
/hardware/interfaces/vibrator/bench/
Dbenchmark.cpp185 BENCHMARK_WRAPPER(VibratorBench_V1_0, setAmplitude, {
195 mVibrator->setAmplitude(amplitude);
269 mVibrator->setAmplitude(amplitude);
327 BENCHMARK_WRAPPER(VibratorBench_Aidl, setAmplitude, {
338 mVibrator->setAmplitude(amplitude);
371 mVibrator->setAmplitude(amplitude);
/hardware/google/pixel/vibrator/cs40l25/bench/
Dbenchmark.cpp117 BENCHMARK_WRAPPER(VibratorBench, setAmplitude, {
121 mVibrator->setAmplitude(amplitude);
/hardware/google/pixel/vibrator/drv2624/bench/
Dbenchmark.cpp117 BENCHMARK_WRAPPER(VibratorBench, setAmplitude, {
121 mVibrator->setAmplitude(amplitude);
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/1/android/hardware/vibrator/
DIVibrator.aidl26 void setAmplitude(in float amplitude); in setAmplitude() method
/hardware/interfaces/vibrator/aidl/android/hardware/vibrator/
DIVibrator.aidl141 void setAmplitude(in float amplitude); in setAmplitude() method
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/current/android/hardware/vibrator/
DIVibrator.aidl42 void setAmplitude(in float amplitude); in setAmplitude() method
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/2/android/hardware/vibrator/
DIVibrator.aidl42 void setAmplitude(in float amplitude); in setAmplitude() method
/hardware/interfaces/vibrator/1.3/example/
DVibrator.cpp58 Return<Status> Vibrator::setAmplitude(uint8_t amplitude) { in setAmplitude() function in android::hardware::vibrator::V1_3::implementation::Vibrator
121 setAmplitude(amplitude); in perform()
DVibrator.h39 Return<Status> setAmplitude(uint8_t amplitude) override;
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp329 EXPECT_EQ(Status::EX_NONE, vibrator->setAmplitude(0.1f).exceptionCode()); in TEST_P()
331 EXPECT_EQ(Status::EX_NONE, vibrator->setAmplitude(0.5f).exceptionCode()); in TEST_P()
333 EXPECT_EQ(Status::EX_NONE, vibrator->setAmplitude(1.0f).exceptionCode()); in TEST_P()
340 EXPECT_EQ(Status::EX_ILLEGAL_ARGUMENT, vibrator->setAmplitude(-1).exceptionCode()); in TEST_P()
341 EXPECT_EQ(Status::EX_ILLEGAL_ARGUMENT, vibrator->setAmplitude(0).exceptionCode()); in TEST_P()
342 EXPECT_EQ(Status::EX_ILLEGAL_ARGUMENT, vibrator->setAmplitude(1.1).exceptionCode()); in TEST_P()
348 Status status = vibrator->setAmplitude(1); in TEST_P()
369 Status amplitudeStatus = vibrator->setAmplitude(0.5); in TEST_P()
/hardware/interfaces/vibrator/aidl/default/include/vibrator-impl/
DVibrator.h35 ndk::ScopedAStatus setAmplitude(float amplitude) override;
/hardware/interfaces/vibrator/1.0/
DIVibrator.hal56 setAmplitude(uint8_t amplitude) generates (Status status);
/hardware/google/pixel/vibrator/drv2624/
DVibrator.h146 ndk::ScopedAStatus setAmplitude(float amplitude) override;
DVibrator.cpp173 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude() function in aidl::android::hardware::vibrator::Vibrator
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.h110 ndk::ScopedAStatus setAmplitude(float amplitude) override;
DVibrator.cpp440 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude() function in aidl::android::hardware::vibrator::Vibrator
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.h148 ndk::ScopedAStatus setAmplitude(float amplitude) override;
DVibrator.cpp323 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude() function in aidl::android::hardware::vibrator::Vibrator
/hardware/google/pixel/vibrator/drv2624/tests/
Dtest-vibrator.cpp356 TEST_P(BasicTest, setAmplitude) { in TEST_P() argument
361 EXPECT_EQ(EX_NONE, mVibrator->setAmplitude(amplitude).getExceptionCode()); in TEST_P()
/hardware/google/pixel/vibrator/cs40l25/tests/
Dtest-vibrator.cpp384 EXPECT_TRUE(mVibrator->setAmplitude(amplitude).isOk()); in TEST_F()
390 EXPECT_EQ(EX_UNSUPPORTED_OPERATION, mVibrator->setAmplitude(1).getExceptionCode()); in TEST_F()
/hardware/interfaces/vibrator/aidl/default/
DVibrator.cpp105 ndk::ScopedAStatus Vibrator::setAmplitude(float amplitude) { in setAmplitude() function in aidl::android::hardware::vibrator::Vibrator