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

12

/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/base/core/java/android/os/
H A DVibrator.java69 * @param milliseconds The number of milliseconds to vibrate.
71 * @deprecated Use {@link #vibrate(VibrationEffect)} instead.
75 public void vibrate(long milliseconds) { method in class:Vibrator
76 vibrate(milliseconds, null);
82 * @param milliseconds The number of milliseconds to vibrate.
88 * @deprecated Use {@link #vibrate(VibrationEffect, AudioAttributes)} instead.
92 public void vibrate(long milliseconds, AudioAttributes attributes) { method in class:Vibrator
97 vibrate(effect, attributes);
121 * @deprecated Use {@link #vibrate(VibrationEffect)} instead.
125 public void vibrate(lon method in class:Vibrator
155 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { method in class:Vibrator
172 public void vibrate(VibrationEffect vibe) { method in class:Vibrator
177 public void vibrate(VibrationEffect vibe, AudioAttributes attributes) { method in class:Vibrator
187 public abstract void vibrate(int uid, String opPkg, method in class:Vibrator
[all...]
H A DIVibratorService.aidl26 void vibrate(int uid, String opPkg, in VibrationEffect effect, int usageHint, IBinder token);
H A DNullVibrator.java47 public void vibrate(int uid, String opPkg, method in class:NullVibrator
H A DSystemVibrator.java46 Log.w(TAG, "Failed to vibrate; no vibrator service.");
70 public void vibrate(int uid, String opPkg, method in class:SystemVibrator
73 Log.w(TAG, "Failed to vibrate; no vibrator service.");
77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken);
79 Log.w(TAG, "Failed to vibrate.", e);
/frameworks/wilhelm/src/itf/
H A DIVibra.cpp22 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.java45 * Test that calling {@link android.os.IVibratorService#vibrate(long)} requires permissions.
54 mVibratorService.vibrate(Process.myUid(), null, effect, AudioManager.STREAM_ALARM,
56 fail("vibrate did not throw SecurityException as expected");
/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/base/services/core/java/com/android/server/fingerprint/
H A DClientMonitor.java226 vibrator.vibrate(mSuccessVibrationEffect);
233 vibrator.vibrate(mErrorVibrationEffect);
/frameworks/support/compat/tests/java/android/support/v4/app/
H A DNotificationCompatTest.java334 assertNull(n.vibrate);
340 assertNull(n2.vibrate);
346 assertNotNull(n.vibrate);
352 assertNotNull(n2.vibrate);
389 assertNotNull(n.vibrate);
395 assertNotNull(n2.vibrate);
401 assertNotNull(n3.vibrate);
420 assertNotNull(n.vibrate);
/frameworks/base/core/java/android/hardware/input/
H A DIInputManager.aidl85 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
H A DInputManager.java1239 public void vibrate(int uid, String opPkg, method in class:InputManager.InputDeviceVibrator
1258 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
/frameworks/base/services/tests/notification/src/com/android/server/notification/
H A DBuzzBeepBlinkTest.java346 verify(mVibrator, never()).vibrate(anyInt(), anyString(), (VibrationEffect) anyObject(),
351 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), argThat(mVibrateOnceMatcher),
356 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), argThat(mVibrateLoopMatcher),
361 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(),
590 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(),
622 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(),
669 // update should vibrate
787 mService.buzzBeepBlinkLocked(other); // this takes the vibrate stream
790 // should not stop vibrate, since we no longer own it
/frameworks/native/services/inputflinger/
H A DEventHub.h255 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0;
329 virtual void vibrate(int32_t deviceId, nsecs_t duration);
H A DInputReader.h337 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
438 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
586 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
1001 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
1055 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
/frameworks/support/compat/java/android/support/v4/app/
H A DNotificationCompatBuilder.java73 .setVibrate(n.vibrate)
375 notification.vibrate = null;
/frameworks/base/core/java/com/android/internal/widget/
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/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DVolumeDialogController.java47 void vibrate(); method in interface:VolumeDialogController
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java834 NotificationChannel channel = new NotificationChannel("vibrate",
835 "vibrate", IMPORTANCE_DEFAULT);
842 Notification n = new Notification.Builder(NotificationTestList.this, "vibrate")
856 mVibrator.vibrate(new long[] { 250, 1000, 500, 2000 }, -1);
863 mVibrator.vibrate(new long[] { 250, 1000, 500 }, 1);
870 mVibrator.vibrate(3000);
877 mVibrator.vibrate(100000);
/frameworks/base/services/core/java/com/android/server/policy/
H A DAccessibilityShortcutController.java165 vibrator.vibrate(vibePattern, -1, VIBRATION_ATTRIBUTES);
/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java350 public void vibrate(int uid, String opPkg, VibrationEffect effect, int usageHint, method in class:VibratorService
508 Slog.w(TAG, "Would be an error: vibrate from uid " + vib.mUid);
560 // "Also vibrate for calls" Setting in Sound
707 mInputDeviceVibrators.get(i).vibrate(millis, attributes);
967 if ("vibrate".equals(cmd)) {
1000 vibrate(Binder.getCallingUid(), description, effect, AudioAttributes.USAGE_UNKNOWN,
1012 pw.println(" vibrate duration [description]");
/frameworks/base/core/java/android/app/
H A DNotification.java158 * Use the default notification vibrate. This will ignore any given
159 * {@link #vibrate}. Using phone vibration requires the
404 * The pattern with which to vibrate.
407 * To vibrate the default pattern, see {@link #defaults}.
410 * @see android.os.Vibrator#vibrate(long[],int)
414 public long[] vibrate; field in class:Notification
505 * set if you would only like the sound, vibrate and ticker to be played
1157 * group with sound or vibration ought to make sound or vibrate (respectively), so this
1916 vibrate = parcel.createLongArray();
2015 final long[] vibrate
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java267 * longer a UI-visible for setting notification vibrate on/off (in
269 * notification vibrate to on.
389 // types affected by ringer modes (silent, vibrate, etc.)
488 // types affected by ringer modes (silent, vibrate, etc.)
886 // types affected by ringer modes (silent, vibrate, etc.)
1113 // Introduce "vibrate when ringing" setting
2051 // If the ringer vibrate value is invalid, set it to the default
2056 // Apply the same setting to the notification vibrate value
2257 int vibrate = 0;
2258 vibrate
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
H A DAccessibilityShortcutControllerTest.java268 verify(mVibrator).vibrate(aryEq(VIBRATOR_PATTERN_LONG), eq(-1), anyObject());

Completed in 1235 milliseconds

12