Searched refs:isValidEffect (Results 1 – 2 of 2) sorted by relevance
68 checkArgument(isValidEffect(effect), String.format("Unknown effect: %d", effect)); in Rule()145 private static boolean isValidEffect(int effect) { in isValidEffect() method in Rule
220 bool isValidEffect(jlong effect) { in isValidEffect() function385 if (isValidEffect<V1_0::Effect>(effect)) { in vibratorPerformEffect()388 } else if (isValidEffect<Effect_1_1>(effect)) { in vibratorPerformEffect()391 } else if (isValidEffect<V1_2::Effect>(effect)) { in vibratorPerformEffect()394 } else if (isValidEffect<V1_3::Effect>(effect)) { in vibratorPerformEffect()