/frameworks/base/core/java/android/os/ |
Vibrator.java | 58 * Vibrate constantly for the specified period of time. 60 * {@link android.Manifest.permission#VIBRATE}. 62 * @param milliseconds The number of milliseconds to vibrate. 64 public void vibrate(long milliseconds) { method in class:Vibrator 65 vibrate(milliseconds, null); method 69 * Vibrate constantly for the specified period of time. 71 * {@link android.Manifest.permission#VIBRATE}. 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); method 131 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { method in class:Vibrator 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...] |
NullVibrator.java | 45 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
|
IVibratorService.aidl | 23 void vibrate(int uid, String opPkg, long milliseconds, int usageHint, IBinder token);
|
SystemVibrator.java | 48 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);
|
/external/robolectric/v1/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);
|
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPreset.java | 43 public final boolean vibrate; field in class:NotificationPreset.BuildOptions 49 boolean vibrate, Integer[] backgroundIds) { 57 this.vibrate = vibrate;
|
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
NotificationPreset.java | 43 public final boolean vibrate; field in class:NotificationPreset.BuildOptions 49 boolean vibrate, Integer[] backgroundIds) { 57 this.vibrate = vibrate;
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
NotificationPreset.java | 43 public final boolean vibrate; field in class:NotificationPreset.BuildOptions 49 boolean vibrate, Integer[] backgroundIds) { 57 this.vibrate = 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/v1/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
|
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/ |
Utils.java | 33 * Causes device to vibrate for the given duration (in millis). If duration is set to 0, then it 36 public final static void vibrate(Context context, int duration) { method in class:Utils 41 v.vibrate(duration);
|
/developers/samples/android/wearable/wear/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/ |
Utils.java | 33 * Causes device to vibrate for the given duration (in millis). If duration is set to 0, then it 36 public final static void vibrate(Context context, int duration) { method in class:Utils 41 v.vibrate(duration);
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/ |
Utils.java | 33 * Causes device to vibrate for the given duration (in millis). If duration is set to 0, then it 36 public final static void vibrate(Context context, int duration) { method in class:Utils 41 v.vibrate(duration);
|
/external/robolectric/v1/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 | 87 mVibrator.vibrate(VIBRATION_PATTERN, -1); 104 mVibrator.vibrate(VIBRATION_PATTERN, -1); 115 mVibrator.vibrate(VIBRATION_PATTERN, -1); 126 mVibrator.vibrate(VIBRATION_PATTERN, -1); 136 mVibrator.vibrate(VIBRATION_PATTERN, -1); 144 mVibrator.vibrate(VIBRATION_PATTERN, -1); 200 mVibrator.vibrate(VIBRATION_PATTERN, -1);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AudioAndHapticFeedbackManager.java | 71 public void vibrate(final long milliseconds) { method in class:AudioAndHapticFeedbackManager 75 mVibrator.vibrate(milliseconds); 116 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;
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
PseudoEmergencyAnimator.java | 93 vibrate(VIBRATE_LENGTH_MILLIS); 114 vibrate(VIBRATE_LENGTH_MILLIS); 150 private void vibrate(long milliseconds) { method in class:PseudoEmergencyAnimator 156 vibrator.vibrate(milliseconds);
|
/cts/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]);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MorseCode.java | 90 vibrator.vibrate(pattern, -1);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
VibratorTest.java | 40 font.draw(batch, "Touch screen to vibrate", 100, 100);
43 if (Gdx.input.justTouched()) Gdx.input.vibrate(100);
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
VibratorServicePermissionTest.java | 44 * Test that calling {@link android.os.IVibratorService#vibrate(long)} requires permissions. 46 * {@link android.Manifest.permission#VIBRATE} 51 mVibratorService.vibrate(Process.myUid(), null, 2000, AudioManager.STREAM_ALARM, 53 fail("vibrate did not throw SecurityException as expected"); 63 * {@link android.Manifest.permission#VIBRATE} 79 * {@link android.Manifest.permission#VIBRATE}
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoSystemFunctionPermissionTest.java | 118 * {@link android.Manifest.permission#VIBRATE}. 132 vibrator.vibrate(1); 133 fail("Vibrator.vibrate(long) did not throw SecurityException as expected."); 141 vibrator.vibrate(testPattern, 1); 142 fail("Vibrator.vibrate(long[], int) not throw SecurityException as expected.");
|