Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DVibratorInfo.java56 private final SparseIntArray mSupportedPrimitives; field in VibratorInfo
69 mSupportedPrimitives = in.readSparseIntArray(); in VibratorInfo()
80 baseVibratorInfo.mSupportedBraking, baseVibratorInfo.mSupportedPrimitives, in VibratorInfo()
121 mSupportedPrimitives = supportedPrimitives.clone(); in VibratorInfo()
136 dest.writeSparseIntArray(mSupportedPrimitives); in writeToParcel()
169 int supportedPrimitivesCount = mSupportedPrimitives.size(); in equalContent()
170 if (supportedPrimitivesCount != that.mSupportedPrimitives.size()) { in equalContent()
174 if (mSupportedPrimitives.keyAt(i) != that.mSupportedPrimitives.keyAt(i)) { in equalContent()
177 if (mSupportedPrimitives.valueAt(i) != that.mSupportedPrimitives.valueAt(i)) { in equalContent()
196 for (int i = 0; i < mSupportedPrimitives.size(); i++) { in hashCode()
[all …]
/frameworks/base/services/tests/vibrator/utils/com/android/server/vibrator/
DFakeVibratorControllerProvider.java64 private int[] mSupportedPrimitives; field in FakeVibratorControllerProvider
134 if (mSupportedPrimitives == null) { in compose()
138 if (Arrays.binarySearch(mSupportedPrimitives, primitive.getPrimitiveId()) < 0) { in compose()
187 if (mSupportedPrimitives != null) { in getInfo()
188 for (int primitive : mSupportedPrimitives) { in getInfo()
293 mSupportedPrimitives = primitives; in setSupportedPrimitives()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp121 if (mInfoCache.mSupportedPrimitives.isFailed()) { in getPrimitiveDurations()
122 mInfoCache.mSupportedPrimitives = getSupportedPrimitivesInternal(); in getPrimitiveDurations()
123 if (mInfoCache.mSupportedPrimitives.isUnsupported()) { in getPrimitiveDurations()
127 if (mInfoCache.mPrimitiveDurations.isFailed() && mInfoCache.mSupportedPrimitives.isOk()) { in getPrimitiveDurations()
129 getPrimitiveDurationsInternal(mInfoCache.mSupportedPrimitives.value()); in getPrimitiveDurations()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h295 mSupportedPrimitives, in get()
316 HalResult<std::vector<hardware::vibrator::CompositePrimitive>> mSupportedPrimitives =