Home
last modified time | relevance | path

Searched refs:endAmplitude (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/native/services/vibratorservice/test/
H A Dtest_utils.h61 float endAmplitude, float endFrequency, in createActivePwle() argument
65 pwle.endAmplitude = endAmplitude; in createActivePwle()
/aosp12/frameworks/base/core/java/android/os/vibrator/
H A DRampSegment.java47 public RampSegment(float startAmplitude, float endAmplitude, float startFrequency, in RampSegment() argument
50 mEndAmplitude = endAmplitude; in RampSegment()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_vibrator_VibratorController.cpp63 jfieldID endAmplitude; member
158 pwle.endAmplitude = static_cast<float>(env->GetFloatField(ramp, sRampClassInfo.endAmplitude)); in activePwleFromJavaPrimitive()
169 (activePwle.endAmplitude == 0); in shouldBeReplacedWithBraking()
175 (lastActivePwle.endAmplitude == 0); in shouldAddLastBraking()
483 sRampClassInfo.endAmplitude = GetFieldIDOrDie(env, rampClass, "mEndAmplitude", "F"); in register_android_server_vibrator_VibratorController()
/aosp12/hardware/interfaces/vibrator/aidl/default/
H A DVibrator.cpp334 active.endAmplitude < PWLE_LEVEL_MIN || active.endAmplitude > PWLE_LEVEL_MAX) { in composePwle()
352 active.endAmplitude, active.endFrequency); in composePwle()
355 prevEndAmplitude = active.endAmplitude; in composePwle()
/aosp12/frameworks/native/cmds/idlcli/vibrator/
H A DCommandComposePwle.cpp122 auto endAmplitude = args.pop(); in doArgs() local
124 if (getFloatFromString(*endAmplitude, &endAmp)) in doArgs()
/aosp12/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/2/android/hardware/vibrator/
H A DActivePwle.aidl39 float endAmplitude;
/aosp12/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/current/android/hardware/vibrator/
H A DActivePwle.aidl39 float endAmplitude;
/aosp12/hardware/interfaces/vibrator/aidl/android/hardware/vibrator/
H A DActivePwle.aidl40 float endAmplitude;
/aosp12/hardware/google/pixel/vibrator/cs40l25/
H A DVibrator.cpp725 active.endAmplitude < PWLE_LEVEL_MIN || active.endAmplitude > PWLE_LEVEL_MAX) { in composePwle()
731 if (active.endAmplitude > CS40L2X_PWLE_LEVEL_MAX) { in composePwle()
732 active.endAmplitude = CS40L2X_PWLE_LEVEL_MAX; in composePwle()
750 if (active.endAmplitude > maxLevelLimit) { in composePwle()
751 active.endAmplitude = maxLevelLimit; in composePwle()
762 active.endAmplitude, active.endFrequency); in composePwle()
765 prevEndAmplitude = active.endAmplitude; in composePwle()
/aosp12/frameworks/base/core/proto/android/server/vibrator/
H A Dvibratormanagerservice.proto35 optional float endAmplitude = 3; field
/aosp12/hardware/google/pixel/vibrator/cs40l26/
H A DVibrator.cpp862 active.endAmplitude < PWLE_LEVEL_MIN || active.endAmplitude > PWLE_LEVEL_MAX) { in composePwle()
880 active.endAmplitude, active.endFrequency); in composePwle()
883 prevEndAmplitude = active.endAmplitude; in composePwle()
/aosp12/hardware/interfaces/vibrator/aidl/vts/
H A DVtsHalVibratorTargetTest.cpp197 active.endAmplitude = (getAmplitudeMin() + getAmplitudeMax()) / 2; in composeValidActivePwle()
812 active.endAmplitude = getAmplitudeMax() + 1.0; // Amplitude greater than allowed in TEST_P()
824 active.endAmplitude = getAmplitudeMin() - 1.0; // Amplitude less than allowed in TEST_P()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationThreadTest.java1363 private VibrationEffectSegment expectedRamp(float startAmplitude, float endAmplitude, in expectedRamp() argument
1365 return new RampSegment(startAmplitude, endAmplitude, startFrequency, endFrequency, in expectedRamp()