Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintUtils.java76 Vibrator vibrator = context.getSystemService(Vibrator.class); in vibrateFingerprintError() local
77 if (vibrator != null) { in vibrateFingerprintError()
78 vibrator.vibrate(FP_ERROR_VIBRATE_PATTERN, -1); in vibrateFingerprintError()
83 Vibrator vibrator = context.getSystemService(Vibrator.class); in vibrateFingerprintSuccess() local
84 if (vibrator != null) { in vibrateFingerprintSuccess()
85 vibrator.vibrate(FP_SUCCESS_VIBRATE_PATTERN, -1); in vibrateFingerprintSuccess()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp1537 std::unique_ptr<FILE, int(*)(FILE*)> vibrator(NULL, fclose); in main() local
1539 vibrator.reset(fopen("/sys/class/timed_output/vibrator/enable", "we")); in main()
1540 if (vibrator) { in main()
1541 vibrate(vibrator.get(), 150); in main()
1719 if (vibrator) { in main()
1721 vibrate(vibrator.get(), 75); in main()
Ddumpstate.h197 void vibrate(FILE* vibrator, int ms);
Dutils.cpp1235 void vibrate(FILE* vibrator, int ms) { in vibrate() argument
1236 fprintf(vibrator, "%d\n", ms); in vibrate()
1237 fflush(vibrator); in vibrate()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java572 Vibrator vibrator = device.getVibrator(); in updateInputDeviceVibrators() local
573 if (vibrator.hasVibrator()) { in updateInputDeviceVibrators()
574 mInputDeviceVibrators.add(vibrator); in updateInputDeviceVibrators()
/frameworks/base/services/java/com/android/server/
DSystemServer.java525 VibratorService vibrator = null; in startOtherServices() local
609 vibrator = new VibratorService(context); in startOtherServices()
610 ServiceManager.addService("vibrator", vibrator); in startOtherServices()
1227 vibrator.systemReady(); in startOtherServices()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java651 Vibrator vibrator = new SystemVibrator(context); in rebootOrShutdown() local
653 vibrator.vibrate(SHUTDOWN_VIBRATE_MS, VIBRATION_ATTRIBUTES); in rebootOrShutdown()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java158 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in GlobalActions() local
159 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in GlobalActions()
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dservices.jd207 including connecting to user feedback system services, such as the audio manager or device vibrator.
230 services, such as the audio manager or device vibrator.</li>
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java614 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in AudioService() local
615 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator(); in AudioService()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java903 void setVibrator(Vibrator vibrator) { in setVibrator() argument
904 mVibrator = vibrator; in setVibrator()
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd1417 <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/opt/setupwizard/tools/docs/
Dandroid-22.txt7283 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
/frameworks/base/api/
Dcurrent.txt8223 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
Dsystem-current.txt8556 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";
Dtest-current.txt8234 field public static final java.lang.String VIBRATOR_SERVICE = "vibrator";