Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp128 vibrator::HalResult<T> halCall(const vibrator::HalFunction<vibrator::HalResult<T>>& fn, in halCall() function in android::VibratorControllerWrapper
224 return wrapper->halCall<void>(pingFn, "ping").isOk() ? JNI_TRUE : JNI_FALSE; in vibratorIsAvailable()
238 auto result = wrapper->halCall<void>(onFn, "on"); in vibratorOn()
249 wrapper->halCall<void>(offFn, "off"); in vibratorOff()
262 wrapper->halCall<void>(setAmplitudeFn, "setAmplitude"); in vibratorSetAmplitude()
275 wrapper->halCall<void>(setExternalControlFn, "setExternalControl"); in vibratorSetExternalControl()
291 auto result = wrapper->halCall<std::chrono::milliseconds>(performEffectFn, "performEffect"); in vibratorPerformEffect()
312 auto result = wrapper->halCall<std::chrono::milliseconds>(performComposedEffectFn, in vibratorPerformComposedEffect()
347 auto result = wrapper->halCall<void>(performPwleEffectFn, "performPwleEffect"); in vibratorPerformPwleEffect()
362 wrapper->halCall<void>(alwaysOnEnableFn, "alwaysOnEnable"); in vibratorAlwaysOnEnable()
[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.h109 R halCall(R (I::*fn)(Args0...), Args1&&... args1) { in halCall() function
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java3902 public static DriverCall convertToDriverCall(Object halCall) { in convertToDriverCall() argument
3907 if (halCall instanceof android.hardware.radio.V1_6.Call) { in convertToDriverCall()
3908 call16 = (android.hardware.radio.V1_6.Call) halCall; in convertToDriverCall()
3911 } else if (halCall instanceof android.hardware.radio.V1_2.Call) { in convertToDriverCall()
3913 call12 = (android.hardware.radio.V1_2.Call) halCall; in convertToDriverCall()
3959 public static DriverCall convertToDriverCall(android.hardware.radio.voice.Call halCall) { in convertToDriverCall() argument
3961 dc.state = DriverCall.stateFromCLCC(halCall.state); in convertToDriverCall()
3962 dc.index = halCall.index; in convertToDriverCall()
3963 dc.TOA = halCall.toa; in convertToDriverCall()
3964 dc.isMpty = halCall.isMpty; in convertToDriverCall()
[all …]