HomeSort by relevance Sort by last modified time
    Searched refs:vibrate (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /frameworks/base/core/java/android/os/
Vibrator.java 45 * Vibrate constantly for the specified period of time.
47 * {@link android.Manifest.permission#VIBRATE}.
49 * @param milliseconds The number of milliseconds to vibrate.
51 public abstract void vibrate(long milliseconds); method in class:Vibrator
54 * Vibrate with a given pattern.
67 * {@link android.Manifest.permission#VIBRATE}.
73 public abstract void vibrate(long[] pattern, int repeat); method in class:Vibrator
77 * Like {@link #vibrate(long)}, but allowing the caller to specify that
80 public abstract void vibrate(int owningUid, String owningPackage, long milliseconds); method in class:Vibrator
84 * Like {@link #vibrate(long[], int)}, but allowing the caller to specify tha
87 public abstract void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat); method in class:Vibrator
    [all...]
NullVibrator.java 42 public void vibrate(long milliseconds) { method in class:NullVibrator
46 public void vibrate(long[] pattern, int repeat) { method in class:NullVibrator
56 public void vibrate(int owningUid, String owningPackage, long milliseconds) { method in class:NullVibrator
57 vibrate(milliseconds);
64 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) { method in class:NullVibrator
65 vibrate(pattern, repeat); method
SystemVibrator.java 50 Log.w(TAG, "Failed to vibrate; no vibrator service.");
61 public void vibrate(long milliseconds) { method in class:SystemVibrator
62 vibrate(Process.myUid(), mPackageName, milliseconds);
66 public void vibrate(long[] pattern, int repeat) { method in class:SystemVibrator
67 vibrate(Process.myUid(), mPackageName, pattern, repeat);
74 public void vibrate(int owningUid, String owningPackage, long milliseconds) { method in class:SystemVibrator
76 Log.w(TAG, "Failed to vibrate; no vibrator service.");
80 mService.vibrate(owningUid, owningPackage, milliseconds, mToken);
82 Log.w(TAG, "Failed to vibrate.", e);
90 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) method in class:SystemVibrator
    [all...]
IVibratorService.aidl 23 void vibrate(int uid, String packageName, long milliseconds, IBinder token);
  /external/robolectric/src/main/java/android/os/
TestVibrator.java 17 public void vibrate(long arg0) { method in class:TestVibrator
22 public void vibrate(long[] arg0, int arg1) { method in class:TestVibrator
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ToneSettings.java 29 public boolean vibrate; field in class:ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) {
34 this.vibrate = vibrate;
40 vibrate = in.readInt() == 1;
52 dest.writeInt(vibrate ? 1 : 0);
CommandParams.java 90 Tone tone, Duration duration, boolean vibrate) {
93 mSettings = new ToneSettings(duration, tone, vibrate);
  /external/replicaisland/src/com/replica/replicaisland/
VibrationSystem.java 34 public void vibrate(float seconds) { method in class:VibrationSystem
39 vibrator.vibrate((int)(seconds * 1000));
  /cts/tests/tests/os/src/android/os/cts/
VibratorTest.java 36 mVibrator.vibrate(1000);
51 mVibrator.vibrate(pattern, 3);
53 fail("vibrate failed!");
56 mVibrator.vibrate(pattern, 10);
69 mVibrator.vibrate(100);
82 mVibrator.vibrate(1000);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowVibrator.java 17 public void vibrate(long milliseconds) { method in class:ShadowVibrator
23 public void vibrate(long[] pattern, int repeat) { method in class:ShadowVibrator
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
VibratorTest.java 31 vibrator.vibrate(5000);
40 vibrator.vibrate(pattern, 2);
49 vibrator.vibrate(5000);
  /packages/apps/Nfc/src/com/android/nfc/
P2pEventManager.java 74 mVibrator.vibrate(VIBRATION_PATTERN, -1);
92 mVibrator.vibrate(VIBRATION_PATTERN, -1);
103 mVibrator.vibrate(VIBRATION_PATTERN, -1);
112 mVibrator.vibrate(VIBRATION_PATTERN, -1);
163 mVibrator.vibrate(VIBRATION_PATTERN, -1);
  /packages/apps/PhoneCommon/src/com/android/phone/common/
HapticFeedback.java 58 * mHaptic.vibrate();
66 /** If no pattern was found, vibrate for a small amount of time. */
87 * @param enabled If false, vibrate will be a no-op regardless of
129 public void vibrate() { method in class:HapticFeedback
139 mVibrator.vibrate(mHapticPattern[0]);
141 mVibrator.vibrate(mHapticPattern, NO_REPEAT);
155 Log.e(TAG, "Vibrate pattern missing.", nfe);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AudioAndHapticFeedbackManager.java 68 public void vibrate(final long milliseconds) { method in class:AudioAndHapticFeedbackManager
72 mVibrator.vibrate(milliseconds);
120 vibrate(mSettingsValues.mKeypressVibrationDuration);
  /frameworks/wilhelm/src/itf/
IVibra.c 22 static SLresult IVibra_Vibrate(SLVibraItf self, SLboolean vibrate)
28 thiz->mVibrate = SL_BOOLEAN_FALSE != vibrate; // normalize
45 SLboolean vibrate = thiz->mVibrate; local
47 *pVibrating = vibrate;
  /cts/tests/tests/app/src/android/app/cts/
NotificationTest.java 88 mNotification.vibrate = longArray;
109 assertEquals(mNotification.vibrate[0], result.vibrate[0]);
110 assertEquals(mNotification.vibrate[1], result.vibrate[1]);
111 assertEquals(mNotification.vibrate[2], result.vibrate[2]);
  /packages/apps/DeskClock/src/com/android/deskclock/
Alarm.java 59 p.writeInt(vibrate ? 1 : 0);
109 * True if alarm should vibrate
112 public static final String VIBRATE = "vibrate";
138 ENABLED, VIBRATE, MESSAGE, ALERT };
165 public boolean vibrate; field in class:Alarm
180 ", vibrate=" + vibrate +
193 vibrate = c.getInt(Columns.ALARM_VIBRATE_INDEX) == 1;
222 vibrate = p.readInt() == 1
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/os/
MorseCode.java 90 vibrator.vibrate(pattern, -1);
  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
VibratorServicePermissionTest.java 43 * Test that calling {@link android.os.IVibratorService#vibrate(long)} requires permissions.
45 * {@link android.Manifest.permission#VIBRATE}
50 mVibratorService.vibrate(Process.myUid(), null, 2000, new Binder());
51 fail("vibrate did not throw SecurityException as expected");
61 * {@link android.Manifest.permission#VIBRATE}
76 * {@link android.Manifest.permission#VIBRATE}
  /cts/tests/tests/permission/src/android/permission/cts/
NoSystemFunctionPermissionTest.java 112 * {@link android.Manifest.permission#VIBRATE}.
126 vibrator.vibrate(1);
127 fail("Vibrator.vibrate(long) did not throw SecurityException as expected.");
135 vibrator.vibrate(testPattern, 1);
136 fail("Vibrator.vibrate(long[], int) not throw SecurityException as expected.");
  /frameworks/base/core/java/android/hardware/input/
IInputManager.aidl 57 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
InputManager.java 800 public void vibrate(long milliseconds) { method in class:InputManager.InputDeviceVibrator
801 vibrate(new long[] { 0, milliseconds}, -1); method
805 public void vibrate(long[] pattern, int repeat) { method in class:InputManager.InputDeviceVibrator
810 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
812 Log.w(TAG, "Failed to vibrate.", ex);
820 public void vibrate(int owningUid, String owningPackage, long milliseconds) { method in class:InputManager.InputDeviceVibrator
821 vibrate(milliseconds);
828 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) { method in class:InputManager.InputDeviceVibrator
829 vibrate(pattern, repeat); method
  /packages/apps/Stk/src/com/android/stk/
ToneDialog.java 96 if (settings.vibrate) {
97 mVibrator.vibrate(timeout);
  /frameworks/support/v4/honeycomb/android/support/v4/app/
NotificationCompatHoneycomb.java 36 .setVibrate(n.vibrate)
  /frameworks/support/v4/ics/android/support/v4/app/
NotificationCompatIceCreamSandwich.java 37 .setVibrate(n.vibrate)

Completed in 666 milliseconds

1 2 3 4 5