Home
last modified time | relevance | path

Searched refs:halCall (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp208 R halCall(R (I::* fn)(Args0...), Args1&&... args1) { in halCall() function
231 halCall(&V1_0::IVibrator::ping).isOk(); in vibratorInit()
245 ok = halCall(&V1_0::IVibrator::ping).isOk(); in vibratorExists()
258 … Status retStatus = halCall(&V1_0::IVibrator::on, timeout_ms).withDefault(Status::UNKNOWN_ERROR); in vibratorOn()
273 Status retStatus = halCall(&V1_0::IVibrator::off).withDefault(Status::UNKNOWN_ERROR); in vibratorOff()
288 return halCall(&V1_0::IVibrator::supportsAmplitudeControl).withDefault(false); in vibratorSupportsAmplitudeControl()
299 Status status = halCall(&V1_0::IVibrator::setAmplitude, static_cast<uint32_t>(amplitude)) in vibratorSetAmplitude()
316 return halCall(&V1_3::IVibrator::supportsExternalControl).withDefault(false); in vibratorSupportsExternalControl()
327 … Status status = halCall(&V1_3::IVibrator::setExternalControl, static_cast<uint32_t>(enabled)) in vibratorSetExternalControl()
364 ret = halCall(&V1_0::IVibrator::perform, static_cast<V1_0::Effect>(effect), in vibratorPerformEffect()
[all …]
/frameworks/native/cmds/idlcli/vibrator/
DCommandSupportsAmplitudeControl.cpp45 auto ret = halCall(&V1_0::IVibrator::supportsAmplitudeControl); in doMain()
DCommandSupportsExternalControl.cpp45 auto ret = halCall(&V1_3::IVibrator::supportsExternalControl); in doMain()
/frameworks/native/cmds/idlcli/
Dvibrator.h90 R halCall(R (I::*fn)(Args0...), Args1&&... args1) { in halCall() function