Home
last modified time | relevance | path

Searched refs:vibrate (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/android/os/
DVibrator.java163 public void vibrate(long milliseconds) { in vibrate() method in Vibrator
164 vibrate(milliseconds, null); in vibrate()
180 public void vibrate(long milliseconds, AudioAttributes attributes) { in vibrate() method in Vibrator
185 vibrate(effect, attributes); in vibrate()
213 public void vibrate(long[] pattern, int repeat) { in vibrate() method in Vibrator
214 vibrate(pattern, repeat, null); in vibrate()
243 public void vibrate(long[] pattern, int repeat, AudioAttributes attributes) { in vibrate() method in Vibrator
253 vibrate(VibrationEffect.createWaveform(pattern, repeat), attributes); in vibrate()
260 public void vibrate(VibrationEffect vibe) { in vibrate() method in Vibrator
261 vibrate(vibe, null); in vibrate()
[all …]
DSystemVibrator.java73 public void vibrate(int uid, String opPkg, VibrationEffect effect, in vibrate() method in SystemVibrator
80 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), reason, mToken); in vibrate()
DIVibratorService.aidl26 void vibrate(int uid, String opPkg, in VibrationEffect effect, int usageHint, String reason, in vibrate() method
DNullVibrator.java47 public void vibrate(int uid, String opPkg, VibrationEffect effect, in vibrate() method in NullVibrator
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DToneSettings.java29 public boolean vibrate; field in ToneSettings
31 public ToneSettings(Duration duration, Tone tone, boolean vibrate) { in ToneSettings() argument
34 this.vibrate = vibrate; in ToneSettings()
40 vibrate = in.readInt() == 1; in ToneSettings()
52 dest.writeInt(vibrate ? 1 : 0); in writeToParcel()
DCommandParams.java117 Tone tone, Duration duration, boolean vibrate) { in PlayToneParams() argument
120 mSettings = new ToneSettings(duration, tone, vibrate); in PlayToneParams()
/frameworks/wilhelm/src/itf/
DIVibra.cpp22 static SLresult IVibra_Vibrate(SLVibraItf self, SLboolean vibrate) in IVibra_Vibrate() argument
28 thiz->mVibrate = SL_BOOLEAN_FALSE != vibrate; // normalize in IVibra_Vibrate()
45 SLboolean vibrate = thiz->mVibrate; in IVibra_IsVibrating() local
47 *pVibrating = vibrate; in IVibra_IsVibrating()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java66 public void vibrate(final int effectId) { in vibrate() method in VibratorHelper
69 mVibrator.vibrate(VibrationEffect.get(effectId, false /* fallback */), in vibrate()
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
DVibratorServicePermissionTest.java54 mVibratorService.vibrate(Process.myUid(), null, effect, AudioManager.STREAM_ALARM, in testVibrate()
/frameworks/base/services/core/java/com/android/server/biometrics/
DClientMonitor.java295 vibrator.vibrate(mSuccessVibrationEffect, FINGERPRINT_SONFICATION_ATTRIBUTES); in vibrateSuccess()
302 vibrator.vibrate(mErrorVibrationEffect, FINGERPRINT_SONFICATION_ATTRIBUTES); in vibrateError()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DHapticFeedbackController.java72 mVibrator.vibrate(VIBRATE_LENGTH_MS); in tryVibrate()
/frameworks/base/core/java/android/hardware/input/
DIInputManager.aidl80 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token); in vibrate() method
DInputManager.java1195 public void vibrate(int uid, String opPkg, VibrationEffect effect, in vibrate() method in InputManager.InputDeviceVibrator
1214 mIm.vibrate(mDeviceId, pattern, repeat, mToken); in vibrate()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java546 vibrate(VIBRATE_SHORT); in onInterceptTouchEvent()
836 private synchronized void vibrate(long duration) {
845 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
864 vibrate(VIBRATE_LONG);
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto204 // decoupling of vibrate and silent modes. This setting will likely be
208 // silent or vibrate mode. Kept for use by legacy database upgrade code in
213 optional Vibrate vibrate = 32; field
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java365 verify(mVibrator, never()).vibrate(anyInt(), anyString(), (VibrationEffect) anyObject(), in verifyNeverVibrate()
370 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), argThat(mVibrateOnceMatcher), in verifyVibrate()
375 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), argThat(mVibrateLoopMatcher), in verifyVibrateLooped()
380 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), in verifyDelayedVibrateLooped()
706 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), in testNoDemoteSoundToVibrateIfVibrateGiven()
743 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), in testDemoteSoundToVibrate()
/frameworks/native/services/inputflinger/
DEventHub.h237 virtual void vibrate(int32_t deviceId, nsecs_t duration) = 0;
312 virtual void vibrate(int32_t deviceId, nsecs_t duration);
DInputReader.h145 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
288 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token);
772 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
828 virtual void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat,
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h100 virtual void vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize,
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipDismissViewController.java138 mVibe.vibrate(VibrationEffect.get(intersecting in updateTarget()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java856 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/
DVibratorService.java552 public void vibrate(int uid, String opPkg, VibrationEffect effect, int usageHint, String reason, in vibrate() method in VibratorService
1052 mInputDeviceVibrators.get(i).vibrate(millis, attributes); in doVibratorOn()
1615 vibrate(Binder.getCallingUid(), description, effect, AudioAttributes.USAGE_UNKNOWN, in runVibrate()
1675 vibrate(Binder.getCallingUid(), description, effect, AudioAttributes.USAGE_UNKNOWN, in runWaveform()
1706 vibrate(Binder.getCallingUid(), description, effect, AudioAttributes.USAGE_UNKNOWN, in runPrebaked()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java48 void vibrate(VibrationEffect effect); in vibrate() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarEdgePanel.java539 mVibratorHelper.vibrate(VibrationEffect.EFFECT_CLICK); in triggerBack()
616 mVibratorHelper.vibrate(VibrationEffect.EFFECT_TICK); in handleMoveEvent()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java2238 int vibrate = 0; in loadVibrateSetting() local
2239 vibrate = AudioSystem.getValueForVibrateSetting(vibrate, in loadVibrateSetting()
2242 vibrate |= AudioSystem.getValueForVibrateSetting(vibrate, in loadVibrateSetting()
2244 loadSetting(stmt, Settings.System.VIBRATE_ON, vibrate); in loadVibrateSetting()

123