Home
last modified time | relevance | path

Searched refs:vibrator (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/cmds/dumpstate/
Ddumpstate.c349 FILE *vibrator = fopen("/sys/class/timed_output/vibrator/enable", "w"); in main() local
350 if (vibrator) fcntl(fileno(vibrator), F_SETFD, FD_CLOEXEC); in main()
425 } else if (vibrator) { in main()
426 fputs("150", vibrator); in main()
427 fflush(vibrator); in main()
434 } else if (vibrator) { in main()
437 fputs("75\n", vibrator); in main()
438 fflush(vibrator); in main()
441 fclose(vibrator); in main()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DVolumeController.java47 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in VolumeController() local
48 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator(); in VolumeController()
/frameworks/base/services/java/com/android/server/
DVibratorService.java366 Vibrator vibrator = device.getVibrator(); in updateInputDeviceVibrators() local
367 if (vibrator.hasVibrator()) { in updateInputDeviceVibrators()
368 mInputDeviceVibrators.add(vibrator); in updateInputDeviceVibrators()
DSystemServer.java120 VibratorService vibrator = null; in run() local
214 vibrator = new VibratorService(context); in run()
215 ServiceManager.addService("vibrator", vibrator); in run()
675 vibrator.systemReady(); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSearchPanelView.java186 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate() local
187 vibrator.vibrate(res.getInteger(R.integer.config_search_panel_view_vibration_duration)); in vibrate()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DLockScreen.java472 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in LockScreen() local
473 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator(); in LockScreen()
DGlobalActions.java117 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in GlobalActions() local
118 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in GlobalActions()
/frameworks/base/services/java/com/android/server/pm/
DShutdownThread.java497 Vibrator vibrator = new SystemVibrator(); in rebootOrShutdown() local
499 vibrator.vibrate(SHUTDOWN_VIBRATE_MS); in rebootOrShutdown()
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dservices.jd181 including connecting to user feedback system services, such as the audio manager or device vibrator.
204 services, such as the audio manager or device vibrator.</li>
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd214 <h3>Control vibrator on input devices</h3>
216 <p>Among other capabilities, apps can now make use of any <strong>vibrator service</strong> associa…
/frameworks/base/media/java/android/media/
DAudioService.java433 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in AudioService() local
434 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator(); in AudioService()
/frameworks/base/api/
D14.txt5122 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
D15.txt5131 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
Dcurrent.txt5364 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
D16.txt5364 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";