Searched refs:primitiveDurations (Results 1 – 7 of 7) sorted by relevance
32 val primitiveDurations: HashMap<Int, Int> = ALL_PRIMITIVE_DURATIONS constant in com.android.systemui.haptics.FakeVibratorHelper56 primitiveIds.map { primitiveDurations[it] ?: 0 }.toIntArray() in vibrate()
62 vibratorHelper.primitiveDurations[VibrationEffect.Composition.PRIMITIVE_LOW_TICK] = in setup()64 vibratorHelper.primitiveDurations[VibrationEffect.Composition.PRIMITIVE_SPIN] = spinDuration in setup()
313 std::vector<std::chrono::milliseconds> primitiveDurations; in TEST_F() local316 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()
208 ASSERT_TRUE(info.primitiveDurations.isUnsupported()); in TEST_F()245 ASSERT_TRUE(info.primitiveDurations.isUnsupported()); in TEST_F()
59 kosmos.vibratorHelper.primitiveDurations[VibrationEffect.Composition.PRIMITIVE_LOW_TICK] = in setup()
237 const HalResult<std::vector<std::chrono::milliseconds>> primitiveDurations; variable256 logFailure<std::vector<std::chrono::milliseconds>>(primitiveDurations, in logFailures()273 primitiveDurations.shouldRetry() || primitiveDelayMax.shouldRetry() || in shouldRetry()
419 auto durations = info.primitiveDurations.valueOr({}); in vibratorGetInfo()