Searched refs:getPrimitiveDuration (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | VibratorTest.java | 181 assertEquals(0, info.getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_CLICK)); in getPrimitivesDurations_noVibrator_returnsAlwaysZero() 193 assertEquals(0, info.getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_CLICK)); in getPrimitivesDurations_unsupportedInOneVibrator_returnsZero() 208 assertEquals(20, info.getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_CLICK)); in getPrimitivesDurations_supportedInAllVibrators_returnsMaxDuration()
|
D | VibratorInfoTest.java | 108 assertEquals(20, info.getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testGetPrimitiveDuration() 109 assertEquals(0, info.getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_TICK)); in testGetPrimitiveDuration() 111 .getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_TICK)); in testGetPrimitiveDuration()
|
/frameworks/native/cmds/idlcli/vibrator/ |
D | CommandGetPrimitiveDuration.cpp | 65 auto status = hal->call(&aidl::IVibrator::getPrimitiveDuration, mPrimitive, &duration); in doMain()
|
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperAidlTest.cpp | 75 MOCK_METHOD(Status, getPrimitiveDuration, (CompositePrimitive p, int32_t* ret), (override)); 335 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::CLICK), _)) in TEST_F() 580 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::CLICK), _)) in TEST_F() 583 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::SPIN), _)) in TEST_F() 586 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::THUD), _)) in TEST_F() 634 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::SPIN), _)) in TEST_F() 637 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::THUD), _)) in TEST_F() 644 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::SPIN), _)) in TEST_F() 647 EXPECT_CALL(*mMockHal.get(), getPrimitiveDuration(Eq(CompositePrimitive::THUD), _)) in TEST_F()
|
D | VibratorManagerHalWrapperAidlTest.cpp | 71 MOCK_METHOD(Status, getPrimitiveDuration, (CompositePrimitive p, int32_t* ret), (override));
|
/frameworks/base/core/java/android/os/ |
D | SystemVibrator.java | 302 public int getPrimitiveDuration(int primitiveId) { in getPrimitiveDuration() method in SystemVibrator.AllVibratorsInfo 305 int duration = info.getPrimitiveDuration(primitiveId); in getPrimitiveDuration()
|
D | Vibrator.java | 609 durations[i] = info.getPrimitiveDuration(primitiveIds[i]); in getPrimitiveDurations()
|
D | VibratorInfo.java | 275 public int getPrimitiveDuration( in getPrimitiveDuration() method in VibratorInfo
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 408 auto status = getHal()->getPrimitiveDuration(primitive, &duration); in getPrimitiveDurationsInternal()
|