Home
last modified time | relevance | path

Searched refs:ringerModeAffectedStreams (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java577 int ringerModeAffectedStreams = ringerModeDelegate.getRingerModeAffectedStreams(0); in testRingerAffectedStreamsTotalSilence() local
578 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsTotalSilence()
579 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsTotalSilence()
581 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_SYSTEM)) != 0); in testRingerAffectedStreamsTotalSilence()
582 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_ALARM)) != 0); in testRingerAffectedStreamsTotalSilence()
583 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_MUSIC)) != 0); in testRingerAffectedStreamsTotalSilence()
584 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_ASSISTANT)) != 0); in testRingerAffectedStreamsTotalSilence()
597 int ringerModeAffectedStreams = in testRingerAffectedStreamsPriorityOnly() local
599 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()
600 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsPriorityOnly()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java950 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in onUpgrade() local
955 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in onUpgrade()
961 + String.valueOf(ringerModeAffectedStreams) + "')"); in onUpgrade()
2186 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in loadVolumeLevels() local
2192 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in loadVolumeLevels()
2195 ringerModeAffectedStreams); in loadVolumeLevels()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4581 int ringerModeAffectedStreams = Settings.System.getIntForUser(mContentResolver, in updateRingerAndZenModeAffectedStreams() local
4588 ringerModeAffectedStreams = 0; in updateRingerAndZenModeAffectedStreams()
4590 ringerModeAffectedStreams = mRingerModeDelegate in updateRingerAndZenModeAffectedStreams()
4591 .getRingerModeAffectedStreams(ringerModeAffectedStreams); in updateRingerAndZenModeAffectedStreams()
4594 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()
4596 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()
4599 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()
4601 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()
4604 if (ringerModeAffectedStreams != mRingerModeAffectedStreams) { in updateRingerAndZenModeAffectedStreams()
4607 ringerModeAffectedStreams, in updateRingerAndZenModeAffectedStreams()
[all …]