Searched refs:ringerModeAffectedStreams (Results 1 – 3 of 3) sorted by relevance
355 int ringerModeAffectedStreams = ringerModeDelegate.getRingerModeAffectedStreams(0); in testRingerAffectedStreamsTotalSilence() local356 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsTotalSilence()357 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsTotalSilence()359 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_SYSTEM)) != 0); in testRingerAffectedStreamsTotalSilence()360 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_ALARM)) != 0); in testRingerAffectedStreamsTotalSilence()361 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_MUSIC)) != 0); in testRingerAffectedStreamsTotalSilence()375 int ringerModeAffectedStreams = in testRingerAffectedStreamsPriorityOnly() local377 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()378 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsPriorityOnly()380 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_SYSTEM)) != 0); in testRingerAffectedStreamsPriorityOnly()[all …]
947 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in onUpgrade() local953 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in onUpgrade()959 + String.valueOf(ringerModeAffectedStreams) + "')"); in onUpgrade()2210 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in loadVolumeLevels() local2216 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in loadVolumeLevels()2219 ringerModeAffectedStreams); in loadVolumeLevels()
4296 int ringerModeAffectedStreams = Settings.System.getIntForUser(mContentResolver, in updateRingerAndZenModeAffectedStreams() local4303 ringerModeAffectedStreams = 0; in updateRingerAndZenModeAffectedStreams()4305 ringerModeAffectedStreams = mRingerModeDelegate in updateRingerAndZenModeAffectedStreams()4306 .getRingerModeAffectedStreams(ringerModeAffectedStreams); in updateRingerAndZenModeAffectedStreams()4309 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()4311 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_SYSTEM_ENFORCED); in updateRingerAndZenModeAffectedStreams()4314 ringerModeAffectedStreams |= (1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()4316 ringerModeAffectedStreams &= ~(1 << AudioSystem.STREAM_DTMF); in updateRingerAndZenModeAffectedStreams()4319 if (ringerModeAffectedStreams != mRingerModeAffectedStreams) { in updateRingerAndZenModeAffectedStreams()4322 ringerModeAffectedStreams, in updateRingerAndZenModeAffectedStreams()[all …]