Searched refs:isPrimitiveSupported (Results 1 – 5 of 5) sorted by relevance
90 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()91 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in testIsPrimitiveSupported()97 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()
165 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in arePrimitivesSupported_noVibrator_returnsAlwaysFalse()177 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in arePrimitivesSupported_unsupportedInOneVibrator_returnsFalse()192 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in arePrimitivesSupported_supportedInAllVibrators_returnsTrue()
615 supported[i] = info.isPrimitiveSupported(primitiveIds[i]); in arePrimitivesSupported()636 if (!info.isPrimitiveSupported(primitiveId)) { in areAllPrimitivesSupported()
299 public boolean isPrimitiveSupported( in isPrimitiveSupported() method in VibratorInfo
421 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()422 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in getVibratorInfo_vibratorSuccessfulLoadBeforeSystemReady_returnsInfoForVibrator()