Home
last modified time | relevance | path

Searched refs:lengthMs (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/vibrator/1.1/vts/functional/
DVtsHalVibratorV1_1TargetTest.cpp51 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/
DVtsHalVibratorV1_2TargetTest.cpp52 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/
DVtsHalVibratorV1_3TargetTest.cpp66 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/
DVtsHalVibratorV1_0TargetTest.cpp52 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/
Dbenchmark.cpp149 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/
Dbenchmark.cpp171 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/
DVtsHalVibratorTargetTest.cpp252 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 …]
DVtsHalVibratorManagerTargetTest.cpp141 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/
DIVibrator.hal30 * @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/
DIVibrator.hal31 * @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/
DIVibrator.hal52 * @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/
DIVibrator.hal65 * @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/
Dtest-vibrator.cpp432 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/
Dtest-vibrator.cpp534 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/
Dtest-vibrator.cpp588 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/
Dbenchmark.cpp685 int32_t lengthMs = 0;
692 if (shouldSkipWithError(state, mVibrator->perform(effect, strength, cb, &lengthMs))) {