Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/haptics/
DFakeVibratorHelper.kt32 val primitiveDurations: HashMap<Int, Int> = ALL_PRIMITIVE_DURATIONS constant in com.android.systemui.haptics.FakeVibratorHelper
56 primitiveIds.map { primitiveDurations[it] ?: 0 }.toIntArray() in vibrate()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/qs/
DQSLongPressEffectTest.kt62 vibratorHelper.primitiveDurations[VibrationEffect.Composition.PRIMITIVE_LOW_TICK] = in setup()
64 vibratorHelper.primitiveDurations[VibrationEffect.Composition.PRIMITIVE_SPIN] = spinDuration in setup()
/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/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/
DSliderHapticFeedbackProviderTest.kt59 kosmos.vibratorHelper.primitiveDurations[VibrationEffect.Composition.PRIMITIVE_LOW_TICK] = in setup()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h237 const HalResult<std::vector<std::chrono::milliseconds>> primitiveDurations; variable
256 logFailure<std::vector<std::chrono::milliseconds>>(primitiveDurations, in logFailures()
273 primitiveDurations.shouldRetry() || primitiveDelayMax.shouldRetry() || in shouldRetry()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp419 auto durations = info.primitiveDurations.valueOr({}); in vibratorGetInfo()