Searched refs:vibrator (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintUtils.java | 71 Vibrator vibrator = context.getSystemService(Vibrator.class); in vibrateFingerprintError() local 72 if (vibrator != null) { in vibrateFingerprintError() 73 vibrator.vibrate(FP_ERROR_VIBRATE_PATTERN, -1); in vibrateFingerprintError() 78 Vibrator vibrator = context.getSystemService(Vibrator.class); in vibrateFingerprintSuccess() local 79 if (vibrator != null) { in vibrateFingerprintSuccess() 80 vibrator.vibrate(FP_SUCCESS_VIBRATE_PATTERN, -1); in vibrateFingerprintSuccess()
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.c | 586 static void vibrate(FILE* vibrator, int ms) { in vibrate() argument 587 fprintf(vibrator, "%d\n", ms); in vibrate() 588 fflush(vibrator); in vibrate() 649 FILE *vibrator = 0; in main() local 651 vibrator = fopen("/sys/class/timed_output/vibrator/enable", "we"); in main() 652 if (vibrator) { in main() 653 vibrate(vibrator, 150); in main() 734 if (vibrator) { in main() 736 vibrate(vibrator, 75); in main() 739 fclose(vibrator); in main()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 551 Vibrator vibrator = device.getVibrator(); in updateInputDeviceVibrators() local 552 if (vibrator.hasVibrator()) { in updateInputDeviceVibrators() 553 mInputDeviceVibrators.add(vibrator); in updateInputDeviceVibrators()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 411 VibratorService vibrator = null; in startOtherServices() local 481 vibrator = new VibratorService(context); in startOtherServices() 482 ServiceManager.addService("vibrator", vibrator); in startOtherServices() 1008 vibrator.systemReady(); in startOtherServices()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 628 Vibrator vibrator = new SystemVibrator(context); in rebootOrShutdown() local 630 vibrator.vibrate(SHUTDOWN_VIBRATE_MS, VIBRATION_ATTRIBUTES); in rebootOrShutdown()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalActions.java | 154 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in GlobalActions() local 155 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in GlobalActions()
|
/frameworks/base/docs/html/guide/topics/ui/accessibility/ |
D | services.jd | 214 including connecting to user feedback system services, such as the audio manager or device vibrator. 237 services, such as the audio manager or device vibrator.</li>
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 586 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in AudioService() local 587 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator(); in AudioService()
|
/frameworks/base/docs/html/about/versions/ |
D | jelly-bean.jd | 1417 <h3>Control vibrator on input devices</h3> 1419 <p>Among other capabilities, apps can now make use of any <strong>vibrator service</strong> associa…
|
/frameworks/base/api/ |
D | current.txt | 7786 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
|
D | system-current.txt | 8033 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
|