Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vibrator/
DVibratorManagerService.java148 && !isSystemHapticFeedback(mCurrentVibration.getVibration())) {
402 && shouldCancelVibration(mNextVibration.getVibration(), in cancelVibrate()
407 && shouldCancelVibration(mCurrentVibration.getVibration(), in cancelVibrate()
474 mCurrentVibration.getVibration().attrs.getUsage())) { in updateServiceState()
536 Vibration vib = vibThread.getVibration(); in startVibrationThreadLocked()
572 Vibration vib = mCurrentVibration.getVibration(); in reportFinishedVibrationLocked()
582 if (mCurrentVibration != null && mCurrentVibration.getVibration().id == vibrationId) { in onSyncedVibrationComplete()
593 if (mCurrentVibration != null && mCurrentVibration.getVibration().id == vibrationId) { in onVibrationComplete()
616 if (mCurrentVibration != null && !mCurrentVibration.getVibration().hasEnded()) { in shouldIgnoreVibrationForCurrentLocked()
617 if (mCurrentVibration.getVibration().attrs.getUsage() in shouldIgnoreVibrationForCurrentLocked()
[all …]
DVibrationThread.java135 Vibration getVibration() { in getVibration() method in VibrationThread
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationIntrusivenessExtractor.java55 if (record.getVibration() != null) { in process()
DNotificationRecord.java439 proto.write(NotificationRecordProto.CAN_VIBRATE, getVibration() != null); in dump()
1074 public VibrationEffect getVibration() { in getVibration() method in NotificationRecord
DNotificationManagerService.java7435 VibrationEffect vibration = record.getVibration();
9304 record.getSound() != null || record.getVibration() != null,
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java322 assertNotNull(record.getVibration()); in testVibration_default_preUpgradeUsesNotification()
335 CUSTOM_VIBRATION, /* insistent= */ false), record.getVibration()); in testVibration_custom_preUpgradeUsesNotification()
349 CUSTOM_VIBRATION, /* insistent= */ false), record.getVibration()); in testVibration_custom_userLocked_preUpgrade()
362 CUSTOM_CHANNEL_VIBRATION, /* insistent= */ false), record.getVibration()); in testVibration_custom_upgradeUsesChannel()
372 CUSTOM_CHANNEL_VIBRATION, /* insistent= */ true), record.getVibration()); in testVibration_insistent_createsInsistentVibrationEffect()
DBuzzBeepBlinkTest.java860 verifyDelayedVibrate(r.getVibration()); in testNoDemoteSoundToVibrateIfVibrateGiven()
869 assertNull(r.getVibration()); in testNoDemoteSoundToVibrateIfNonNotificationStream()
887 assertNull(r.getVibration()); in testDemoteSoundToVibrate()
907 assertNull(r.getVibration()); in testDemoteInsistentSoundToVibrate()
/frameworks/base/services/
Dart-profile27204 HPLcom/android/server/notification/NotificationRecord;->getVibration()Landroid/os/VibrationEffect;
42681 HPLcom/android/server/vibrator/VibrationThread;->getVibration()Lcom/android/server/vibrator/Vibrati…