Home
last modified time | relevance | path

Searched refs:vibrator (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoSystemFunctionPermissionTest.java126 Vibrator vibrator = mContext.getSystemService(VibratorManager.class).getDefaultVibrator(); in testVibrator() local
128 if (!vibrator.hasVibrator()) { in testVibrator()
133 if (!vibrator.hasVibrator()) { in testVibrator()
139 vibrator.cancel(); in testVibrator()
146 vibrator.vibrate(1); in testVibrator()
155 vibrator.vibrate(testPattern, 1); in testVibrator()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerKlaxon.kt67 val vibrator = getVibrator(context) in start() constant
69 vibrateLOrLater(vibrator) in start()
71 vibrator.vibrate(VIBRATE_PATTERN, 0) in start()
78 private fun vibrateLOrLater(vibrator: Vibrator) { in vibrateLOrLater()
79 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmKlaxon.kt64 val vibrator: Vibrator = getVibrator(context) in start() constant
66 vibrateLOrLater(vibrator) in start()
68 vibrator.vibrate(VIBRATE_PATTERN, 0) in start()
76 private fun vibrateLOrLater(vibrator: Vibrator) { in vibrateLOrLater()
77 vibrator.vibrate(VIBRATE_PATTERN, 0, AudioAttributes.Builder() in vibrateLOrLater()
/packages/apps/Settings/src/com/android/settings/accessibility/
DVibrationPreferenceConfig.java69 public static void playVibrationPreview(Vibrator vibrator, in playVibrationPreview() argument
71 playVibrationPreview(vibrator, createPreviewVibrationAttributes(vibrationUsage)); in playVibrationPreview()
81 public static void playVibrationPreview(Vibrator vibrator, in playVibrationPreview() argument
83 vibrator.vibrate(PREVIEW_VIBRATION_EFFECT, vibrationAttributes); in playVibrationPreview()
DOWNERS18 per-file *Haptic* = file:platform/frameworks/base:/services/core/java/com/android/server/vibrator/O…
19 per-file *Vibrat* = file:platform/frameworks/base:/services/core/java/com/android/server/vibrator/O…
DKeyboardVibrationTogglePreferenceController.java32 import android.os.vibrator.Flags;
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java129 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate() local
130 if (vibrator != null) { in vibrate()
131 vibrator.vibrate(milliseconds); in vibrate()
/packages/services/Telecomm/src/com/android/server/telecom/
DRinger.java43 import android.os.vibrator.persistence.ParsedVibration;
44 import android.os.vibrator.persistence.VibrationXmlParser;
231 Vibrator vibrator, in Ringer() argument
244 mVibrator = vibrator; in Ringer()
801 Resources resources, Vibrator vibrator) { in loadSerializedDefaultRingVibration() argument
813 return parsedVibration.resolve(vibrator); in loadSerializedDefaultRingVibration()
822 Vibrator vibrator, in loadDefaultRingVibrationEffect() argument
833 VibrationEffect parsedEffect = loadSerializedDefaultRingVibration(resources, vibrator); in loadDefaultRingVibrationEffect()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/
DVibrationInteractor.kt48 val vibrator = applicationContext.getSystemService(Vibrator::class.java)!! in vibrate() constant in com.android.settings.biometrics.fingerprint2.domain.interactor.VibrationInteractorImpl
60 vibrator.vibrate( in vibrate()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertReminder.java126 Vibrator vibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE); in playAlertReminderSound() local
127 if (vibrator != null) { in playAlertReminderSound()
131 vibrator.vibrate(VibrationEffect.createOneShot(500, in playAlertReminderSound()
DCellBroadcastSettings.java916 Vibrator vibrator = context.getSystemService(Vibrator.class); in isVibrationToggleVisible() local
917 boolean supportVibration = (vibrator != null) && vibrator.hasVibrator(); in isVibrationToggleVisible()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DQrCodeScanModeFragment.java236 Vibrator vibrator = context.getSystemService(Vibrator.class); in triggerVibrationForQrCodeRecognition() local
237 if (vibrator == null) { in triggerVibrationForQrCodeRecognition()
240 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsQrCodeScanFragment.java240 Vibrator vibrator = context.getSystemService(Vibrator.class); in triggerVibrationForQrCodeRecognition() local
241 if (vibrator == null) { in triggerVibrationForQrCodeRecognition()
244 vibrator.vibrate( in triggerVibrationForQrCodeRecognition()
/packages/apps/Settings/src/com/android/settings/notification/
DRingerModeAffectedVolumePreferenceController.java93 void setVibrator(Vibrator vibrator) { in setVibrator() argument
94 mVibrator = vibrator; in setVibrator()
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.kt78 val vibrator: Vibrator = activity.getSystemService(Context.VIBRATOR_SERVICE) as Vibrator in onCreate() constant
79 if (vibrator == null || !vibrator.hasVibrator()) { in onCreate()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java553 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in triggerVibrationForQrCodeRecognition() local
554 if (vibrator == null) { in triggerVibrationForQrCodeRecognition()
557 vibrator.vibrate(VibrationEffect.createOneShot( in triggerVibrationForQrCodeRecognition()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DKeyboardVibrationTogglePreferenceControllerTest.java36 import android.os.vibrator.Flags;
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java546 Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in playSound() local
551 vibrator.vibrate(VibrationEffect.createWaveform(pattern, -1), in playSound()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Dnb_wordlist.combined.gz
Den_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dsv_wordlist.combined.gz

12