/hardware/interfaces/vibrator/1.1/vts/functional/ |
D | VtsHalVibratorV1_1TargetTest.cpp | 51 static void validatePerformEffect(Status status, uint32_t lengthMs) { in validatePerformEffect() argument 54 ASSERT_GT(lengthMs, static_cast<uint32_t>(0)) in validatePerformEffect() 57 ASSERT_EQ(lengthMs, static_cast<uint32_t>(0)) in validatePerformEffect() 62 static void validatePerformEffectBadInput(Status status, uint32_t lengthMs) { in validatePerformEffectBadInput() argument 64 ASSERT_EQ(static_cast<uint32_t>(0), lengthMs) in validatePerformEffectBadInput()
|
/hardware/interfaces/vibrator/1.2/vts/functional/ |
D | VtsHalVibratorV1_2TargetTest.cpp | 52 static void validatePerformEffect(Status status, uint32_t lengthMs) { in validatePerformEffect() argument 55 ASSERT_LT(static_cast<uint32_t>(0), lengthMs) in validatePerformEffect() 58 ASSERT_EQ(static_cast<uint32_t>(0), lengthMs) in validatePerformEffect() 63 static void validatePerformEffectBadInput(Status status, uint32_t lengthMs) { in validatePerformEffectBadInput() argument 65 ASSERT_EQ(static_cast<uint32_t>(0), lengthMs) in validatePerformEffectBadInput()
|
/hardware/interfaces/vibrator/1.3/vts/functional/ |
D | VtsHalVibratorV1_3TargetTest.cpp | 66 static void validatePerformEffectUnsupportedOperation(Status status, uint32_t lengthMs) { in validatePerformEffectUnsupportedOperation() argument 68 ASSERT_EQ(static_cast<uint32_t>(0), lengthMs) in validatePerformEffectUnsupportedOperation() 72 static void validatePerformEffect(Status status, uint32_t lengthMs) { in validatePerformEffect() argument 75 ASSERT_LT(static_cast<uint32_t>(0), lengthMs) in validatePerformEffect() 78 validatePerformEffectUnsupportedOperation(status, lengthMs); in validatePerformEffect()
|
/hardware/interfaces/vibrator/1.0/vts/functional/ |
D | VtsHalVibratorV1_0TargetTest.cpp | 52 static void validatePerformEffect(Status status, uint32_t lengthMs) { in validatePerformEffect() argument 55 ASSERT_GT(lengthMs, static_cast<uint32_t>(0)); in validatePerformEffect() 57 ASSERT_EQ(lengthMs, static_cast<uint32_t>(0)); in validatePerformEffect() 61 static void validatePerformEffectBadInput(Status status, uint32_t lengthMs) { in validatePerformEffectBadInput() argument 63 ASSERT_EQ(static_cast<uint32_t>(0), lengthMs) in validatePerformEffectBadInput()
|
/hardware/google/pixel/vibrator/cs40l25/bench/ |
D | benchmark.cpp | 149 int32_t lengthMs; 151 ndk::ScopedAStatus status = mVibrator->perform(effect, strength, nullptr, &lengthMs); 158 mVibrator->perform(effect, strength, nullptr, &lengthMs);
|
/hardware/google/pixel/vibrator/drv2624/bench/ |
D | benchmark.cpp | 171 int32_t lengthMs; 173 ndk::ScopedAStatus status = mVibrator->perform(effect, strength, nullptr, &lengthMs); 180 mVibrator->perform(effect, strength, nullptr, &lengthMs);
|
/hardware/interfaces/vibrator/aidl/vts/ |
D | VtsHalVibratorTargetTest.cpp | 252 int32_t lengthMs = 0; in TEST_P() local 253 Status status = vibrator->perform(effect, strength, nullptr /*callback*/, &lengthMs); in TEST_P() 257 EXPECT_GT(lengthMs, 0); in TEST_P() 258 usleep(lengthMs * 1000); in TEST_P() 283 int lengthMs = 0; in TEST_P() local 284 Status status = vibrator->perform(effect, strength, callback, &lengthMs); in TEST_P() 288 EXPECT_GT(lengthMs, 0); in TEST_P() 296 auto timeout = std::chrono::milliseconds(lengthMs) + VIBRATION_CALLBACK_TIMEOUT; in TEST_P() 311 int lengthMs; in TEST_P() local 312 Status status = vibrator->perform(effect, strength, callback, &lengthMs); in TEST_P() [all …]
|
D | VtsHalVibratorManagerTargetTest.cpp | 141 int32_t lengthMs = 0; in TEST_P() local 142 Status status = vibrator->perform(kEffects[0], kEffectStrengths[0], nullptr, &lengthMs); in TEST_P()
|
/hardware/interfaces/vibrator/1.2/ |
D | IVibrator.hal | 30 * @return lengthMs The length of time the event is expected to take in 36 generates (Status status, uint32_t lengthMs);
|
/hardware/interfaces/vibrator/1.1/ |
D | IVibrator.hal | 31 * @return lengthMs The length of time the event is expected to take in 38 generates (Status status, uint32_t lengthMs);
|
/hardware/interfaces/vibrator/1.3/ |
D | IVibrator.hal | 52 * @return lengthMs The length of time the event is expected to take in 58 generates (Status status, uint32_t lengthMs);
|
/hardware/interfaces/vibrator/1.0/ |
D | IVibrator.hal | 65 * @return lengthMs The length of time the event is expected to take in 71 perform(Effect effect, EffectStrength strength) generates (Status status, uint32_t lengthMs);
|
/hardware/google/pixel/vibrator/drv2624/tests/ |
D | test-vibrator.cpp | 432 int32_t lengthMs; in TEST_P() local 433 ndk::ScopedAStatus status = mVibrator->perform(effect, strength, nullptr, &lengthMs); in TEST_P() 436 EXPECT_LE(duration, lengthMs); in TEST_P()
|
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | test-vibrator.cpp | 534 int32_t lengthMs; in TEST_P() local 535 ndk::ScopedAStatus status = mVibrator->perform(effect, strength, callback, &lengthMs); in TEST_P() 537 EXPECT_LE(duration, lengthMs); in TEST_P() 540 EXPECT_EQ(0, lengthMs); in TEST_P()
|
/hardware/google/pixel/vibrator/cs40l26/tests/ |
D | test-vibrator.cpp | 588 int32_t lengthMs; in TEST_P() local 589 ndk::ScopedAStatus status = mVibrator->perform(effect, strength, callback, &lengthMs); in TEST_P() 591 EXPECT_LE(duration, lengthMs); in TEST_P() 594 EXPECT_EQ(0, lengthMs); in TEST_P()
|
/hardware/interfaces/vibrator/bench/ |
D | benchmark.cpp | 685 int32_t lengthMs = 0; 692 if (shouldSkipWithError(state, mVibrator->perform(effect, strength, cb, &lengthMs))) {
|