Searched refs:shouldVibrateForPowerMode (Results 1 – 4 of 4) sorted by relevance
276 assertTrue(mVibrationSettings.shouldVibrateForPowerMode(VibrationAttributes.USAGE_ALARM)); in shouldVibrateForPowerMode_withLowPowerAndAllowedUsage_returnTrue()277 assertTrue(mVibrationSettings.shouldVibrateForPowerMode( in shouldVibrateForPowerMode_withLowPowerAndAllowedUsage_returnTrue()279 assertTrue(mVibrationSettings.shouldVibrateForPowerMode( in shouldVibrateForPowerMode_withLowPowerAndAllowedUsage_returnTrue()287 assertTrue(mVibrationSettings.shouldVibrateForPowerMode(VibrationAttributes.USAGE_TOUCH)); in shouldVibrateForPowerMode_withRestrictedUsage_returnsFalseWhileInLowPowerMode()288 assertTrue(mVibrationSettings.shouldVibrateForPowerMode( in shouldVibrateForPowerMode_withRestrictedUsage_returnsFalseWhileInLowPowerMode()293 assertFalse(mVibrationSettings.shouldVibrateForPowerMode(VibrationAttributes.USAGE_TOUCH)); in shouldVibrateForPowerMode_withRestrictedUsage_returnsFalseWhileInLowPowerMode()294 assertFalse(mVibrationSettings.shouldVibrateForPowerMode( in shouldVibrateForPowerMode_withRestrictedUsage_returnsFalseWhileInLowPowerMode()
326 public boolean shouldVibrateForPowerMode(int usageHint) { in shouldVibrateForPowerMode() method in VibrationSettings
473 if (inputDevicesChanged || !mVibrationSettings.shouldVibrateForPowerMode( in updateServiceState()674 if (!mVibrationSettings.shouldVibrateForPowerMode(attrs.getUsage())) { in shouldIgnoreVibrationLocked()
42595 HPLcom/android/server/vibrator/VibrationSettings;->shouldVibrateForPowerMode(I)Z