Searched refs:mHasVibrator (Results 1 – 3 of 3) sorted by relevance
49 private boolean mHasVibrator = false; field in HasVibratorVerifierActivity85 mHasVibrator = mVibrator.hasVibrator(); in onCreate()88 mHasVibrator ? R.string.yes_string : R.string.no_string); in onCreate()130 getPassButton().setEnabled(mHasVibrator); in onYesButtonClicked()131 if (mHasVibrator) { in onYesButtonClicked()145 getPassButton().setEnabled(!mHasVibrator); in onNoButtonClicked()146 if (!mHasVibrator) { in onNoButtonClicked()169 if (mHasVibrator) { in startAnimationIfRequired()
75 private boolean mHasVibrator; field in RingerModeActivity98 mHasVibrator = (vibrator != null) && vibrator.hasVibrator(); in onCreate()342 if (mUseFixedVolume || !mHasVibrator) { in test()395 if (mUseFixedVolume || !mHasVibrator) { in test()494 if (mUseFixedVolume || !mHasVibrator) { in test()547 if (mUseFixedVolume || !mHasVibrator) { in test()656 if (mHasVibrator) { in test()746 if (mHasVibrator) { in test()768 if (mSkipRingerTests || mHasVibrator) { in test()804 if (mSkipRingerTests || mHasVibrator) { in test()
188 private boolean mHasVibrator; field in AudioManagerTest233 mHasVibrator = (vibrator != null) && vibrator.hasVibrator(); in setUp()635 if (mUseFixedVolume || !mHasVibrator) { in testVibrateNotification()646 assertEquals(mHasVibrator ? VIBRATE_SETTING_ON : VIBRATE_SETTING_OFF, in testVibrateNotification()649 assertEquals(mHasVibrator, mAudioManager.shouldVibrate(VIBRATE_TYPE_NOTIFICATION)); in testVibrateNotification()655 assertEquals(mHasVibrator ? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT, in testVibrateNotification()657 assertEquals(mHasVibrator, mAudioManager.shouldVibrate(VIBRATE_TYPE_NOTIFICATION)); in testVibrateNotification()670 assertEquals(mHasVibrator ? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT, in testVibrateNotification()676 assertEquals(mHasVibrator ? VIBRATE_SETTING_ONLY_SILENT : VIBRATE_SETTING_OFF, in testVibrateNotification()685 assertEquals(mHasVibrator ? RINGER_MODE_VIBRATE : RINGER_MODE_SILENT, in testVibrateNotification()[all …]