Home
last modified time | relevance | path

Searched refs:braking (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/vibrator/aidl/default/
DVibrator.cpp381 case PrimitivePwle::braking: { in composePwle()
382 auto braking = e.get<PrimitivePwle::braking>(); in composePwle() local
383 if (braking.braking > Braking::CLAB) { in composePwle()
386 if (braking.duration > COMPOSE_PWLE_PRIMITIVE_DURATION_MAX_MS) { in composePwle()
390 constructBrakingSegment(pwleBuilder, segmentIdx, 0, braking.braking); in composePwle()
393 constructBrakingSegment(pwleBuilder, segmentIdx, braking.duration, braking.braking); in composePwle()
397 totalDuration += braking.duration; in composePwle()
/hardware/google/pixel/vibrator/cs40l26/
DVibrator.cpp1159 case PrimitivePwle::braking: { in composePwle()
1160 auto braking = e.get<PrimitivePwle::braking>(); in composePwle() local
1161 if (braking.braking > Braking::CLAB) { in composePwle()
1164 toString(braking.braking).c_str()); in composePwle()
1166 } else if (!isClabSupported && (braking.braking == Braking::CLAB)) { in composePwle()
1172 if (braking.duration > COMPOSE_PWLE_PRIMITIVE_DURATION_MAX_MS) { in composePwle()
1174 ALOGE("%s: #%u: braking: Invalid duration %d", __func__, c, braking.duration); in composePwle()
1178 if (ch.constructBrakingSegment(0, braking.braking) < 0) { in composePwle()
1181 toString(braking.braking).c_str()); in composePwle()
1186 if (ch.constructBrakingSegment(braking.duration, braking.braking) < 0) { in composePwle()
[all …]
DTrace.cpp95 case PrimitivePwle::braking: { in operator <<()
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/current/android/hardware/vibrator/
DBrakingPwle.aidl37 android.hardware.vibrator.Braking braking;
DPrimitivePwle.aidl38 android.hardware.vibrator.BrakingPwle braking;
/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/2/android/hardware/vibrator/
DBrakingPwle.aidl37 android.hardware.vibrator.Braking braking;
DPrimitivePwle.aidl38 android.hardware.vibrator.BrakingPwle braking;
/hardware/interfaces/vibrator/aidl/android/hardware/vibrator/
DBrakingPwle.aidl32 Braking braking;
DPrimitivePwle.aidl25 BrakingPwle braking;
/hardware/google/pixel/vibrator/cs40l25/
DVibrator.cpp979 case PrimitivePwle::braking: { in composePwle()
980 auto braking = e.get<PrimitivePwle::braking>(); in composePwle() local
981 if (braking.braking > Braking::CLAB) { in composePwle()
985 if (braking.duration > COMPOSE_PWLE_PRIMITIVE_DURATION_MAX_MS) { in composePwle()
990 constructBrakingSegment(pwleBuilder, segmentIdx, braking.duration, braking.braking, in composePwle()
995 totalDuration += braking.duration; in composePwle()
/hardware/interfaces/vibrator/aidl/vts/
DVtsHalVibratorTargetTest.cpp753 firstBraking.braking = isClabSupported ? Braking::CLAB : Braking::NONE; in TEST_P()
765 secondBraking.braking = Braking::NONE; in TEST_P()
796 BrakingPwle braking; in TEST_P() local
797 braking.braking = isClabSupported ? Braking::CLAB : Braking::NONE; in TEST_P()
798 braking.duration = 100; in TEST_P()
800 auto pwleQueue = std::vector<PrimitivePwle>{active, braking, active}; in TEST_P()
/hardware/interfaces/input/common/1.0/
Dtypes.hal261 * The value is normalized to a range from 0.0 (no braking) to 1.0 (maximum braking).