Home
last modified time | relevance | path

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

/frameworks/base/samples/demo/haptic-assessment/
DREADME.txt9 2) One shot vibration with 20ms duration at max amplitude.
11 3) Waveform vibration with 500ms duration at half amplitude, then 500ms duration
12 at max amplitude. This will pass if the device supports vibration amplitude
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp88 VibratorCallback(JNIEnv *env, jobject vibration) : in VibratorCallback() argument
89 mVibration(MakeGlobalRefOrDie(env, vibration)) {} in VibratorCallback()
107 AidlVibratorCallback(JNIEnv *env, jobject vibration) : in AidlVibratorCallback() argument
108 mCb(env, vibration) {} in AidlVibratorCallback()
358 jobject vibration, jboolean withCallback) { in vibratorPerformEffect() argument
362 (withCallback != JNI_FALSE ? new AidlVibratorCallback(env, vibration) : nullptr); in vibratorPerformEffect()
433 jobject vibration) { in vibratorPerformComposedEffect() argument
444 sp<AidlVibratorCallback> effectCallback = new AidlVibratorCallback(env, vibration); in vibratorPerformComposedEffect()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java290 long[] vibration; in calculateVibration() local
297 vibration = getChannel().getVibrationPattern() == null in calculateVibration()
300 vibration = null; in calculateVibration()
309 vibration = defaultVibration; in calculateVibration()
311 vibration = notification.vibrate; in calculateVibration()
314 return vibration; in calculateVibration()
DNotificationManagerService.java6840 long[] vibration = record.getVibration();
6842 if (vibration == null
6848 vibration = mFallbackVibrationPattern;
6850 hasValidVibrate = vibration != null;
6874 buzz = playVibration(record, vibration, hasValidSound);
7061 private boolean playVibration(final NotificationRecord record, long[] vibration,
7072 vibration, insistent ? 0 : -1 /*repeatIndex*/);
7075 Arrays.toString(vibration));
/frameworks/base/core/proto/android/app/
Dnotification_channel.proto45 repeated int64 vibration = 10; field
Dsettings_enums.proto2044 // OPEN: Settings > Accessibility > Vibration > Notification vibration
2049 // OPEN: Settings > Accessibility > Vibration > Touch vibration
2318 // OPEN: Settings > Accessibility > Vibration > Ring vibration
/frameworks/base/core/java/android/app/
DNotificationChannel.java507 public void enableVibration(boolean vibration) { in enableVibration() argument
508 this.mVibrationEnabled = vibration; in enableVibration()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags89 # a notification emited noise, vibration, or light
DVibratorService.java186 static native long vibratorPerformEffect(long effect, long strength, Vibration vibration, in vibratorPerformEffect() argument
189 VibrationEffect.Composition.PrimitiveEffect[] effect, Vibration vibration); in vibratorPerformComposedEffect() argument
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto204 // Whether silent mode should allow vibration feedback. This is used
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java1520 long[] vibration = new long[]{100, 67, 145, 156}; in testCreateDeletedChannel() local
1523 channel.setVibrationPattern(vibration); in testCreateDeletedChannel()
1561 long[] vibration = new long[]{100, 67, 145, 156}; in testCreateChannel_alreadyExists() local
1564 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
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...