Home
last modified time | relevance | path

Searched refs:pwle (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/vibratorservice/test/
Dtest_utils.h63 ActivePwle pwle; in createActivePwle() local
64 pwle.startAmplitude = startAmplitude; in createActivePwle()
65 pwle.endAmplitude = endAmplitude; in createActivePwle()
66 pwle.startFrequency = startFrequency; in createActivePwle()
67 pwle.endFrequency = endFrequency; in createActivePwle()
68 pwle.duration = duration.count(); in createActivePwle()
69 return pwle; in createActivePwle()
73 BrakingPwle pwle; in createBrakingPwle() local
74 pwle.braking = braking; in createBrakingPwle()
75 pwle.duration = duration.count(); in createBrakingPwle()
[all …]
/frameworks/native/cmds/idlcli/vibrator/
DCommandComposePwle.cpp108 PrimitivePwle pwle; in doArgs() local
138 pwle = active; in doArgs()
151 pwle = braking; in doArgs()
156 mCompositePwle.emplace_back(std::move(pwle)); in doArgs()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp148 aidl::BrakingPwle pwle; in brakingPwle() local
149 pwle.braking = braking; in brakingPwle()
150 pwle.duration = duration; in brakingPwle()
151 return pwle; in brakingPwle()
155 aidl::ActivePwle pwle; in activePwleFromJavaPrimitive() local
156 pwle.startAmplitude = in activePwleFromJavaPrimitive()
158 pwle.endAmplitude = static_cast<float>(env->GetFloatField(ramp, sRampClassInfo.endAmplitude)); in activePwleFromJavaPrimitive()
159 pwle.startFrequency = in activePwleFromJavaPrimitive()
161 pwle.endFrequency = static_cast<float>(env->GetFloatField(ramp, sRampClassInfo.endFrequency)); in activePwleFromJavaPrimitive()
162 pwle.duration = static_cast<int32_t>(env->GetIntField(ramp, sRampClassInfo.duration)); in activePwleFromJavaPrimitive()
[all …]