Searched refs:supportedEffects (Results 1 – 3 of 3) sorted by relevance
109 public VibratorInfo(int id, long capabilities, @Nullable SparseBooleanArray supportedEffects, in VibratorInfo() argument118 mSupportedEffects = supportedEffects == null ? null : supportedEffects.clone(); in VibratorInfo()704 public Builder setSupportedEffects(int... supportedEffects) { in setSupportedEffects() argument705 mSupportedEffects = toSparseBooleanArray(supportedEffects); in setSupportedEffects()
378 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() local381 env->SetIntArrayRegion(supportedEffects, 0, effects.size(), in vibratorGetInfo()384 sVibratorInfoBuilderClassInfo.setSupportedEffects, supportedEffects); in vibratorGetInfo()
289 private static Vibrator createVibratorWithSupportedEffects(int... supportedEffects) { in createVibratorWithSupportedEffects() argument294 .setSupportedEffects(supportedEffects) in createVibratorWithSupportedEffects()