Lines Matching refs:streamType

760      * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
770 public void adjustStreamVolume(int streamType, int direction, int flags) {
773 service.adjustStreamVolume(streamType, direction, flags,
887 * @param streamType The stream type whose maximum volume index is returned.
891 public int getStreamMaxVolume(int streamType) {
894 return service.getStreamMaxVolume(streamType);
903 * @param streamType The stream type whose minimum volume index is returned.
908 public int getStreamMinVolume(int streamType) {
911 return service.getStreamMinVolume(streamType);
920 * @param streamType The stream type whose volume index is returned.
925 public int getStreamVolume(int streamType) {
928 return service.getStreamVolume(streamType);
939 public int getLastAudibleStreamVolume(int streamType) {
942 return service.getLastAudibleStreamVolume(streamType);
998 * @param streamType The stream whose volume index should be set.
1006 public void setStreamVolume(int streamType, int index, int flags) {
1009 service.setStreamVolume(streamType, index, flags, getContext().getOpPackageName());
1021 * @param streamType The stream to be soloed/unsoloed.
1029 public void setStreamSolo(int streamType, boolean state) {
1058 * @param streamType The stream to be muted/unmuted.
1066 public void setStreamMute(int streamType, boolean state) {
1069 if (streamType == AudioManager.USE_DEFAULT_STREAM_TYPE) {
1070 adjustSuggestedStreamVolume(direction, streamType, 0);
1072 adjustStreamVolume(streamType, direction, 0);
1079 * @param streamType The stream to get mute state for.
1083 public boolean isStreamMute(int streamType) {
1086 return service.isStreamMute(streamType);
1108 * specifying streamType == -1 releases control to the
1113 public void forceVolumeControlStream(int streamType) {
1116 service.forceVolumeControlStream(streamType, mICallBack);
2239 * @param streamType the main audio stream type affected by the focus request
2253 public int requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) {
2254 PlayerBase.deprecateStreamTypeForPlayback(streamType,
2264 .setInternalLegacyStreamType(streamType).build(),
2513 * @param streamType use STREAM_RING for focus requests when ringing, VOICE_CALL for
2518 public void requestAudioFocusForCall(int streamType, int durationHint) {
2522 .setInternalLegacyStreamType(streamType).build(),
3502 * @param streamType The stream type to query. One of
3544 public int getDevicesForStream(int streamType) {
3545 switch (streamType) {
3554 return AudioSystem.getDevicesForStream(streamType);
3707 public int getOutputLatency(int streamType) {
3708 return AudioSystem.getOutputLatency(streamType);
3742 public boolean isStreamAffectedByRingerMode(int streamType) {
3744 return getService().isStreamAffectedByRingerMode(streamType);
3754 public boolean isStreamAffectedByMute(int streamType) {
3756 return getService().isStreamAffectedByMute(streamType);