Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DVibratorInfo.java53 private final SparseBooleanArray mSupportedEffects; field in VibratorInfo
67 mSupportedEffects = in.readSparseBooleanArray(); in VibratorInfo()
79 this(id, baseVibratorInfo.mCapabilities, baseVibratorInfo.mSupportedEffects, in VibratorInfo()
119 mSupportedEffects = supportedEffects == null ? null : supportedEffects.clone(); in VibratorInfo()
134 dest.writeSparseBooleanArray(mSupportedEffects); in writeToParcel()
186 && Objects.equals(mSupportedEffects, that.mSupportedEffects) in equalContent()
194 int hashCode = Objects.hash(mId, mCapabilities, mSupportedEffects, mSupportedBraking, in hashCode()
304 return mSupportedEffects != null; in isEffectSupportKnown()
318 if (mSupportedEffects == null) { in isEffectSupported()
321 return mSupportedEffects.get(effectId) ? Vibrator.VIBRATION_EFFECT_SUPPORT_YES in isEffectSupported()
[all …]
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java62 private int[] mSupportedEffects; field in FakeVibratorControllerProvider
121 if (mSupportedEffects == null in perform()
122 || Arrays.binarySearch(mSupportedEffects, (int) effect) < 0) { in perform()
186 infoBuilder.setSupportedEffects(mSupportedEffects); in getInfo()
275 mSupportedEffects = effects; in setSupportedEffects()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp63 if (mInfoCache.mSupportedEffects.isFailed()) { in getInfo()
64 mInfoCache.mSupportedEffects = getSupportedEffectsInternal(); in getInfo()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h293 mSupportedEffects, in get()
312 HalResult<std::vector<hardware::vibrator::Effect>> mSupportedEffects =