Searched refs:vibrator (Results 1 - 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
H A D | FingerprintUtils.java | 76 Vibrator vibrator = context.getSystemService(Vibrator.class); 77 if (vibrator != null) { 78 vibrator.vibrate(FP_ERROR_VIBRATE_PATTERN, -1); 83 Vibrator vibrator = context.getSystemService(Vibrator.class); 84 if (vibrator != null) { 85 vibrator.vibrate(FP_SUCCESS_VIBRATE_PATTERN, -1);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_VibratorService.cpp | 25 #include <hardware/vibrator.h> 69 ALOGW("Tried to vibrate but there is no vibrator device."); 81 ALOGW("Tried to stop vibrating but there is no vibrator device.");
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.h | 197 void vibrate(FILE* vibrator, int ms);
|
H A D | dumpstate.cpp | 1304 /* open the vibrator before dropping root */ 1305 std::unique_ptr<FILE, int(*)(FILE*)> vibrator(NULL, fclose); 1307 vibrator.reset(fopen("/sys/class/timed_output/vibrator/enable", "we")); 1308 if (vibrator) { 1309 vibrate(vibrator.get(), 150); 1471 if (vibrator) { 1473 vibrate(vibrator.get(), 75);
|
H A D | utils.cpp | 1234 void vibrate(FILE* vibrator, int ms) { argument 1235 fprintf(vibrator, "%d\n", ms); 1236 fflush(vibrator);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | VibratorService.java | 208 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*vibrator*"); 572 Vibrator vibrator = device.getVibrator(); 573 if (vibrator.hasVibrator()) { 574 mInputDeviceVibrators.add(vibrator); 601 // when reporting whether the device has a vibrator. Applications often use this 604 // the device has a built-in vibrator. 614 Slog.d(TAG, "Turning vibrator on for " + millis + " ms."); 637 Slog.d(TAG, "Turning vibrator off."); 702 // sleep until it is time to start the vibrator 709 // read on-time duration and start the vibrator [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | ShutdownThread.java | 651 Vibrator vibrator = new SystemVibrator(context); 653 vibrator.vibrate(SHUTDOWN_VIBRATE_MS, VIBRATION_ATTRIBUTES); 659 // vibrator is asynchronous so we need to wait to avoid shutting down too soon.
|
/frameworks/base/services/java/com/android/server/ |
H A D | SystemServer.java | 519 VibratorService vibrator = null; 595 vibrator = new VibratorService(context); 596 ServiceManager.addService("vibrator", vibrator); 1206 vibrator.systemReady();
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | GlobalActions.java | 158 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); 159 mHasVibrator = vibrator != null && vibrator.hasVibrator(); 220 // Simple toggle style if there's no vibrator, otherwise use a tri-state
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 395 // Is there a vibrator 614 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); 615 mHasVibrator = vibrator == null ? false : vibrator.hasVibrator(); 3426 "but no vibrator is present"); 3465 // If we don't have a vibrator or they were toggling mute
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 905 void setVibrator(Vibrator vibrator) { argument 906 mVibrator = vibrator; 2917 // Escalate privileges so we can use the vibrator even if the
|
Completed in 641 milliseconds