Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/os/
H A DVibratorInfo.java55 private final SparseIntArray mSupportedPrimitives; field in VibratorInfo
68 mSupportedPrimitives = in.readSparseIntArray(); in VibratorInfo()
120 mSupportedPrimitives = supportedPrimitives.clone(); in VibratorInfo()
135 dest.writeSparseIntArray(mSupportedPrimitives); in writeToParcel()
158 int supportedPrimitivesCount = mSupportedPrimitives.size(); in equals()
163 if (mSupportedPrimitives.keyAt(i) != that.mSupportedPrimitives.keyAt(i)) { in equals()
166 if (mSupportedPrimitives.valueAt(i) != that.mSupportedPrimitives.valueAt(i)) { in equals()
185 for (int i = 0; i < mSupportedPrimitives.size(); i++) { in hashCode()
314 return mSupportedPrimitives.get(primitiveId); in getPrimitiveDuration()
319 return mSupportedPrimitives.clone(); in getSupportedPrimitives()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DFakeVibratorControllerProvider.java63 private int[] mSupportedPrimitives; field in FakeVibratorControllerProvider
133 if (mSupportedPrimitives == null) { in compose()
137 if (Arrays.binarySearch(mSupportedPrimitives, primitive.getPrimitiveId()) < 0) { in compose()
186 if (mSupportedPrimitives != null) { in getInfo()
187 for (int primitive : mSupportedPrimitives) { in getInfo()
285 mSupportedPrimitives = primitives; in setSupportedPrimitives()