Lines Matching refs:braking
1159 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()
1189 __func__, c, toString(braking.braking).c_str(), braking.duration); in composePwle()
1195 totalDuration += braking.duration; in composePwle()