HomeSort by relevance Sort by last modified time
    Searched refs:vibrate (Results 26 - 50 of 219) sorted by null

12 3 4 5 6 7 8 9

  /development/samples/ApiDemos/src/com/example/android/apis/os/
MorseCode.java 90 vibrator.vibrate(pattern, -1);
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationIntrusivenessExtractor.java 47 notification.vibrate != null ||
  /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 113 * {@link android.Manifest.permission#VIBRATE}.
127 vibrator.vibrate(1);
128 fail("Vibrator.vibrate(long) did not throw SecurityException as expected.");
136 vibrator.vibrate(testPattern, 1);
137 fail("Vibrator.vibrate(long[], int) not throw SecurityException as expected.");
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
Alarm.java 57 VIBRATE,
89 values.put(VIBRATE, alarm.vibrate ? 1 : 0);
225 public boolean vibrate; field in class:Alarm
239 this.vibrate = true;
252 vibrate = c.getInt(VIBRATE_INDEX) == 1;
271 vibrate = p.readInt() == 1;
290 p.writeInt(vibrate ? 1 : 0);
322 result.mVibrate = vibrate;
349 ", vibrate=" + vibrate
    [all...]
  /frameworks/base/core/java/android/hardware/input/
IInputManager.aidl 64 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
InputManager.java 861 public void vibrate(int uid, String opPkg, long milliseconds, AudioAttributes attributes) { method in class:InputManager.InputDeviceVibrator
862 vibrate(new long[] { 0, milliseconds}, -1); method
869 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, method in class:InputManager.InputDeviceVibrator
875 mIm.vibrate(mDeviceId, pattern, repeat, mToken);
877 Log.w(TAG, "Failed to vibrate.", ex);
    [all...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/
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/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)
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
CommandParams.java 98 Tone tone, Duration duration, boolean vibrate) {
101 mSettings = new ToneSettings(duration, tone, vibrate);
  /packages/apps/Stk/src/com/android/stk/
ToneDialog.java 112 if (settings.vibrate && mVibrator != null) {
113 mVibrator.vibrate(timeout);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
AccessibilityInjector.java 118 android.Manifest.permission.VIBRATE) == PackageManager.PERMISSION_GRANTED;
347 * Used to protect how long JavaScript can vibrate for. This isn't a good comprehensive
348 * protection, just used to cover mistakes and protect against long vibrate durations/repeats.
369 public void vibrate(long milliseconds) { method in class:AccessibilityInjector.VibratorWrapper
371 mVibrator.vibrate(milliseconds);
376 public void vibrate(long[] pattern, int repeat) { method in class:AccessibilityInjector.VibratorWrapper
383 mVibrator.vibrate(pattern, repeat);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
SearchPanelView.java 160 private void vibrate() { method in class:SearchPanelView
166 vibrator.vibrate(res.getInteger(R.integer.config_search_panel_view_vibration_duration),
176 vibrate(); method
324 vibrate(); method
  /packages/services/Telephony/src/com/android/services/telephony/
EmergencyTonePlayer.java 89 mVibrator.vibrate(VIBRATE_PATTERN, 0, VIBRATION_ATTRIBUTES);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
SignificantMotionTestActivity.java 69 false /* vibrate */);
78 false /* vibrate */);
90 true /* vibrate */);
103 false /* vibrate */);
112 false /* vibrate */);
140 * @param vibrate If TRUE, vibration will be concurrent with the test
147 boolean vibrate) throws Throwable {
152 if (vibrate) {
153 vibrate(VIBRATE_DURATION_MILLIS);
StepCounterTestActivity.java 121 false /* vibrate */);
128 true /* vibrate */);
134 * @param vibrate If TRUE, vibration will be concurrent with the test
136 private String runTest(int instructionsResId, int expectedSteps, boolean vibrate)
149 if (vibrate) {
150 vibrate(VIBRATE_PATTERN);
  /frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
FixVibrateSetting.java 118 n.vibrate = new long[] { 0, 700, 500, 1000 };
  /packages/apps/Email/src/com/android/email/preferences/
EmailPreferenceMigrator.java 160 final boolean vibrate = (ecAccount.getFlags()
162 folderPreferences.setNotificationVibrateEnabled(vibrate);
  /frameworks/base/core/java/com/android/internal/widget/
RotarySelector.java 528 vibrate(VIBRATE_SHORT);
533 vibrate(VIBRATE_SHORT);
678 private synchronized void vibrate(long duration) {
687 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
718 vibrate(VIBRATE_LONG);
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
NotificationTestList.java 307 n.vibrate = new long[] {
487 new Test("Vibrate") {
491 n.vibrate = new long[] { 0, 700, 500, 1000 };
497 new Test("Vibrate and cancel") {
501 n.vibrate = new long[] { 0, 700, 500, 1000 };
509 new Test("Vibrate pattern") {
512 mVibrator.vibrate(new long[] { 250, 1000, 500, 2000 }, -1);
516 new Test("Vibrate pattern repeating") {
519 mVibrator.vibrate(new long[] { 250, 1000, 500 }, 1);
523 new Test("Vibrate 3s")
    [all...]
  /frameworks/native/cmds/dumpstate/
dumpstate.c 393 " -b: play sound file instead of vibrate, at beginning of job\n"
394 " -e: play sound file instead of vibrate, at end of job\n"
395 " -q: disable vibrate\n"
405 static void vibrate(FILE* vibrator, int ms) { function
475 vibrate(vibrator, 150);
559 vibrate(vibrator, 75);
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleApiCalls.java 132 final boolean vibrate = intent.getBooleanExtra(EXTRA_VIBRATE, false);
139 alarm.vibrate = vibrate;
278 selection.append(" AND ").append(Alarm.VIBRATE).append("=?");
  /packages/apps/Mms/src/com/android/mms/ui/
MessagingPreferenceActivity.java 264 boolean vibrate = "always".equals(vibrateWhen);
266 prefsEditor.putBoolean(NOTIFICATION_VIBRATE, vibrate);
269 mVibratePref.setChecked(vibrate);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
BaseSensorTestActivity.java 381 * Makes the device vibrate for the given amount of time.
383 protected void vibrate(int timeInMs) { method in class:BaseSensorTestActivity
385 vibrator.vibrate(timeInMs);
389 * Makes the device vibrate following the given pattern.
390 * See {@link Vibrator#vibrate(long[], int)} for more information.
392 protected void vibrate(long[] pattern) { method in class:BaseSensorTestActivity
394 vibrator.vibrate(pattern, -1);

Completed in 781 milliseconds

12 3 4 5 6 7 8 9