Home
last modified time | relevance | path

Searched refs:doWithRetry (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/native/services/vibratorservice/test/
H A DVibratorHalControllerTest.cpp129 auto result = mController->doWithRetry<void>(ON_FN, "on"); in TEST_F()
141 auto result = mController->doWithRetry<void>(OFF_FN, "off"); in TEST_F()
154 auto result = mController->doWithRetry<void>(ON_FN, "on"); in TEST_F()
173 auto result = mController->doWithRetry<void>(PING_FN, "ping"); in TEST_F()
188 auto result = mController->doWithRetry<void>(PING_FN, "ping"); in TEST_F()
206 ASSERT_TRUE(mController->doWithRetry<void>(OFF_FN, "off").isUnsupported()); in TEST_F()
207 ASSERT_TRUE(mController->doWithRetry<void>(PING_FN, "ping").isUnsupported()); in TEST_F()
235 ASSERT_TRUE(mController->doWithRetry<void>(onFn, "on").isOk()); in TEST_F()
236 ASSERT_TRUE(mController->doWithRetry<void>(PING_FN, "ping").isFailed()); in TEST_F()
H A DVibratorManagerHalWrapperAidlTest.cpp275 ASSERT_TRUE(vibrator->doWithRetry<void>(OFF_FN, "off").isFailed()); in TEST_F()
277 ASSERT_TRUE(vibrator->doWithRetry<void>(OFF_FN, "off").isOk()); in TEST_F()
/aosp12/frameworks/native/services/vibratorservice/include/vibratorservice/
H A DVibratorHalController.h74 HalResult<T> doWithRetry(const HalFunction<HalResult<T>>& halFn, const char* functionName) { in doWithRetry() function
/aosp12/frameworks/native/services/vibratorservice/
H A DVibratorManagerHalWrapper.cpp34 return mController->doWithRetry<void>(pingFn, "ping"); in ping()
/aosp12/frameworks/native/services/vibratorservice/benchmarks/
H A DVibratorHalControllerBenchmarks.cpp81 return controller.doWithRetry<R>(halFn, "benchmark"); in halCall()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_vibrator_VibratorController.cpp130 return mHal->doWithRetry(fn, functionName); in halCall()