Searched refs:onFn (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/vibratorservice/benchmarks/ |
D | VibratorHalControllerBenchmarks.cpp | 244 auto onFn = [&](auto hal) { return hal->on(duration, cb.completeFn()); }; in __anon599d61ff0602() 248 if (shouldSkipWithError<void>(onFn, "on", state)) { 269 auto onFn = [&](auto hal) { return hal->on(duration, cb.completeFn()); }; in __anon599d61ff0702() 270 if (shouldSkipWithError<void>(onFn, "on", state)) { 297 auto onFn = [&](auto hal) { return hal->on(duration, [&]() {}); }; in __anon599d61ff0a02() 298 if (shouldSkipWithError<void>(onFn, "on", state)) {
|
/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalControllerTest.cpp | 260 auto onFn = [&](vibrator::HalWrapper* hal) { in TEST_F() local 263 ASSERT_TRUE(mController->doWithRetry<void>(onFn, "on").isOk()); in TEST_F()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorController.cpp | 235 auto onFn = [timeoutMs, &callback](vibrator::HalWrapper* hal) { in vibratorOn() local 238 auto result = wrapper->halCall<void>(onFn, "on"); in vibratorOn()
|