Home
last modified time | relevance | path

Searched refs:vibration (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp82 VibratorCallback(JNIEnv *env, jobject vibration) : in VibratorCallback() argument
83 mVibration(MakeGlobalRefOrDie(env, vibration)) {} in VibratorCallback()
101 AidlVibratorCallback(JNIEnv *env, jobject vibration) : in AidlVibratorCallback() argument
102 mCb(env, vibration) {} in AidlVibratorCallback()
337 jobject vibration) { in vibratorPerformEffect() argument
340 sp<AidlVibratorCallback> effectCallback = new AidlVibratorCallback(env, vibration); in vibratorPerformEffect()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java281 long[] vibration; in calculateVibration() local
288 vibration = getChannel().getVibrationPattern() == null in calculateVibration()
291 vibration = null; in calculateVibration()
300 vibration = defaultVibration; in calculateVibration()
302 vibration = notification.vibrate; in calculateVibration()
305 return vibration; in calculateVibration()
DNotificationManagerService.java5938 long[] vibration = record.getVibration();
5940 if (vibration == null
5946 vibration = mFallbackVibrationPattern;
5948 hasValidVibrate = vibration != null;
5973 buzz = playVibration(record, vibration, hasValidSound);
6139 private boolean playVibration(final NotificationRecord record, long[] vibration,
6150 vibration, insistent ? 0 : -1 /*repeatIndex*/);
6153 Arrays.toString(vibration));
/frameworks/base/core/proto/android/app/
Dnotification_channel.proto45 repeated int64 vibration = 10; field
Dsettings_enums.proto1998 // OPEN: Settings > Accessibility > Vibration > Notification vibration
2003 // OPEN: Settings > Accessibility > Vibration > Touch vibration
2272 // OPEN: Settings > Accessibility > Vibration > Ring vibration
/frameworks/base/core/java/android/app/
DNotificationChannel.java433 public void enableVibration(boolean vibration) { in enableVibration() argument
434 this.mVibrationEnabled = vibration; in enableVibration()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags89 # a notification emited noise, vibration, or light
DVibratorService.java172 static native long vibratorPerformEffect(long effect, long strength, Vibration vibration); in vibratorPerformEffect() argument
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto202 // Whether silent mode should allow vibration feedback. This is used
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java1430 long[] vibration = new long[]{100, 67, 145, 156}; in testCreateDeletedChannel() local
1433 channel.setVibrationPattern(vibration); in testCreateDeletedChannel()
1471 long[] vibration = new long[]{100, 67, 145, 156}; in testCreateChannel_alreadyExists() local
1474 channel.setVibrationPattern(vibration); in testCreateChannel_alreadyExists()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto1292 // OPEN: Notification caused sound, vibration, and/or LED blink
5402 // OPEN: Settings > Accessibility > Vibration > Notification vibration
5407 // OPEN: Settings > Accessibility > Vibration > Touch vibration
6855 // OPEN: Settings > Accessibility > Vibration > Ring vibration