Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DVibratorInfo.java54 private final SparseIntArray mSupportedPrimitives; field in VibratorInfo
67 mSupportedPrimitives = in.readSparseIntArray(); in VibratorInfo()
109 mSupportedPrimitives = supportedPrimitives.clone(); in VibratorInfo()
120 baseVibrator.mSupportedPrimitives, baseVibrator.mPrimitiveDelayMax, in VibratorInfo()
131 dest.writeSparseIntArray(mSupportedPrimitives); in writeToParcel()
154 int supportedPrimitivesCount = mSupportedPrimitives.size(); in equals()
155 if (supportedPrimitivesCount != that.mSupportedPrimitives.size()) { in equals()
159 if (mSupportedPrimitives.keyAt(i) != that.mSupportedPrimitives.keyAt(i)) { in equals()
162 if (mSupportedPrimitives.valueAt(i) != that.mSupportedPrimitives.valueAt(i)) { in equals()
181 for (int i = 0; i < mSupportedPrimitives.size(); i++) { in hashCode()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DFakeVibratorControllerProvider.java59 private int[] mSupportedPrimitives; field in FakeVibratorControllerProvider
163 if (mSupportedPrimitives != null) { in getInfo()
164 for (int primitive : mSupportedPrimitives) { in getInfo()
250 mSupportedPrimitives = primitives; in setSupportedPrimitives()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp190 if (mInfoCache.mSupportedPrimitives.isFailed()) { in getPrimitiveDurations()
191 mInfoCache.mSupportedPrimitives = getSupportedPrimitivesInternal(); in getPrimitiveDurations()
192 if (mInfoCache.mSupportedPrimitives.isUnsupported()) { in getPrimitiveDurations()
196 if (mInfoCache.mPrimitiveDurations.isFailed() && mInfoCache.mSupportedPrimitives.isOk()) { in getPrimitiveDurations()
198 getPrimitiveDurationsInternal(mInfoCache.mSupportedPrimitives.value()); in getPrimitiveDurations()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h219 mSupportedPrimitives, in get()
239 HalResult<std::vector<hardware::vibrator::CompositePrimitive>> mSupportedPrimitives =