Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/os/
H A DVibratorInfo.java52 private final SparseBooleanArray mSupportedEffects; field in VibratorInfo
66 mSupportedEffects = in.readSparseBooleanArray(); in VibratorInfo()
133 dest.writeSparseBooleanArray(mSupportedEffects); in writeToParcel()
175 && Objects.equals(mSupportedEffects, that.mSupportedEffects) in equals()
263 return mSupportedEffects != null; in isEffectSupportKnown()
277 if (mSupportedEffects == null) { in isEffectSupported()
287 if (mSupportedEffects == null) { in getSupportedEffects()
290 return mSupportedEffects.clone(); in getSupportedEffects()
437 if (mSupportedEffects == null) { in getSupportedEffectsNames()
441 for (int i = 0; i < mSupportedEffects.size(); i++) { in getSupportedEffectsNames()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DFakeVibratorControllerProvider.java61 private int[] mSupportedEffects; field in FakeVibratorControllerProvider
120 if (mSupportedEffects == null in perform()
121 || Arrays.binarySearch(mSupportedEffects, (int) effect) < 0) { in perform()
185 infoBuilder.setSupportedEffects(mSupportedEffects); in getInfo()
267 mSupportedEffects = effects; in setSupportedEffects()