Searched defs:vibrate (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/os/
H A DNullVibrator.java45 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { method in class:NullVibrator
52 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, method in class:NullVibrator
H A DVibrator.java62 * @param milliseconds The number of milliseconds to vibrate.
64 public void vibrate(long milliseconds) { method in class:Vibrator
65 vibrate(milliseconds, null);
73 * @param milliseconds The number of milliseconds to vibrate.
79 public void vibrate(long milliseconds, AudioAttributes attributes) { method in class:Vibrator
80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes);
103 public void vibrate(long[] pattern, int repeat) { method in class:Vibrator
104 vibrate(pattern, repeat, null);
131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { method in class:Vibrator
132 vibrate(Proces
140 public abstract void vibrate(int uid, String opPkg, long milliseconds, method in class:Vibrator
148 public abstract void vibrate(int uid, String opPkg, long[] pattern, int repeat, method in class:Vibrator
[all...]
H A DSystemVibrator.java48 Log.w(TAG, "Failed to vibrate; no vibrator service.");
62 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { method in class:SystemVibrator
64 Log.w(TAG, "Failed to vibrate; no vibrator service.");
68 mService.vibrate(uid, opPkg, milliseconds, usageForAttributes(attributes), mToken);
70 Log.w(TAG, "Failed to vibrate.", e);
78 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, method in class:SystemVibrator
81 Log.w(TAG, "Failed to vibrate; no vibrator service.");
92 Log.w(TAG, "Failed to vibrate.", e);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DToneSettings.java29 public boolean vibrate; field in class:ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) { argument
34 this.vibrate = vibrate;
40 vibrate = in.readInt() == 1;
52 dest.writeInt(vibrate ? 1 : 0);
H A DCommandParams.java108 Tone tone, Duration duration, boolean vibrate) {
111 mSettings = new ToneSettings(duration, tone, vibrate);
107 PlayToneParams(CommandDetails cmdDet, TextMessage textMsg, Tone tone, Duration duration, boolean vibrate) argument
/frameworks/wilhelm/src/itf/
H A DIVibra.c22 static SLresult IVibra_Vibrate(SLVibraItf self, SLboolean vibrate) argument
28 thiz->mVibrate = SL_BOOLEAN_FALSE != vibrate; // normalize
45 SLboolean vibrate = thiz->mVibrate; local
47 *pVibrating = vibrate;
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java859 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { method in class:InputManager.InputDeviceVibrator
860 vibrate(new long[] { 0, milliseconds}, -1);
867 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, method in class:InputManager.InputDeviceVibrator
873 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
875 Log.w(TAG, "Failed to vibrate.", ex);
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java528 vibrate(VIBRATE_SHORT);
533 vibrate(VIBRATE_SHORT);
678 private synchronized void vibrate(long duration) { method in class:RotarySelector
687 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
718 vibrate(VIBRATE_LONG);
H A DSlidingTab.java540 vibrate(VIBRATE_SHORT);
823 private synchronized void vibrate(long duration) { method in class:SlidingTab
832 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
850 vibrate(VIBRATE_LONG);
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java276 public void vibrate(int uid, String opPkg, long milliseconds, int usageHint, method in class:VibratorService
461 Slog.w(TAG, "Would be an error: vibrate from uid " + vib.mUid);
605 mInputDeviceVibrators.get(i).vibrate(millis, attributes);
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c574 " -b: play sound file instead of vibrate, at beginning of job\n"
575 " -e: play sound file instead of vibrate, at end of job\n"
576 " -q: disable vibrate\n"
586 static void vibrate(FILE* vibrator, int ms) { function
653 vibrate(vibrator, 150);
736 vibrate(vibrator, 75);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogController.java246 public void vibrate() { method in class:VolumeDialogController
248 mVibrator.vibrate(VIBRATE_HINT_DURATION);
/frameworks/native/services/inputflinger/
H A DEventHub.cpp622 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) { function in class:android::EventHub
H A DInputReader.cpp741 void InputReader::vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, function in class:android::InputReader
748 device->vibrate(pattern, patternSize, repeat, token);
1135 void InputDevice::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, function in class:android::InputDevice
1140 mapper->vibrate(pattern, patternSize, repeat, token);
1864 void InputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, function in class:android::InputMapper
1989 void VibratorInputMapper::vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, function in class:android::VibratorInputMapper
1999 ALOGD("vibrate: deviceId=%d, pattern=[%s], repeat=%ld, token=%d",
2048 ALOGD("nextStep: sending vibrate deviceId=%d, duration=%lld",
2051 getEventHub()->vibrate(getDeviceId(), duration);
2054 ALOGD("nextStep: sending cancel vibrate deviceI
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java1285 public void vibrate(int deviceId, long[] pattern, int repeat, IBinder token) { method in class:InputManagerService
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp689 virtual void vibrate(int32_t, nsecs_t) { function in class:android::FakeEventHub
/frameworks/base/core/java/android/app/
H A DNotification.java112 * Use the default notification vibrate. This will ignore any given
113 * {@link #vibrate}. Using phone vibration requires the
328 * The pattern with which to vibrate.
331 * To vibrate the default pattern, see {@link #defaults}.
338 * @see android.os.Vibrator#vibrate(long[],int)
340 public long[] vibrate; field in class:Notification
417 * set if you would only like the sound, vibrate and ticker to be played
1450 vibrate = parcel.createLongArray();
1530 final long[] vibrate = this.vibrate;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java3141 void vibrate() { method in class:PhoneStatusBar
3144 vib.vibrate(250, VIBRATION_ATTRIBUTES);
3149 vibrate();
3161 vibrate();

Completed in 675 milliseconds