Searched refs:vibrate (Results 1 - 25 of 52) sorted by relevance

123

/frameworks/base/core/java/android/os/
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 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 DIVibratorService.aidl23 void vibrate(int uid, String opPkg, long milliseconds, int usageHint, IBinder token);
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.java110 Tone tone, Duration duration, boolean vibrate) {
113 mSettings = new ToneSettings(duration, tone, vibrate);
109 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/tests/permission/src/com/android/framework/permission/tests/
H A DVibratorServicePermissionTest.java44 * Test that calling {@link android.os.IVibratorService#vibrate(long)} requires permissions.
51 mVibratorService.vibrate(Process.myUid(), null, 2000, AudioManager.STREAM_ALARM,
53 fail("vibrate did not throw SecurityException as expected");
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintUtils.java78 vibrator.vibrate(FP_ERROR_VIBRATE_PATTERN, -1);
85 vibrator.vibrate(FP_SUCCESS_VIBRATE_PATTERN, -1);
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationIntrusivenessExtractor.java50 notification.vibrate != null ||
H A DNotificationRecord.java148 || n.vibrate != null;
216 pw.println(prefix + " vibrate=" + Arrays.toString(notification.vibrate));
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DHapticFeedbackController.java61 * Try to vibrate. To prevent this becoming a single continuous vibration, nothing will
67 // We want to try to vibrate each individual tick discretely.
69 mVibrator.vibrate(VIBRATE_LENGTH_MS);
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DNotificationCompatHoneycomb.java36 .setVibrate(n.vibrate)
/frameworks/base/core/java/android/hardware/input/
H A DIInputManager.aidl79 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
H A DInputManager.java1136 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { method in class:InputManager.InputDeviceVibrator
1137 vibrate(new long[] { 0, milliseconds}, -1);
1144 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, method in class:InputManager.InputDeviceVibrator
1150 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
/frameworks/support/v4/ics/android/support/v4/app/
H A DNotificationCompatIceCreamSandwich.java41 .setVibrate(n.vibrate)
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h194 void vibrate(FILE* vibrator, int ms);
/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/tests/servicestests/src/com/android/server/notification/
H A DBuzzBeepBlinkTest.java189 verify(mVibrator, never()).vibrate(anyInt(), anyString(), (long[]) anyObject(),
194 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), (long[]) anyObject(),
199 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), (long[]) anyObject(),
422 // update should vibrate
475 mService.buzzBeepBlinkLocked(other); // this takes the vibrate stream
478 // should not stop vibrate, since we no longer own it
/frameworks/native/services/inputflinger/
H A DEventHub.h256 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0;
321 virtual void vibrate(int32_t deviceId, nsecs_t duration);
/frameworks/support/v4/api20/android/support/v4/app/
H A DNotificationCompatApi20.java53 .setVibrate(n.vibrate)
/frameworks/support/v4/api24/android/support/v4/app/
H A DNotificationCompatApi24.java69 .setVibrate(n.vibrate)
/frameworks/support/v4/kitkat/android/support/v4/app/
H A DNotificationCompatKitKat.java54 .setVibrate(n.vibrate)
/frameworks/base/core/java/android/app/
H A DNotification.java127 * Use the default notification vibrate. This will ignore any given
128 * {@link #vibrate}. Using phone vibration requires the
374 * The pattern with which to vibrate.
377 * To vibrate the default pattern, see {@link #defaults}.
384 * @see android.os.Vibrator#vibrate(long[],int)
386 public long[] vibrate; field in class:Notification
463 * set if you would only like the sound, vibrate and ticker to be played
1615 vibrate = parcel.createLongArray();
1696 final long[] vibrate = this.vibrate;
[all...]

Completed in 3382 milliseconds

123