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.java157 long vibrationId = 1; in vibrate_noVibrator_ignoresVibration() local
169 long vibrationId = 1; in vibrate_missingVibrators_ignoresVibration() local
185 long vibrationId = 1; in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude() local
204 long vibrationId = 1; in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude() local
225 long vibrationId = 1; in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes() local
249 long vibrationId = 1; in vibrate_singleVibratorRepeatingWaveform_runsVibrationUntilThreadCancelled() local
290 long vibrationId = 1; in vibrate_singleVibratorRepeatingShortAlwaysOnWaveform_turnsVibratorOnForLonger() local
318 long vibrationId = 1; in vibrate_singleVibratorRepeatingPwle_generatesLargestPwles() local
349 long vibrationId = 1; in vibrate_singleVibratorRepeatingPrimitives_generatesLargestComposition() local
378 long vibrationId = 1; in vibrate_singleVibratorRepeatingLongAlwaysOnWaveform_turnsVibratorOnForACycle() local
[all …]
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()
/frameworks/base/services/core/java/com/android/server/vibrator/
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()
396 private static native long on(long nativePtr, long milliseconds, 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()
[all …]
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()
DVibratorManagerService.java191 static native boolean nativeTriggerSynced(long nativeServicePtr, long vibrationId); in nativeTriggerSynced()
817 private void onSyncedVibrationComplete(long vibrationId) { in onSyncedVibrationComplete()
828 private void onVibrationComplete(int vibratorId, long vibrationId) { in onVibrationComplete()
1242 public boolean triggerSyncedVibration(long vibrationId) { in triggerSyncedVibration()
1284 public void onVibrationCompleted(long vibrationId, Vibration.EndInfo vibrationEndInfo) { in onVibrationCompleted()
1297 public void onVibrationThreadReleased(long vibrationId) { in onVibrationThreadReleased()
1337 void onComplete(long vibrationId); in onComplete()
1352 public void onComplete(long vibrationId) { in onComplete()
1360 public void onComplete(int vibratorId, long vibrationId) { in onComplete()
1504 public boolean triggerSynced(long vibrationId) { in triggerSynced()
/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()