/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ToneSettings.java | 29 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 D | CommandParams.java | 110 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 D | Vibrator.java | 69 * @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 D | IVibratorService.aidl | 26 void vibrate(int uid, String opPkg, in VibrationEffect effect, int usageHint, IBinder token);
|
H A D | NullVibrator.java | 47 public void vibrate(int uid, String opPkg, method in class:NullVibrator
|
H A D | SystemVibrator.java | 46 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 D | IVibra.cpp | 22 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 D | VibratorServicePermissionTest.java | 45 * 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 D | HapticFeedbackController.java | 61 * 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 D | ClientMonitor.java | 226 vibrator.vibrate(mSuccessVibrationEffect); 233 vibrator.vibrate(mErrorVibrationEffect);
|
/frameworks/support/compat/tests/java/android/support/v4/app/ |
H A D | NotificationCompatTest.java | 334 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 D | IInputManager.aidl | 85 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
|
H A D | InputManager.java | 1239 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 D | BuzzBeepBlinkTest.java | 346 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 D | EventHub.h | 255 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0; 329 virtual void vibrate(int32_t deviceId, nsecs_t duration);
|
H A D | InputReader.h | 337 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 D | NotificationCompatBuilder.java | 73 .setVibrate(n.vibrate) 375 notification.vibrate = null;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 540 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 D | VolumeDialogController.java | 47 void vibrate(); method in interface:VolumeDialogController
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 834 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 D | AccessibilityShortcutController.java | 165 vibrator.vibrate(vibePattern, -1, VIBRATION_ATTRIBUTES);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | VibratorService.java | 350 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 D | Notification.java | 158 * 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 D | DatabaseHelper.java | 267 * 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 D | AccessibilityShortcutControllerTest.java | 268 verify(mVibrator).vibrate(aryEq(VIBRATOR_PATTERN_LONG), eq(-1), anyObject());
|