Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationThreadTest.java136 long vibrationId = 1; in vibrate_noVibrator_ignoresVibration() local
148 long vibrationId = 1; in vibrate_missingVibrators_ignoresVibration() local
164 long vibrationId = 1; in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local
183 long vibrationId = 1; in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local
204 long vibrationId = 1; in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
228 long vibrationId = 1; in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() local
263 long vibrationId = 1; in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForASecond() local
285 long vibrationId = 1; in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local
308 long vibrationId = 1; in vibrate_singleVibratorRepeatingAlwaysOnWaveform_turnsVibratorBackOn() local
337 long vibrationId = 1; in vibrate_singleVibratorPredefinedCancel_cancelsVibrationImmediately() local
[all …]
DFakeVibratorControllerProvider.java86 public long on(long milliseconds, long vibrationId) { in on()
105 public long perform(long effect, long strength, long vibrationId) { in perform()
117 public long compose(PrimitiveSegment[] effects, long vibrationId) { in compose()
129 public long composePwle(RampSegment[] primitives, int braking, long vibrationId) { in composePwle()
185 private void scheduleListener(long vibrationDuration, long vibrationId) { in scheduleListener()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorController.java64 void onComplete(int vibratorId, long vibrationId); in onComplete()
229 public long on(long milliseconds, long vibrationId) { in on()
249 public long on(PrebakedSegment prebaked, long vibrationId) { in on()
270 public long on(PrimitiveSegment[] primitives, long vibrationId) { in on()
292 public long on(RampSegment[] primitives, long vibrationId) { in on()
388 private static native long on(long nativePtr, long milliseconds, long vibrationId); in on()
392 long vibrationId); in performEffect()
395 long vibrationId); in performComposedEffect()
398 int braking, long vibrationId); in performPwleEffect()
431 public long on(long milliseconds, long vibrationId) { in on()
[all …]
DVibratorManagerService.java167 static native boolean nativeTriggerSynced(long nativeServicePtr, long vibrationId); in nativeTriggerSynced()
580 private void onSyncedVibrationComplete(long vibrationId) { in onSyncedVibrationComplete()
591 private void onVibrationComplete(int vibratorId, long vibrationId) { in onVibrationComplete()
996 public boolean triggerSyncedVibration(long vibrationId) { in triggerSyncedVibration()
1006 public void onVibrationCompleted(long vibrationId, Vibration.Status status) { in onVibrationCompleted()
1039 void onComplete(long vibrationId); in onComplete()
1054 public void onComplete(long vibrationId) { in onComplete()
1062 public void onComplete(int vibratorId, long vibrationId) { in onComplete()
1161 public boolean triggerSynced(long vibrationId) { in triggerSynced()
DVibrationThread.java88 boolean triggerSyncedVibration(long vibrationId); in triggerSyncedVibration()
94 void onVibrationCompleted(long vibrationId, Vibration.Status status); in onVibrationCompleted()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorManagerService.cpp55 std::function<void()> createCallback(jlong vibrationId) { in createCallback()
138 jlong vibrationId) { in nativeTriggerSynced()
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()