Home
last modified time | relevance | path

Searched refs:alwaysOnDisable (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorController.java224 mNativeWrapper.alwaysOnDisable(id); in updateAlwaysOn()
441 private static native void alwaysOnDisable(long nativePtr, long id); in alwaysOnDisable() method in VibratorController.NativeWrapper
506 public void alwaysOnDisable(long id) { in alwaysOnDisable() method in VibratorController.NativeWrapper
507 alwaysOnDisable(mNativePtr, id); in alwaysOnDisable()
/frameworks/native/cmds/idlcli/vibrator/
DCommandAlwaysOnDisable.cpp58 auto status = hal->call(&aidl::IVibrator::alwaysOnDisable, mId); in doMain()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp434 auto disableFn = [&](auto hal) { return hal->alwaysOnDisable(id); }; in __anon599d61ff1002()
451 BENCHMARK_WRAPPER(VibratorEffectsBench, alwaysOnDisable, {
464 auto disableFn = [&](auto hal) { return hal->alwaysOnDisable(id); }; in __anon599d61ff1202()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp83 MOCK_METHOD(Status, alwaysOnDisable, (int32_t id), (override));
284 EXPECT_CALL(*mMockHal.get(), alwaysOnDisable(Eq(1))).Times(Exactly(1)); in TEST_F()
285 EXPECT_CALL(*mMockHal.get(), alwaysOnDisable(Eq(2))) in TEST_F()
289 EXPECT_CALL(*mMockHal.get(), alwaysOnDisable(Eq(3))) in TEST_F()
294 ASSERT_TRUE(mWrapper->alwaysOnDisable(1).isOk()); in TEST_F()
295 ASSERT_TRUE(mWrapper->alwaysOnDisable(2).isUnsupported()); in TEST_F()
296 ASSERT_TRUE(mWrapper->alwaysOnDisable(3).isFailed()); in TEST_F()
DVibratorHalControllerTest.cpp65 MOCK_METHOD(vibrator::HalResult<void>, alwaysOnDisable, (int32_t id), (override));
DVibratorHalWrapperHidlV1_0Test.cpp190 ASSERT_TRUE(mWrapper->alwaysOnDisable(1).isUnsupported()); in TEST_F()
DVibratorManagerHalWrapperAidlTest.cpp79 MOCK_METHOD(Status, alwaysOnDisable, (int32_t id), (override));
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorControllerTest.java170 verify(mNativeWrapperMock).alwaysOnDisable(eq(1L)); in updateAlwaysOn_withNullEffect_disablesAlwaysOnEffect()
179 verify(mNativeWrapperMock, never()).alwaysOnDisable(anyLong()); in updateAlwaysOn_withoutCapability_ignoresEffect()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp249 HalResult<void> AidlHalWrapper::alwaysOnDisable(int32_t id) { in alwaysOnDisable() function in android::vibrator::AidlHalWrapper
250 return HalResultFactory::fromStatus(getHal()->alwaysOnDisable(id)); in alwaysOnDisable()
473 HalResult<void> HidlHalWrapper<I>::alwaysOnDisable(int32_t) { in alwaysOnDisable() function in android::vibrator::HidlHalWrapper
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h360 virtual HalResult<void> alwaysOnDisable(int32_t id) = 0;
432 HalResult<void> alwaysOnDisable(int32_t id) override final;
494 HalResult<void> alwaysOnDisable(int32_t id) override final;
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java177 public void alwaysOnDisable(long id) { in alwaysOnDisable() method in FakeVibratorControllerProvider.FakeNativeWrapper
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp372 return hal->alwaysOnDisable(static_cast<int32_t>(id)); in vibratorAlwaysOnDisable()