Home
last modified time | relevance | path

Searched defs:vibrationId (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationThreadTest.java160 long vibrationId = conductor.getVibration().id; in vibrate_noVibrator_ignoresVibration() local
174 long vibrationId = conductor.getVibration().id; in vibrate_missingVibrators_ignoresVibration() local
187 long vibrationId = conductor.getVibration().id; in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local
206 long vibrationId = conductor.getVibration().id; in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local
228 long vibrationId = conductor.getVibration().id; in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
252 long vibrationId = conductor.getVibration().id; in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() local
295 long vibrationId = conductor.getVibration().id; in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local
327 long vibrationId = conductor.getVibration().id; in vibrate_singleVibratorRepeatingPwle_generatesLargestPwles() local
358 long vibrationId = conductor.getVibration().id; in vibrate_singleVibratorRepeatingPrimitives_generatesLargestComposition() local
383 long vibrationId = conductor.getVibration().id; in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local
[all …]
H A DFakeVibratorControllerProvider.java72 void recordEffectSegment(long vibrationId, VibrationEffectSegment segment) { in recordEffectSegment()
76 void recordBraking(long vibrationId, int braking) { in recordBraking()
98 public long on(long milliseconds, long vibrationId) { in on()
119 public long perform(long effect, long strength, long vibrationId) { in perform()
132 public long compose(PrimitiveSegment[] primitives, long vibrationId) { in compose()
152 public long composePwle(RampSegment[] primitives, int braking, long vibrationId) { in composePwle()
207 private void scheduleListener(long vibrationDuration, long vibrationId) { in scheduleListener()
332 public List<Integer> getBraking(long vibrationId) { in getBraking()
341 public List<VibrationEffectSegment> getEffectSegments(long vibrationId) { in getEffectSegments()
/aosp14/frameworks/base/services/core/java/com/android/server/vibrator/
H A DVibratorController.java62 void onComplete(int vibratorId, long vibrationId); in onComplete()
245 public long on(long milliseconds, long vibrationId) { in on()
265 public long on(PrebakedSegment prebaked, long vibrationId) { in on()
286 public long on(PrimitiveSegment[] primitives, long vibrationId) { in on()
308 public long on(RampSegment[] primitives, long vibrationId) { in on()
403 long vibrationId); in performEffect()
406 long vibrationId); in performComposedEffect()
409 int braking, long vibrationId); in performPwleEffect()
441 public long on(long milliseconds, long vibrationId) { in on()
456 public long perform(long effect, long strength, long vibrationId) { in perform()
[all …]
H A DVibrationThread.java59 boolean triggerSyncedVibration(long vibrationId); in triggerSyncedVibration()
79 void onVibrationCompleted(long vibrationId, @NonNull Vibration.EndInfo vibrationEndInfo); in onVibrationCompleted()
85 void onVibrationThreadReleased(long vibrationId); in onVibrationThreadReleased()
H A DVibratorManagerService.java187 static native boolean nativeTriggerSynced(long nativeServicePtr, long vibrationId); in nativeTriggerSynced()
822 private void onSyncedVibrationComplete(long vibrationId) { in onSyncedVibrationComplete()
834 private void onVibrationComplete(int vibratorId, long vibrationId) { in onVibrationComplete()
1299 public boolean triggerSyncedVibration(long vibrationId) { in triggerSyncedVibration()
1341 public void onVibrationCompleted(long vibrationId, Vibration.EndInfo vibrationEndInfo) { in onVibrationCompleted()
1354 public void onVibrationThreadReleased(long vibrationId) { in onVibrationThreadReleased()
1395 void onComplete(long vibrationId); in onComplete()
1410 public void onComplete(long vibrationId) { in onComplete()
1418 public void onComplete(int vibratorId, long vibrationId) { in onComplete()
1570 public boolean triggerSynced(long vibrationId) { in triggerSynced()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_vibrator_VibratorManagerService.cpp55 std::function<void()> createCallback(jlong vibrationId) { in createCallback()
138 jlong vibrationId) { in nativeTriggerSynced()
H A Dcom_android_server_vibrator_VibratorController.cpp133 std::function<void()> createCallback(jlong vibrationId) { in createCallback()
217 jlong vibrationId) { in vibratorOn()
267 jlong strength, jlong vibrationId) { in vibratorPerformEffect()
284 jobjectArray composition, jlong vibrationId) { in vibratorPerformComposedEffect()
306 jobjectArray waveform, jint brakingId, jlong vibrationId) { in vibratorPerformPwleEffect()