Home
last modified time | relevance | path

Searched refs:getAudioStream (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreferenceController.java59 mPreference.setStream(getAudioStream()); in displayPreference()
83 return mHelper.getStreamVolume(getAudioStream()); in getSliderPosition()
91 return mHelper.setStreamVolume(getAudioStream(), position); in setSliderPosition()
99 return mHelper.getMaxVolume(getAudioStream()); in getMax()
107 return mHelper.getMinVolume(getAudioStream()); in getMin()
110 protected abstract int getAudioStream(); in getAudioStream() method in VolumeSeekBarPreferenceController
DMediaVolumePreferenceController.java56 public int getAudioStream() { in getAudioStream() method in MediaVolumePreferenceController
DAlarmVolumePreferenceController.java55 public int getAudioStream() { in getAudioStream() method in AlarmVolumePreferenceController
DNotificationVolumePreferenceController.java53 public int getAudioStream() { in getAudioStream() method in NotificationVolumePreferenceController
DCallVolumePreferenceController.java52 public int getAudioStream() { in getAudioStream() method in CallVolumePreferenceController
DRingVolumePreferenceController.java104 public int getAudioStream() { in getAudioStream() method in RingVolumePreferenceController
DRemoteVolumePreferenceController.java198 public int getAudioStream() { in getAudioStream() method in RemoteVolumePreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DVolumeSeekBarPreferenceController.java59 mPreference.setStream(getAudioStream()); in displayPreference()
83 return mHelper.getStreamVolume(getAudioStream()); in getSliderPosition()
91 return mHelper.setStreamVolume(getAudioStream(), position); in setSliderPosition()
99 return mHelper.getMaxVolume(getAudioStream()); in getMaxSteps()
102 protected abstract int getAudioStream(); in getAudioStream() method in VolumeSeekBarPreferenceController
DMediaVolumePreferenceController.java56 public int getAudioStream() { in getAudioStream() method in MediaVolumePreferenceController
DAlarmVolumePreferenceController.java55 public int getAudioStream() { in getAudioStream() method in AlarmVolumePreferenceController
DNotificationVolumePreferenceController.java53 public int getAudioStream() { in getAudioStream() method in NotificationVolumePreferenceController
DCallVolumePreferenceController.java52 public int getAudioStream() { in getAudioStream() method in CallVolumePreferenceController
DRingVolumePreferenceController.java104 public int getAudioStream() { in getAudioStream() method in RingVolumePreferenceController
DRemoteVolumePreferenceController.java180 public int getAudioStream() { in getAudioStream() method in RemoteVolumePreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DVolumeSeekBarPreferenceControllerTest.java107 when(mHelper.getStreamVolume(mController.getAudioStream())).thenReturn(4); in sliderMethods_handleNullPreference()
108 when(mHelper.getMaxVolume(mController.getAudioStream())).thenReturn(10); in sliderMethods_handleNullPreference()
109 when(mHelper.getMinVolume(mController.getAudioStream())).thenReturn(1); in sliderMethods_handleNullPreference()
116 verify(mHelper).setStreamVolume(mController.getAudioStream(), 9); in sliderMethods_handleNullPreference()
182 public int getAudioStream() { in getAudioStream() method in VolumeSeekBarPreferenceControllerTest.VolumeSeekBarPreferenceControllerTestable
DCallVolumePreferenceControllerTest.java82 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_VOICE_CALL); in getAudioStream_onBluetoothScoOff_shouldEqualToStreamVoiceCall()
89 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_BLUETOOTH_SCO); in getAudioStream_onBluetoothScoOn_shouldEqualToStreamBtSco()
DMediaVolumePreferenceControllerTest.java57 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_MUSIC); in getAudioStream_shouldReturnMusic()
DAlarmVolumePreferenceControllerTest.java74 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_ALARM); in getAudioStream_shouldReturnAlarm()
DNotificationVolumePreferenceControllerTest.java96 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_NOTIFICATION); in getAudioStream_shouldReturnNotification()
DRingVolumePreferenceControllerTest.java98 assertThat(mController.getAudioStream()).isEqualTo(AudioManager.STREAM_RING); in getAudioStream_shouldReturnRing()
DRemoteVolumePreferenceControllerTest.java116 assertThat(mController.getAudioStream()).isEqualTo( in getAudioStream_returnRemoteVolume()