Home
last modified time | relevance | path

Searched refs:onFn (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp244 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/
DVibratorHalControllerTest.cpp260 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/
Dcom_android_server_vibrator_VibratorController.cpp235 auto onFn = [timeoutMs, &callback](vibrator::HalWrapper* hal) { in vibratorOn() local
238 auto result = wrapper->halCall<void>(onFn, "on"); in vibratorOn()