Home
last modified time | relevance | path

Searched refs:getVibration (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vibrator/
DHapticFeedbackVibrationProvider.java109 return getVibration(effectId, VibrationEffect.EFFECT_TICK); in getVibrationForHapticFeedback()
118 return getVibration(effectId, VibrationEffect.EFFECT_TEXTURE_TICK); in getVibrationForHapticFeedback()
126 return getVibration( in getVibrationForHapticFeedback()
139 return getVibration(effectId, VibrationEffect.EFFECT_CLICK); in getVibrationForHapticFeedback()
145 return getVibration(effectId, VibrationEffect.EFFECT_HEAVY_CLICK); in getVibrationForHapticFeedback()
149 return getVibration(effectId, VibrationEffect.EFFECT_DOUBLE_CLICK); in getVibrationForHapticFeedback()
158 return getVibration( in getVibrationForHapticFeedback()
165 return getVibration( in getVibrationForHapticFeedback()
172 return getVibration( in getVibrationForHapticFeedback()
257 private VibrationEffect getVibration(int effectId, int predefinedVibrationEffectId) { in getVibration() method in HapticFeedbackVibrationProvider
[all …]
DVibrationThread.java165 mExecutingConductor.getVibration().id); in run()
228 && mRequestedActiveConductor.getVibration().id == id); in isRunningVibrationId()
235 mExecutingConductor.getVibration().callerInfo.uid); in runCurrentVibrationWithWakeLock()
256 IBinder vibrationBinderToken = mExecutingConductor.getVibration().callerToken; in runCurrentVibrationWithWakeLockAndDeathLink()
285 mExecutingConductor.getVibration().id, vibrationEndInfo); in clientVibrationCompleteIfNotAlready()
DPerformPrebakedVibratorStep.java64 VibrationEffect fallback = getVibration().getFallback(prebaked.getEffectId()); in play()
65 long vibratorOnResult = controller.on(prebaked, getVibration().id); in play()
67 getVibration().stats.reportPerformEffect(vibratorOnResult, prebaked); in play()
DStep.java41 protected HalVibration getVibration() { in getVibration() method in Step
42 return conductor.getVibration(); in getVibration()
DAbstractVibratorStep.java129 getVibration().stats.reportVibratorOff(); in stopVibrating()
139 getVibration().stats.reportSetAmplitude(); in changeAmplitude()
173 getVibration().stats.reportRepetition(loopSegmentsPlayed / loopSize); in nextSteps()
DFinishSequentialEffectStep.java55 conductor.getVibration().callerInfo.uid); in play()
73 conductor.getVibration().callerInfo.uid); in cancelImmediately()
DComposePrimitivesVibratorStep.java74 long vibratorOnResult = controller.on(primitivesArray, getVibration().id); in play()
76 getVibration().stats.reportComposePrimitives(vibratorOnResult, primitivesArray); in play()
DComposePwleVibratorStep.java72 long vibratorOnResult = controller.on(pwlesArray, getVibration().id); in play()
74 getVibration().stats.reportComposePwle(vibratorOnResult, pwlesArray); in play()
DVibratorManagerService.java541 if (mCurrentVibration.getVibration().canPipelineWith(vib)) { in vibrateInternal()
551 mCurrentVibration.getVibration().callerInfo); in vibrateInternal()
589 && shouldCancelVibration(mNextVibration.getVibration(), in cancelVibrate()
594 && shouldCancelVibration(mCurrentVibration.getVibration(), in cancelVibrate()
665 mCurrentVibration.getVibration().getDebugInfo().dump(pw); in dumpText()
675 mNextVibration.getVibration().getDebugInfo().dump(pw); in dumpText()
710 mCurrentVibration.getVibration().getDebugInfo().dump(proto, in dumpProto()
758 HalVibration vib = mCurrentVibration.getVibration(); in updateServiceState()
832 HalVibration vib = conductor.getVibration(); in startVibrationOnThreadLocked()
964 HalVibration vib = mCurrentVibration.getVibration(); in reportFinishedVibrationLocked()
[all …]
DSetAmplitudeVibratorStep.java162 long vibratorOnResult = controller.on(duration, getVibration().id); in startVibrating()
164 getVibration().stats.reportVibratorOn(vibratorOnResult); in startVibrating()
DStartSequentialEffectStep.java96 conductor.getVibration().callerInfo.uid, mVibratorsOnMaxDuration); in play()
213 getVibration().id); in startVibrating()
DVibrationStepConductor.java184 public HalVibration getVibration() { in getVibration() method in VibrationStepConductor
309 Slog.d(TAG, "Playing vibration id " + getVibration().id in runNextStep()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java353 assertNotNull(record.getVibration()); in testVibration_default_preUpgradeUsesNotification()
366 CUSTOM_NOTIFICATION_VIBRATION, /* insistent= */ false), record.getVibration()); in testVibration_custom_preUpgradeUsesNotification()
380 CUSTOM_NOTIFICATION_VIBRATION, /* insistent= */ false), record.getVibration()); in testVibration_custom_userLocked_preUpgrade()
391 CUSTOM_CHANNEL_VIBRATION_PATTERN, /* insistent= */ false), record.getVibration()); in testVibration_customPattern_nonInsistent_usesCustomPattern()
402 CUSTOM_CHANNEL_VIBRATION_PATTERN, /* insistent= */ true), record.getVibration()); in testVibration_customPattern_insistent_createsInsistentEffect()
413 VibrationEffect effect = record.getVibration(); in testVibration_customEffect_flagNotEnabled_usesDefaultEffect()
426 VibrationEffect effect = record.getVibration(); in testVibration_customEffect_effectNotSupported_usesDefaultEffect()
438 assertEquals(CUSTOM_CHANNEL_VIBRATION_EFFECT, record.getVibration()); in testVibration_customNonRepeatingEffect_nonInsistent_usesCustomEffect()
451 assertEquals(repeatingEffect, record.getVibration()); in testVibration_customNonRepeatingEffect_insistent_createsInsistentEffect()
463 assertEquals(CUSTOM_CHANNEL_VIBRATION_EFFECT, record.getVibration()); in testVibration_customRepeatingEffect_nonInsistent_createsNonRepeatingCustomEffect()
[all …]
DNotificationAttentionHelperTest.java1028 verifyDelayedVibrate(r.getVibration()); in testNoDemoteSoundToVibrateIfVibrateGiven()
1037 assertNull(r.getVibration()); in testNoDemoteSoundToVibrateIfNonNotificationStream()
1057 assertNull(r.getVibration()); in testDemoteSoundToVibrate()
1079 assertNull(r.getVibration()); in testDemoteInsistentSoundToVibrate()
2116 verifyDelayedVibrate(r.getVibration()); in testStartFlashNotificationEvent_receiveBuzzyBeepyNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationIntrusivenessExtractor.java55 if (record.getVibration() != null) { in process()
DNotificationRecord.java475 proto.write(NotificationRecordProto.CAN_VIBRATE, getVibration() != null); in dump()
1201 public VibrationEffect getVibration() { in getVibration() method in NotificationRecord
DNotificationAttentionHelper.java410 VibrationEffect vibration = record.getVibration(); in buzzBeepBlinkLocked()
DNotificationManagerService.java10647 record.getSound() != null || record.getVibration() != null,
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java1794 return mVibrationConductor.getVibration().id; in startThreadAndDispatcher()
/frameworks/base/services/
Dart-wear-profile16280 PLcom/android/server/notification/NotificationRecord;->getVibration()Landroid/os/VibrationEffect;
24765 PLcom/android/server/vibrator/Step;->getVibration()Lcom/android/server/vibrator/HalVibration;
24869 PLcom/android/server/vibrator/VibrationStepConductor;->getVibration()Lcom/android/server/vibrator/H…