Home
last modified time | relevance | path

Searched refs:isValidEffect (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/content/integrity/
DRule.java68 checkArgument(isValidEffect(effect), String.format("Unknown effect: %d", effect)); in Rule()
145 private static boolean isValidEffect(int effect) { in isValidEffect() method in Rule
/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp220 bool isValidEffect(jlong effect) { in isValidEffect() function
385 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()