Searched refs:ringerModeAffectedStreams (Results 1 – 3 of 3) sorted by relevance
939 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in onUpgrade() local944 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in onUpgrade()950 + String.valueOf(ringerModeAffectedStreams) + "')"); in onUpgrade()2172 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in loadVolumeLevels() local2178 ringerModeAffectedStreams |= (1 << AudioManager.STREAM_MUSIC); in loadVolumeLevels()2181 ringerModeAffectedStreams); in loadVolumeLevels()
846 int ringerModeAffectedStreams = ringerModeDelegate.getRingerModeAffectedStreams(0); in testRingerAffectedStreamsTotalSilence() local847 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() local867 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()868 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_NOTIFICATION)) in testRingerAffectedStreamsPriorityOnly()[all …]
7090 int ringerModeAffectedStreams = mSettings.getSystemIntForUser(mContentResolver, in updateRingerAndZenModeAffectedStreams() local7096 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 …]