/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/interfaces/vibrator/aidl/vts/ |
D | VtsHalVibratorTargetTest.cpp | 127 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/ |
D | benchmark.cpp | 170 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/ |
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 | 472 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()
|