Searched refs:isPrimitiveSupported (Results 1 – 6 of 6) sorted by relevance
137 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()
92 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()
289 public boolean isPrimitiveSupported(int primitiveId) { in isPrimitiveSupported() method in SystemVibrator.AllVibratorsInfo294 if (!info.isPrimitiveSupported(primitiveId)) { in isPrimitiveSupported()
569 supported[i] = info.isPrimitiveSupported(primitiveIds[i]); in arePrimitivesSupported()
262 public boolean isPrimitiveSupported( in isPrimitiveSupported() method in VibratorInfo
295 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK));296 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK));