Home
last modified time | relevance | path

Searched refs:effectInfo (Results 1 - 3 of 3) sorted by relevance

/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/
H A Dcompatible_connection.cpp132 HdfEffectInfo effectInfo; in GetEffectInfo() local
135 effectInfo.isSupportEffect = false; in GetEffectInfo()
136 effectInfo.duration = 0; in GetEffectInfo()
137 return effectInfo; in GetEffectInfo()
139 effectInfo.isSupportEffect = true; in GetEffectInfo()
140 effectInfo.duration = g_vibratorEffect[effect]; in GetEffectInfo()
141 return effectInfo; in GetEffectInfo()
H A Dhdi_connection.cpp129 HdfEffectInfo effectInfo; in GetEffectInfo() local
130 int32_t ret = vibratorInterface_->GetEffectInfo(effect, effectInfo); in GetEffectInfo()
139 return effectInfo; in GetEffectInfo()
/base/sensors/miscdevice/services/miscdevice_service/src/
H A Dmiscdevice_service.cpp380 std::optional<HdfEffectInfo> effectInfo = vibratorHdiConnection_.GetEffectInfo(effect); in PlayVibratorEffect() local
381 if (!effectInfo) { in PlayVibratorEffect()
385 if (!(effectInfo->isSupportEffect)) { in PlayVibratorEffect()
398 .duration = effectInfo->duration, in PlayVibratorEffect()
467 std::optional<HdfEffectInfo> effectInfo = vibratorHdiConnection_.GetEffectInfo(effect); in IsSupportEffect() local
468 if (!effectInfo) { in IsSupportEffect()
472 state = effectInfo->isSupportEffect; in IsSupportEffect()
875 std::optional<HdfEffectInfo> effectInfo = vibratorHdiConnection_.GetEffectInfo(effect); in PlayPrimitiveEffect() local
876 if (!effectInfo) { in PlayPrimitiveEffect()
880 if (!(effectInfo in PlayPrimitiveEffect()
[all...]

Completed in 3 milliseconds