Home
last modified time | relevance | path

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

/frameworks/native/services/vibratorservice/test/
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()
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()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalController.h74 HalResult<T> doWithRetry(const HalFunction<HalResult<T>>& halFn, const char* functionName) { in doWithRetry() function
/frameworks/native/services/vibratorservice/
DVibratorManagerHalWrapper.cpp34 return mController->doWithRetry<void>(pingFn, "ping"); in ping()
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp81 return controller.doWithRetry<R>(halFn, "benchmark"); in halCall()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp130 return mHal->doWithRetry(fn, functionName); in halCall()