Searched refs:ringerModeAffectedStreams (Results 1 – 3 of 3) sorted by relevance
577 int ringerModeAffectedStreams = ringerModeDelegate.getRingerModeAffectedStreams(0); in testRingerAffectedStreamsTotalSilence() local578 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() local599 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()600 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsPriorityOnly()[all …]
950 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in onUpgrade() local955 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in onUpgrade()961 + String.valueOf(ringerModeAffectedStreams) + "')"); in onUpgrade()2186 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in loadVolumeLevels() local2192 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in loadVolumeLevels()2195 ringerModeAffectedStreams); in loadVolumeLevels()
4581 int ringerModeAffectedStreams = Settings.System.getIntForUser(mContentResolver, in updateRingerAndZenModeAffectedStreams() local4588 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 …]