Home
last modified time | relevance | path

Searched refs:alwaysOnEnable (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorController.java202 mNativeWrapper.alwaysOnEnable(id, prebaked.getEffectId(), in updateAlwaysOn()
402 private static native void alwaysOnEnable(long nativePtr, long id, long effect, in alwaysOnEnable() method in VibratorController.NativeWrapper
466 public void alwaysOnEnable(long id, long effect, long strength) { in alwaysOnEnable() method in VibratorController.NativeWrapper
467 alwaysOnEnable(mNativePtr, id, effect, strength); in alwaysOnEnable()
/frameworks/native/cmds/idlcli/vibrator/
DCommandAlwaysOnEnable.cpp79 auto status = hal->call(&aidl::IVibrator::alwaysOnEnable, mId, mEffect, mStrength); in doMain()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp332 BENCHMARK_WRAPPER(VibratorEffectsBench, alwaysOnEnable, {
347 return hal->alwaysOnEnable(id, effect, strength); in __anon866670c61402()
373 return hal->alwaysOnEnable(id, effect, strength); in __anon866670c61602()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp82 MOCK_METHOD(Status, alwaysOnEnable, (int32_t id, Effect e, EffectStrength s), (override));
261 alwaysOnEnable(Eq(1), Eq(Effect::CLICK), Eq(EffectStrength::LIGHT))) in TEST_F()
264 alwaysOnEnable(Eq(2), Eq(Effect::TICK), Eq(EffectStrength::MEDIUM))) in TEST_F()
268 alwaysOnEnable(Eq(3), Eq(Effect::POP), Eq(EffectStrength::STRONG))) in TEST_F()
273 auto result = mWrapper->alwaysOnEnable(1, Effect::CLICK, EffectStrength::LIGHT); in TEST_F()
275 result = mWrapper->alwaysOnEnable(2, Effect::TICK, EffectStrength::MEDIUM); in TEST_F()
277 result = mWrapper->alwaysOnEnable(3, Effect::POP, EffectStrength::STRONG); in TEST_F()
DVibratorHalControllerTest.cpp63 MOCK_METHOD(vibrator::HalResult<void>, alwaysOnEnable,
DVibratorHalWrapperHidlV1_0Test.cpp186 ASSERT_TRUE(mWrapper->alwaysOnEnable(1, Effect::CLICK, EffectStrength::LIGHT).isUnsupported()); in TEST_F()
DVibratorManagerHalWrapperAidlTest.cpp78 MOCK_METHOD(Status, alwaysOnEnable, (int32_t id, Effect e, EffectStrength s), (override));
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibratorControllerTest.java170 verify(mNativeWrapperMock).alwaysOnEnable( in updateAlwaysOn_withCapability_enablesAlwaysOnEffect()
189 verify(mNativeWrapperMock, never()).alwaysOnEnable(anyLong(), anyLong(), anyLong()); in updateAlwaysOn_withoutCapability_ignoresEffect()
DFakeVibratorControllerProvider.java147 public void alwaysOnEnable(long id, long effect, long strength) { in alwaysOnEnable() method in FakeVibratorControllerProvider.FakeNativeWrapper
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h280 virtual HalResult<void> alwaysOnEnable(int32_t id, hardware::vibrator::Effect effect,
352 HalResult<void> alwaysOnEnable(int32_t id, hardware::vibrator::Effect effect,
414 HalResult<void> alwaysOnEnable(int32_t id, hardware::vibrator::Effect effect,
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp314 HalResult<void> AidlHalWrapper::alwaysOnEnable(int32_t id, Effect effect, EffectStrength strength) { in alwaysOnEnable() function in android::vibrator::AidlHalWrapper
315 return HalResult<void>::fromStatus(getHal()->alwaysOnEnable(id, effect, strength)); in alwaysOnEnable()
525 HalResult<void> HidlHalWrapper<I>::alwaysOnEnable(int32_t, Effect, EffectStrength) { in alwaysOnEnable() function in android::vibrator::HidlHalWrapper
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp347 return hal->alwaysOnEnable(static_cast<int32_t>(id), static_cast<aidl::Effect>(effect), in vibratorAlwaysOnEnable()
/frameworks/base/services/
Dart-profile42691 HPLcom/android/server/vibrator/VibratorController$NativeWrapper;->alwaysOnEnable(JJJ)V