Searched refs:mSupportedEffects (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 51 private final SparseBooleanArray mSupportedEffects; field in VibratorInfo 65 mSupportedEffects = in.readSparseBooleanArray(); in VibratorInfo() 107 mSupportedEffects = supportedEffects == null ? null : supportedEffects.clone(); in VibratorInfo() 119 this(id, capabilities, baseVibrator.mSupportedEffects, baseVibrator.mSupportedBraking, in VibratorInfo() 129 dest.writeSparseBooleanArray(mSupportedEffects); in writeToParcel() 171 && Objects.equals(mSupportedEffects, that.mSupportedEffects) in equals() 179 int hashCode = Objects.hash(mId, mCapabilities, mSupportedEffects, mSupportedBraking, in hashCode() 249 if (mSupportedEffects == null) { in isEffectSupported() 252 return mSupportedEffects.get(effectId) ? Vibrator.VIBRATION_EFFECT_SUPPORT_YES in isEffectSupported() 430 if (mSupportedEffects == null) { in getSupportedEffectsNames() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/ |
D | FakeVibratorControllerProvider.java | 57 private int[] mSupportedEffects; field in FakeVibratorControllerProvider 106 if (mSupportedEffects == null in perform() 107 || Arrays.binarySearch(mSupportedEffects, (int) effect) < 0) { in perform() 162 infoBuilder.setSupportedEffects(mSupportedEffects); in getInfo() 232 mSupportedEffects = effects; in setSupportedEffects()
|
/frameworks/native/services/vibratorservice/include/vibratorservice/ |
D | VibratorHalWrapper.h | 217 mSupportedEffects, in get() 235 HalResult<std::vector<hardware::vibrator::Effect>> mSupportedEffects =
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 132 if (mInfoCache.mSupportedEffects.isFailed()) { in getInfo() 133 mInfoCache.mSupportedEffects = getSupportedEffectsInternal(); in getInfo()
|