/frameworks/native/services/vibratorservice/test/ |
D | VibratorManagerHalControllerTest.cpp | 47 MOCK_METHOD(vibrator::HalResult<void>, prepareSynced, (const std::vector<int32_t>& ids), 90 EXPECT_CALL(*mMockHal.get(), prepareSynced(_)) in setHalExpectations() 137 ASSERT_TRUE(mController->prepareSynced(VIBRATOR_IDS).isOk()); in TEST_F() 156 ASSERT_TRUE(mController->prepareSynced(VIBRATOR_IDS).isUnsupported()); in TEST_F() 175 ASSERT_TRUE(mController->prepareSynced(VIBRATOR_IDS).isFailed()); in TEST_F()
|
D | VibratorManagerHalWrapperAidlTest.cpp | 98 MOCK_METHOD(Status, prepareSynced, (const std::vector<int32_t>& ids), (override)); 289 EXPECT_CALL(*mMockHal.get(), prepareSynced(Eq(kVibratorIds))) in TEST_F() 297 ASSERT_TRUE(mWrapper->prepareSynced(kVibratorIds).isUnsupported()); in TEST_F() 298 ASSERT_TRUE(mWrapper->prepareSynced(kVibratorIds).isFailed()); in TEST_F() 299 ASSERT_TRUE(mWrapper->prepareSynced(kVibratorIds).isOk()); in TEST_F()
|
D | VibratorManagerHalWrapperLegacyTest.cpp | 120 ASSERT_TRUE(mWrapper->prepareSynced(vibratorIds).isUnsupported()); in TEST_F()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorManagerHalWrapper.h | 78 virtual HalResult<void> prepareSynced(const std::vector<int32_t>& ids) = 0; 98 HalResult<void> prepareSynced(const std::vector<int32_t>& ids) override final; 121 HalResult<void> prepareSynced(const std::vector<int32_t>& ids) override final;
|
D | VibratorManagerHalController.h | 62 HalResult<void> prepareSynced(const std::vector<int32_t>& ids) override final;
|
/frameworks/native/services/vibratorservice/ |
D | VibratorManagerHalWrapper.cpp | 62 HalResult<void> LegacyManagerHalWrapper::prepareSynced(const std::vector<int32_t>&) { in prepareSynced() function in android::vibrator::LegacyManagerHalWrapper 159 HalResult<void> AidlManagerHalWrapper::prepareSynced(const std::vector<int32_t>& ids) { in prepareSynced() function in android::vibrator::AidlManagerHalWrapper 160 auto ret = HalResult<void>::fromStatus(getHal()->prepareSynced(ids)); in prepareSynced()
|
D | VibratorManagerHalController.cpp | 124 HalResult<void> ManagerHalController::prepareSynced(const std::vector<int32_t>& ids) { in prepareSynced() function in android::vibrator::ManagerHalController 126 return hal->prepareSynced(ids); in prepareSynced()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | VibratorManagerServiceTest.java | 700 when(mNativeWrapperMock.prepareSynced(eq(new int[]{1, 2}))).thenReturn(true); 718 verify(mNativeWrapperMock).prepareSynced(eq(new int[]{1, 2})); 734 when(mNativeWrapperMock.prepareSynced(eq(new int[]{1, 2}))).thenReturn(true); 751 verify(mNativeWrapperMock).prepareSynced(eq(new int[]{1, 2})); 775 verify(mNativeWrapperMock, never()).prepareSynced(any()); 784 when(mNativeWrapperMock.prepareSynced(any())).thenReturn(false); 795 verify(mNativeWrapperMock).prepareSynced(eq(new int[]{1, 2})); 804 when(mNativeWrapperMock.prepareSynced(eq(new int[]{1, 2}))).thenReturn(true); 816 verify(mNativeWrapperMock).prepareSynced(eq(new int[]{1, 2}));
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorManagerService.cpp | 134 return service->hal()->prepareSynced(ids).isOk() ? JNI_TRUE : JNI_FALSE; in nativePrepareSynced()
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibratorManagerService.java | 992 return mNativeWrapper.prepareSynced(vibratorIds); in prepareSyncedVibration() 1156 public boolean prepareSynced(@NonNull int[] vibratorIds) { in prepareSynced() method in VibratorManagerService.NativeWrapper
|