Home
last modified time | relevance | path

Searched refs:cancelSynced (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/services/vibratorservice/test/
DVibratorManagerHalControllerTest.cpp51 MOCK_METHOD(vibrator::HalResult<void>, cancelSynced, (), (override));
96 EXPECT_CALL(*mMockHal.get(), cancelSynced()) in setHalExpectations()
141 ASSERT_TRUE(mController->cancelSynced().isOk()); in TEST_F()
158 ASSERT_TRUE(mController->cancelSynced().isUnsupported()); in TEST_F()
175 ASSERT_TRUE(mController->cancelSynced().isFailed()); in TEST_F()
192 ASSERT_TRUE(mController->cancelSynced().isFailed()); in TEST_F()
DVibratorManagerHalWrapperAidlTest.cpp100 MOCK_METHOD(Status, cancelSynced, (), (override));
346 EXPECT_CALL(*mMockHal.get(), cancelSynced()) in TEST_F()
352 ASSERT_TRUE(mWrapper->cancelSynced().isUnsupported()); in TEST_F()
353 ASSERT_TRUE(mWrapper->cancelSynced().isFailed()); in TEST_F()
354 ASSERT_TRUE(mWrapper->cancelSynced().isOk()); in TEST_F()
366 EXPECT_CALL(*mMockHal.get(), cancelSynced()).Times(Exactly(1)).WillRepeatedly(Return(Status())); in TEST_F()
369 ASSERT_TRUE(mWrapper->cancelSynced().isOk()); in TEST_F()
DVibratorManagerHalWrapperLegacyTest.cpp122 ASSERT_TRUE(mWrapper->cancelSynced().isUnsupported()); in TEST_F()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorManagerHalWrapper.h80 virtual HalResult<void> cancelSynced() = 0;
100 HalResult<void> cancelSynced() override final;
123 HalResult<void> cancelSynced() override final;
DVibratorManagerHalController.h64 HalResult<void> cancelSynced() override final;
/frameworks/native/services/vibratorservice/
DVibratorManagerHalWrapper.cpp70 HalResult<void> LegacyManagerHalWrapper::cancelSynced() { in cancelSynced() function in android::vibrator::LegacyManagerHalWrapper
185 HalResult<void> AidlManagerHalWrapper::cancelSynced() { in cancelSynced() function in android::vibrator::AidlManagerHalWrapper
186 auto ret = HalResultFactory::fromStatus(getHal()->cancelSynced()); in cancelSynced()
DVibratorManagerHalController.cpp141 HalResult<void> ManagerHalController::cancelSynced() { in cancelSynced() function in android::vibrator::ManagerHalController
143 return hal->cancelSynced(); in cancelSynced()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorManagerService.cpp156 service->hal()->cancelSynced(); in nativeCancelSynced()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java270 mNativeWrapper.cancelSynced(); in VibratorManagerService()
1474 mNativeWrapper.cancelSynced(); in cancelSyncedVibration()
1749 public void cancelSynced() { in cancelSynced() method in VibratorManagerService.NativeWrapper
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java1317 verify(mNativeWrapperMock).cancelSynced(); // Trigger on service creation only. in vibrate_withMultipleVibratorsAndCapabilities_prepareAndTriggerCalled()
1339 verify(mNativeWrapperMock).cancelSynced(); // Trigger on service creation only. in vibrate_withMultipleVibratorsWithoutCapabilities_skipPrepareAndTrigger()
1357 verify(mNativeWrapperMock).cancelSynced(); // Trigger on service creation only. in vibrate_withMultipleVibratorsPrepareFailed_skipTrigger()
1376 verify(mNativeWrapperMock, times(2)).cancelSynced(); // Trigger on service creation too. in vibrate_withMultipleVibratorsTriggerFailed_cancelPreparedSynced()
/frameworks/base/services/
Dart-wear-profile24948 PLcom/android/server/vibrator/VibratorManagerService$NativeWrapper;->cancelSynced()V