Home
last modified time | relevance | path

Searched refs:supportedEffects (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/
H A DVibratorInfo.java109 public VibratorInfo(int id, long capabilities, @Nullable SparseBooleanArray supportedEffects, in VibratorInfo() argument
118 mSupportedEffects = supportedEffects == null ? null : supportedEffects.clone(); in VibratorInfo()
704 public Builder setSupportedEffects(int... supportedEffects) { in setSupportedEffects() argument
705 mSupportedEffects = toSparseBooleanArray(supportedEffects); in setSupportedEffects()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_vibrator_VibratorController.cpp378 if (info.supportedEffects.isOk()) { in vibratorGetInfo()
379 std::vector<aidl::Effect> effects = info.supportedEffects.value(); in vibratorGetInfo()
380 jintArray supportedEffects = env->NewIntArray(effects.size()); in vibratorGetInfo() local
381 env->SetIntArrayRegion(supportedEffects, 0, effects.size(), in vibratorGetInfo()
384 sVibratorInfoBuilderClassInfo.setSupportedEffects, supportedEffects); in vibratorGetInfo()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/vibrator/
H A DPrebakedSegmentTest.java289 private static Vibrator createVibratorWithSupportedEffects(int... supportedEffects) { in createVibratorWithSupportedEffects() argument
294 .setSupportedEffects(supportedEffects) in createVibratorWithSupportedEffects()