Home
last modified time | relevance | path

Searched refs:STREAM_RING (Results 1 – 25 of 31) sorted by relevance

12

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowAudioManager.java24 import static android.media.AudioManager.STREAM_RING;
91 case STREAM_RING: in getDevicesForStream()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DCallAudioModeStateMachineTest.java176 verify(mAudioManager).requestAudioFocusForCall(AudioManager.STREAM_RING, in testRegainFocusWhenHfpIsConnectedSilenced()
207 verify(mAudioManager).requestAudioFocusForCall(AudioManager.STREAM_RING, in testDoNotRingTwiceWhenHfpConnected()
245 verify(mAudioManager).requestAudioFocusForCall(AudioManager.STREAM_RING, in testStartRingingAfterHfpConnectedIfNotAlreadyPlaying()
H A DRingerTest.java312 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testVibrateButNoRingForSilentRingtone()
333 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testAudioCoupledHapticsForSilentRingtone()
430 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testSilentRingWithHfpStillAcquiresFocus1()
448 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(0); in testSilentRingWithHfpStillAcquiresFocus2()
464 when(mockAudioManager.getStreamVolume(AudioManager.STREAM_RING)).thenReturn(100); in ensureRingerIsAudible()
H A DCallAudioModeTransitionTests.java166 eq(AudioManager.STREAM_RING), anyInt()); in modeTransitionTest()
H A DCallAudioRouteStateMachineTest.java190 intent.putExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, AudioManager.STREAM_RING); in testStreamRingMuteChange()
/aosp12/hardware/qcom/audio/hal/audio_extn/
H A Dmaxxaudio.c82 STREAM_RING, enumerator
233 STREAM_RING, ma_cur_state_table[STREAM_RING].vol, in print_state_log()
234 ma_cur_state_table[STREAM_RING].active ? "T" : "F", in print_state_log()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
H A DAbnormalRingerConditionController.java51 mAudioManager.setStreamVolume(AudioManager.STREAM_RING, 1, 0 /* flags */); in onActionClick()
/aosp12/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java191 if (mStreamType == AudioManager.STREAM_RING) { in SeekBarVolumizer()
237 return stream == AudioManager.STREAM_RING || stream == AudioManager.STREAM_NOTIFICATION; in isNotificationOrRing()
347 || mStreamType == AudioManager.STREAM_RING in setStopVolumeTime()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
H A DRingVolumePreferenceControllerTest.java98 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_RING); in getAudioStream_shouldReturnRing()
/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A DCarAudioDynamicRouting.java42 AudioManager.STREAM_RING
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java26 import static android.media.AudioManager.STREAM_RING;
558 addRow(AudioManager.STREAM_RING, in initDialog()
747 if (row.stream == AudioManager.STREAM_RING) { in initRow()
1044 final StreamState ss = mState.states.get(AudioManager.STREAM_RING); in initRingerH()
1063 mController.setStreamVolume(AudioManager.STREAM_RING, 1); in initRingerH()
1229 final StreamState ss = mState.states.get(AudioManager.STREAM_RING); in maybeShowToastH()
1379 return activeRow.stream == STREAM_RING in shouldBeVisibleH()
1458 final StreamState ss = mState.states.get(AudioManager.STREAM_RING); in updateRingerH()
1624 final boolean isRingStream = row.stream == AudioManager.STREAM_RING; in updateVolumeRowH()
H A DVolumeDialogControllerImpl.java115 STREAMS.put(AudioSystem.STREAM_RING, R.string.stream_ring); in STREAMS.put() argument
576 case AudioSystem.STREAM_RING:
598 return stream == AudioManager.STREAM_RING || stream == AudioManager.STREAM_NOTIFICATION;
/aosp12/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
H A DAudioVolumesTestBase.java45 AudioManager.STREAM_SYSTEM, AudioManager.STREAM_RING, AudioManager.STREAM_MUSIC,
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DRingVolumePreferenceController.java110 return AudioManager.STREAM_RING; in getAudioStream()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java397 AudioSystem.STREAM_RING, // STREAM_SYSTEM
398 AudioSystem.STREAM_RING, // STREAM_RING
404 AudioSystem.STREAM_RING, // STREAM_DTMF
432 AudioSystem.STREAM_RING, // STREAM_RING
445 AudioSystem.STREAM_RING, // STREAM_SYSTEM
446 AudioSystem.STREAM_RING, // STREAM_RING
452 AudioSystem.STREAM_RING, // STREAM_DTMF
5879 return AudioSystem.STREAM_RING; in getActiveStreamType()
5900 return AudioSystem.STREAM_RING; in getActiveStreamType()
5918 return AudioSystem.STREAM_RING; in getActiveStreamType()
[all …]
/aosp12/frameworks/base/media/java/android/media/
H A DAudioAttributes.java1106 case AudioSystem.STREAM_RING: in setInternalLegacyStreamType()
1532 case AudioSystem.STREAM_RING: in usageForStreamType()
1637 return AudioSystem.STREAM_RING; in toVolumeStreamType()
H A DAudioSystem.java81 public static final int STREAM_RING = 2; field in AudioSystem
2185 (1 << STREAM_RING) |
H A DAudioManager.java359 public static final int STREAM_RING = AudioSystem.STREAM_RING; field in AudioManager
1111 STREAM_RING,
1158 case STREAM_RING: in isPublicStreamType()
5554 case STREAM_RING: in getDevicesForStream()
H A DRingtoneManager.java356 return AudioManager.STREAM_RING; in inferStreamType()
/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DDatabaseHelper.java391 int newValue = (1 << AudioManager.STREAM_RING) in onUpgrade()
490 int newValue = (1 << AudioManager.STREAM_RING) in onUpgrade()
888 int newValue = (1 << AudioManager.STREAM_RING) in onUpgrade()
950 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in onUpgrade()
2163 AudioSystem.getDefaultStreamVolume(AudioManager.STREAM_RING)); in loadVolumeLevels()
2186 int ringerModeAffectedStreams = (1 << AudioManager.STREAM_RING) | in loadVolumeLevels()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DRinger.java521 boolean isVolumeOverZero = mAudioManager.getStreamVolume(AudioManager.STREAM_RING) > 0; in getRingerAttributes()
H A DCallAudioModeStateMachine.java368 mAudioManager.requestAudioFocusForCall(AudioManager.STREAM_RING, in tryStartRinging()
H A DCallAudioRouteStateMachine.java1355 if (streamType == AudioManager.STREAM_RING && !isStreamMuted) {
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenModeHelperTest.java608 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsTotalSilence()
629 assertTrue((ringerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()
651 assertTrue((ringerMutedRingerModeAffectedStreams & (1 << AudioSystem.STREAM_RING)) != 0); in testRingerAffectedStreamsPriorityOnly()
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioTrackTest.java256 AudioManager.STREAM_RING, AudioManager.STREAM_SYSTEM, in testConstructorStreamType()

12