Home
last modified time | relevance | path

Searched refs:primitiveDurations (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp313 std::vector<std::chrono::milliseconds> primitiveDurations; in TEST_F() local
316 primitiveDurations.resize(primitiveCount); in TEST_F()
317 primitiveDurations[static_cast<size_t>(CompositePrimitive::CLICK)] = 10ms; in TEST_F()
380 ASSERT_TRUE(failed.primitiveDurations.isFailed()); in TEST_F()
396 ASSERT_EQ(primitiveDurations, successful.primitiveDurations.value()); in TEST_F()
473 ASSERT_TRUE(info.primitiveDurations.isUnsupported()); in TEST_F()
DVibratorHalWrapperHidlV1_0Test.cpp208 ASSERT_TRUE(info.primitiveDurations.isUnsupported()); in TEST_F()
245 ASSERT_TRUE(info.primitiveDurations.isUnsupported()); in TEST_F()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp272 checkHalResult(result.primitiveDurations, state);
287 checkHalResult(result.primitiveDurations, state);
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h184 const HalResult<std::vector<std::chrono::milliseconds>> primitiveDurations; variable
200 primitiveDurations.checkAndLogFailure("getPrimitiveDuration") || in checkAndLogFailure()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp406 auto durations = info.primitiveDurations.valueOr({}); in vibratorGetInfo()