Home
last modified time | relevance | path

Searched refs:lengthMs (Results 1 – 12 of 12) 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/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp127 int32_t lengthMs = 0; in TEST_P() local
128 Status status = vibrator->perform(effect, strength, nullptr /*callback*/, &lengthMs); in TEST_P()
132 EXPECT_GT(lengthMs, 0); in TEST_P()
133 usleep(lengthMs * 1000); in TEST_P()
157 int lengthMs = 0; in TEST_P() local
158 Status status = vibrator->perform(effect, strength, callback, &lengthMs); in TEST_P()
162 EXPECT_GT(lengthMs, 0); in TEST_P()
169 std::chrono::milliseconds timeout{lengthMs * 2}; in TEST_P()
181 int lengthMs; in TEST_P() local
182 Status status = vibrator->perform(effect, strength, callback, &lengthMs); in TEST_P()
[all …]
/hardware/google/pixel/vibrator/drv2624/bench/
Dbenchmark.cpp170 int32_t lengthMs;
172 ndk::ScopedAStatus status = mVibrator->perform(effect, strength, nullptr, &lengthMs);
179 mVibrator->perform(effect, strength, nullptr, &lengthMs);
/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.cpp472 int32_t lengthMs; in TEST_P() local
473 ndk::ScopedAStatus status = mVibrator->perform(effect, strength, callback, &lengthMs); in TEST_P()
475 EXPECT_LE(duration, lengthMs); in TEST_P()
478 EXPECT_EQ(0, lengthMs); in TEST_P()