Searched refs:doWithRetry (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalControllerTest.cpp | 150 auto result = mController->doWithRetry<void>(ON_FN, "on"); in TEST_F() 161 auto result = mController->doWithRetry<void>(OFF_FN, "off"); in TEST_F() 172 auto result = mController->doWithRetry<void>(ON_FN, "on"); in TEST_F() 183 auto result = mController->doWithRetry<void>(ON_FN, "on"); in TEST_F() 200 auto result = mController->doWithRetry<void>(PING_FN, "ping"); in TEST_F() 215 auto result = mController->doWithRetry<void>(PING_FN, "ping"); in TEST_F() 233 ASSERT_TRUE(mController->doWithRetry<void>(OFF_FN, "off").isUnsupported()); in TEST_F() 234 ASSERT_TRUE(mController->doWithRetry<void>(PING_FN, "ping").isUnsupported()); in TEST_F() 263 ASSERT_TRUE(mController->doWithRetry<void>(onFn, "on").isOk()); in TEST_F() 264 ASSERT_TRUE(mController->doWithRetry<void>(PING_FN, "ping").isFailed()); in TEST_F()
|
D | VibratorManagerHalWrapperAidlTest.cpp | 276 ASSERT_TRUE(vibrator->doWithRetry<void>(OFF_FN, "off").isFailed()); in TEST_F() 278 ASSERT_TRUE(vibrator->doWithRetry<void>(OFF_FN, "off").isOk()); in TEST_F()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalController.h | 96 HalResult<T> doWithRetry(const HalFunction<HalResult<T>>& halFn, const char* functionName) { in doWithRetry() function 97 return doWithRetry<T>(halFn, HalResult<T>::unsupported(), functionName); in doWithRetry() 115 HalResult<T> doWithRetry(const HalFunction<HalResult<T>>& halFn, HalResult<T> defaultValue, in doWithRetry() function
|
/frameworks/native/services/vibratorservice/benchmarks/ |
D | VibratorHalControllerBenchmarks.cpp | 144 return mController.doWithRetry<void>([](auto hal) { return hal->off(); }, "off"); in turnVibratorOff() 149 return mController.doWithRetry<void>(disableExternalControlFn, "setExternalControl false"); in disableExternalControl() 172 return shouldSkipWithError(mController.doWithRetry<R>(halFn, label), state); in shouldSkipWithError()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorManagerHalWrapper.cpp | 34 return mController->doWithRetry<void>(pingFn, "ping"); in ping()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 130 return mHal->doWithRetry(fn, functionName); in halCall()
|