Home | History | Annotate | Download | only in server

Lines Matching refs:Vibration

97     private Vibration mCurrentVibration;
110 private class Vibration implements IBinder.DeathRecipient {
118 private Vibration(IBinder token, VibrationEffect effect,
137 // If the current effect is a one shot vibration that will end after the given timeout
138 // for the new one shot vibration, then just let the current vibration finish. All
255 return ServiceType.VIBRATION;
365 // If our current vibration is longer than the new vibration and is the same amplitude,
376 Slog.d(TAG, "Ignoring incoming vibration in favor of current vibration");
382 // If the current vibration is repeating and the incoming one is non-repeating, then ignore
383 // the non-repeating vibration. This is so that we don't cancel vibrations that are meant
389 Slog.d(TAG, "Ignoring incoming vibration in favor of alarm vibration");
394 Vibration vib = new Vibration(token, effect, usageHint, uid, opPkg);
429 private void addToPreviousVibrationsLocked(Vibration vib) {
446 Slog.d(TAG, "Canceling vibration.");
475 // Callback for whenever the current vibration has finished played out
478 Slog.e(TAG, "Vibration finished, cleaning up");
481 // Make sure the vibration is really done. This also reports that the vibration is
487 private void startVibrationLocked(final Vibration vib) {
515 private void startVibrationInnerLocked(Vibration vib) {
533 Slog.e(TAG, "Unknown vibration type, ignoring");
537 private boolean isAllowedToVibrate(Vibration vib) {
569 private int getAppOpMode(Vibration vib) {
579 Slog.e(TAG, "Failed to get appop mode for vibration!", e);
596 private void unlinkVibration(Vibration vib) {
657 .getLowPowerState(ServiceType.VIBRATION).batterySaverEnabled;
741 private long doVibratorPrebakedEffectLocked(Vibration vib) {
762 Vibration fallbackVib =
763 new Vibration(vib.mToken, effect, vib.mUsageHint, vib.mUid, vib.mOpPkg);