Home
last modified time | relevance | path

Searched refs:mRingerMode (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
DRingerModeAffectedVolumePreferenceController.java47 protected int mRingerMode = AudioManager.RINGER_MODE_NORMAL; field in RingerModeAffectedVolumePreferenceController
123 if (mRingerMode == ringerMode) { in updateRingerMode()
126 mRingerMode = ringerMode; in updateRingerMode()
152 if (mVibrator == null && mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in getEffectiveRingerMode()
155 return mRingerMode; in getEffectiveRingerMode()
DNotificationVolumePreferenceController.java100 && !mHelper.isSingleVolume() ? (mRingerMode == AudioManager.RINGER_MODE_NORMAL in getAvailabilityStatus()
126 if (mVibrator == null && mRingerMode == AudioManager.RINGER_MODE_VIBRATE) { in getEffectiveRingerMode()
128 } else if (mRingerMode == AudioManager.RINGER_MODE_NORMAL) { in getEffectiveRingerMode()
134 return mRingerMode; in getEffectiveRingerMode()
162 mPreference.setEnabled(mRingerMode == AudioManager.RINGER_MODE_NORMAL); in updateEnabledState()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowAudioManager.java44 private int mRingerMode; field in ShadowAudioManager
51 return mRingerMode; in getRingerModeInternal()
59 mRingerMode = mode; in setRingerModeInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java504 private int mRingerMode = AudioManager.RINGER_MODE_NORMAL;
543 mRingerMode = ringerMode;
548 return mRingerMode;