Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java939 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in onUpgrade() local
944 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in onUpgrade()
950 + String.valueOf(ringerModeAffectedStreams) + "')"); in onUpgrade()
2172 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in loadVolumeLevels() local
2178 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in loadVolumeLevels()
2181 ringerModeAffectedStreams); in loadVolumeLevels()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java846 int ringerModeAffectedStreams = ringerModeDelegate.getRingerModeAffectedStreams(0); in testRingerAffectedStreamsTotalSilence() local
847 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsTotalSilence()
848 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsTotalSilence()
850 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_SYSTEM)) != 0); in testRingerAffectedStreamsTotalSilence()
851 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_ALARM)) != 0); in testRingerAffectedStreamsTotalSilence()
852 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_MUSIC)) != 0); in testRingerAffectedStreamsTotalSilence()
853 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_ASSISTANT)) != 0); in testRingerAffectedStreamsTotalSilence()
865 int ringerModeAffectedStreams = in testRingerAffectedStreamsPriorityOnly() local
867 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()
868 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsPriorityOnly()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7090 int ringerModeAffectedStreams = mSettings.getSystemIntForUser(mContentResolver, in updateRingerAndZenModeAffectedStreams() local
7096 ringerModeAffectedStreams = 0; in updateRingerAndZenModeAffectedStreams()
7098 ringerModeAffectedStreams = mRingerModeDelegate in updateRingerAndZenModeAffectedStreams()
7099 .getRingerModeAffectedStreams(ringerModeAffectedStreams); in updateRingerAndZenModeAffectedStreams()
7102 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()
7104 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()
7107 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()
7109 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()
7119 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_ALARM); in updateRingerAndZenModeAffectedStreams()
7121 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_ALARM); in updateRingerAndZenModeAffectedStreams()
[all …]