Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DVibratorService.java379 Vibration vib = new Vibration(token, effect, usageHint, uid, opPkg); in vibrate() local
385 token.linkToDeath(vib, 0); in vibrate()
396 startVibrationLocked(vib); in vibrate()
397 addToPreviousVibrationsLocked(vib); in vibrate()
404 private void addToPreviousVibrationsLocked(Vibration vib) { in addToPreviousVibrationsLocked() argument
409 vib.mStartTime, vib.mEffect, vib.mUsageHint, vib.mUid, vib.mOpPkg)); in addToPreviousVibrationsLocked()
462 private void startVibrationLocked(final Vibration vib) { in startVibrationLocked() argument
463 if (!isAllowedToVibrate(vib)) { in startVibrationLocked()
470 if (vib.mUsageHint == AudioAttributes.USAGE_NOTIFICATION_RINGTONE && in startVibrationLocked()
478 final int mode = getAppOpMode(vib); in startVibrationLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java3905 android.os.Vibrator vib = (android.os.Vibrator)mContext.getSystemService( in vibrate() local
3907 vib.vibrate(250, VIBRATION_ATTRIBUTES); in vibrate()