/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | HapticFeedbackVibrationProvider.java | 109 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 …]
|
D | VibrationThread.java | 165 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()
|
D | PerformPrebakedVibratorStep.java | 64 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()
|
D | Step.java | 41 protected HalVibration getVibration() { in getVibration() method in Step 42 return conductor.getVibration(); in getVibration()
|
D | AbstractVibratorStep.java | 129 getVibration().stats.reportVibratorOff(); in stopVibrating() 139 getVibration().stats.reportSetAmplitude(); in changeAmplitude() 173 getVibration().stats.reportRepetition(loopSegmentsPlayed / loopSize); in nextSteps()
|
D | FinishSequentialEffectStep.java | 55 conductor.getVibration().callerInfo.uid); in play() 73 conductor.getVibration().callerInfo.uid); in cancelImmediately()
|
D | ComposePrimitivesVibratorStep.java | 74 long vibratorOnResult = controller.on(primitivesArray, getVibration().id); in play() 76 getVibration().stats.reportComposePrimitives(vibratorOnResult, primitivesArray); in play()
|
D | ComposePwleVibratorStep.java | 72 long vibratorOnResult = controller.on(pwlesArray, getVibration().id); in play() 74 getVibration().stats.reportComposePwle(vibratorOnResult, pwlesArray); in play()
|
D | VibratorManagerService.java | 541 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 …]
|
D | SetAmplitudeVibratorStep.java | 162 long vibratorOnResult = controller.on(duration, getVibration().id); in startVibrating() 164 getVibration().stats.reportVibratorOn(vibratorOnResult); in startVibrating()
|
D | StartSequentialEffectStep.java | 96 conductor.getVibration().callerInfo.uid, mVibratorsOnMaxDuration); in play() 213 getVibration().id); in startVibrating()
|
D | VibrationStepConductor.java | 184 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/ |
D | NotificationRecordTest.java | 353 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 …]
|
D | NotificationAttentionHelperTest.java | 1028 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/ |
D | NotificationIntrusivenessExtractor.java | 55 if (record.getVibration() != null) { in process()
|
D | NotificationRecord.java | 475 proto.write(NotificationRecordProto.CAN_VIBRATE, getVibration() != null); in dump() 1201 public VibrationEffect getVibration() { in getVibration() method in NotificationRecord
|
D | NotificationAttentionHelper.java | 410 VibrationEffect vibration = record.getVibration(); in buzzBeepBlinkLocked()
|
D | NotificationManagerService.java | 10647 record.getSound() != null || record.getVibration() != null,
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationThreadTest.java | 1794 return mVibrationConductor.getVibration().id; in startThreadAndDispatcher()
|
/frameworks/base/services/ |
D | art-wear-profile | 16280 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…
|