Home
last modified time | relevance | path

Searched refs:isPrimitiveSupported (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DVibratorTest.java137 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in arePrimitivesSupported_noVibrator_returnsAlwaysFalse()
149 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in arePrimitivesSupported_unsupportedInOneVibrator_returnsFalse()
164 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in arePrimitivesSupported_supportedInAllVibrators_returnsTrue()
DVibratorInfoTest.java92 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()
93 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in testIsPrimitiveSupported()
99 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()
/frameworks/base/core/java/android/os/
DSystemVibrator.java289 public boolean isPrimitiveSupported(int primitiveId) { in isPrimitiveSupported() method in SystemVibrator.AllVibratorsInfo
294 if (!info.isPrimitiveSupported(primitiveId)) { in isPrimitiveSupported()
DVibrator.java569 supported[i] = info.isPrimitiveSupported(primitiveIds[i]); in arePrimitivesSupported()
DVibratorInfo.java262 public boolean isPrimitiveSupported( in isPrimitiveSupported() method in VibratorInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java295 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK));
296 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK));