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.java477 int ringerModeAffectedStreams = ringerModeDelegate.getRingerModeAffectedStreams(0); in testRingerAffectedStreamsTotalSilence() local
478 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsTotalSilence()
479 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsTotalSilence()
481 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_SYSTEM)) != 0); in testRingerAffectedStreamsTotalSilence()
482 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_ALARM)) != 0); in testRingerAffectedStreamsTotalSilence()
483 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_MUSIC)) != 0); in testRingerAffectedStreamsTotalSilence()
497 int ringerModeAffectedStreams = in testRingerAffectedStreamsPriorityOnly() local
499 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()
500 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsPriorityOnly()
502 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_SYSTEM)) != 0); in testRingerAffectedStreamsPriorityOnly()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java948 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in onUpgrade() local
954 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in onUpgrade()
960 + String.valueOf(ringerModeAffectedStreams) + "')"); in onUpgrade()
2209 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in loadVolumeLevels() local
2215 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in loadVolumeLevels()
2218 ringerModeAffectedStreams); in loadVolumeLevels()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4062 int ringerModeAffectedStreams = Settings.System.getIntForUser(mContentResolver, in updateRingerAndZenModeAffectedStreams() local
4069 ringerModeAffectedStreams = 0; in updateRingerAndZenModeAffectedStreams()
4071 ringerModeAffectedStreams = mRingerModeDelegate in updateRingerAndZenModeAffectedStreams()
4072 .getRingerModeAffectedStreams(ringerModeAffectedStreams); in updateRingerAndZenModeAffectedStreams()
4075 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()
4077 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()
4080 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()
4082 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()
4085 if (ringerModeAffectedStreams != mRingerModeAffectedStreams) { in updateRingerAndZenModeAffectedStreams()
4088 ringerModeAffectedStreams, in updateRingerAndZenModeAffectedStreams()
[all …]