Home
last modified time | relevance | path

Searched refs:vib (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DVibratorService.java611 Vibration vib = new Vibration(token, effect, usageHint, uid, opPkg, reason); in vibrate() local
614 && !vib.isNotification() && !vib.isRingtone() && !vib.isAlarm()) { in vibrate()
617 + " usage = " + AudioAttributes.usageToString(vib.usageHint)); in vibrate()
620 linkVibration(vib); in vibrate()
624 startVibrationLocked(vib); in vibrate()
625 addToPreviousVibrationsLocked(vib); in vibrate()
639 private void addToPreviousVibrationsLocked(Vibration vib) { in addToPreviousVibrationsLocked() argument
641 if (vib.isRingtone()) { in addToPreviousVibrationsLocked()
643 } else if (vib.isNotification()) { in addToPreviousVibrationsLocked()
645 } else if (vib.isAlarm()) { in addToPreviousVibrationsLocked()
[all …]
/frameworks/base/core/java/android/os/
DIExternalVibratorService.aidl57 int onExternalVibrationStart(in ExternalVibration vib); in onExternalVibrationStart() argument
62 void onExternalVibrationStop(in ExternalVibration vib); in onExternalVibrationStop() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java2819 android.os.Vibrator vib = (android.os.Vibrator)mContext.getSystemService( in vibrate() local
2821 vib.vibrate(250, VIBRATION_ATTRIBUTES); in vibrate()
/frameworks/base/core/java/android/app/
DNotification.java2362 final long[] vib = that.vibrate = new long[N]; in cloneInto() local
2363 System.arraycopy(vibrate, 0, vib, 0, N); in cloneInto()