/aosp12/frameworks/native/services/vibratorservice/test/ |
H A D | test_utils.h | 61 float endAmplitude, float endFrequency, in createActivePwle() argument 65 pwle.endAmplitude = endAmplitude; in createActivePwle()
|
/aosp12/frameworks/base/core/java/android/os/vibrator/ |
H A D | RampSegment.java | 47 public RampSegment(float startAmplitude, float endAmplitude, float startFrequency, in RampSegment() argument 50 mEndAmplitude = endAmplitude; in RampSegment()
|
/aosp12/frameworks/base/services/core/jni/ |
H A D | com_android_server_vibrator_VibratorController.cpp | 63 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 D | Vibrator.cpp | 334 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 D | CommandComposePwle.cpp | 122 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 D | ActivePwle.aidl | 39 float endAmplitude;
|
/aosp12/hardware/interfaces/vibrator/aidl/aidl_api/android.hardware.vibrator/current/android/hardware/vibrator/ |
H A D | ActivePwle.aidl | 39 float endAmplitude;
|
/aosp12/hardware/interfaces/vibrator/aidl/android/hardware/vibrator/ |
H A D | ActivePwle.aidl | 40 float endAmplitude;
|
/aosp12/hardware/google/pixel/vibrator/cs40l25/ |
H A D | Vibrator.cpp | 725 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 D | vibratormanagerservice.proto | 35 optional float endAmplitude = 3; field
|
/aosp12/hardware/google/pixel/vibrator/cs40l26/ |
H A D | Vibrator.cpp | 862 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 D | VtsHalVibratorTargetTest.cpp | 197 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 D | VibrationThreadTest.java | 1363 private VibrationEffectSegment expectedRamp(float startAmplitude, float endAmplitude, in expectedRamp() argument 1365 return new RampSegment(startAmplitude, endAmplitude, startFrequency, endFrequency, in expectedRamp()
|