/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | AudioManagerWrapper.java | 39 void adjustStreamVolume(int streamType, int direction, in adjustStreamVolume() 45 void setStreamVolume(int streamType, int index, @AudioManager.PublicVolumeFlags int flags); in setStreamVolume() 50 int getStreamVolume(int streamType); in getStreamVolume() 55 int getStreamMinVolume(int streamType); in getStreamMinVolume() 60 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() 65 boolean isStreamMute(int streamType); in isStreamMute() 70 void setStreamMute(int streamType, boolean state); in setStreamMute()
|
H A D | DefaultAudioManagerWrapper.java | 45 public void adjustStreamVolume(int streamType, int direction, in adjustStreamVolume() 51 public void setStreamVolume(int streamType, int index, in setStreamVolume() 57 public int getStreamVolume(int streamType) { in getStreamVolume() 62 public int getStreamMinVolume(int streamType) { in getStreamMinVolume() 67 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() 72 public boolean isStreamMute(int streamType) { in isStreamMute() 77 public void setStreamMute(int streamType, boolean state) { in setStreamMute()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
H A D | FakeAudioFramework.java | 79 public void adjustStreamVolume(int streamType, int direction, in adjustStreamVolume() 94 public void setStreamVolume(int streamType, int index, in setStreamVolume() 100 public int getStreamVolume(int streamType) { in getStreamVolume() 105 public int getStreamMinVolume(int streamType) { in getStreamMinVolume() 110 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() 115 public boolean isStreamMute(int streamType) { in isStreamMute() 120 public void setStreamMute(int streamType, boolean state) { in setStreamMute() 217 public void setStreamMaxVolume(int streamType, int maxVolume) { in setStreamMaxVolume()
|
/aosp12/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioProductStrategy.java | 123 int streamType) { in getAudioAttributesForStrategyWithLegacyStreamType() 148 int streamType = productStrategy.getLegacyStreamTypeForAudioAttributes( in getLegacyStreamTypeForStrategyWithAudioAttributes() local 228 public @Nullable AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType() 276 public int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType() 390 AudioAttributesGroup(int volumeGroupId, int streamType, in AudioAttributesGroup() 438 public boolean supportsStreamType(int streamType) { in supportsStreamType()
|
/aosp14/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | AudioProductStrategy.java | 124 int streamType) { in getAudioAttributesForStrategyWithLegacyStreamType() 147 int streamType = productStrategy.getLegacyStreamTypeForAudioAttributes( in getLegacyStreamTypeForStrategyWithAudioAttributes() local 267 public @Nullable AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType() 317 public int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType() 450 AudioAttributesGroup(int volumeGroupId, int streamType, in AudioAttributesGroup() 503 public boolean supportsStreamType(int streamType) { in supportsStreamType()
|
/aosp12/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 147 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { in SeekBarVolumizer() 153 int streamType, in SeekBarVolumizer() 206 private int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType() 223 private @NonNull AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType() 579 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local 592 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local 621 private void updateVolumeSlider(int streamType, int streamValue) { in updateVolumeSlider()
|
/aosp14/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 161 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { in SeekBarVolumizer() 168 int streamType, in SeekBarVolumizer() 228 private int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType() 245 private @NonNull AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType() 629 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local 642 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local 678 private void updateVolumeSlider(int streamType, int streamValue) { in updateVolumeSlider()
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | IAudioService.aidl | 97 boolean isStreamMute(int streamType); in isStreamMute() 106 int getStreamVolume(int streamType); in getStreamVolume() 108 int getStreamMinVolume(int streamType); in getStreamMinVolume() 111 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() 123 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume() 208 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream() 228 boolean isStreamAffectedByRingerMode(int streamType); in isStreamAffectedByRingerMode() 230 boolean isStreamAffectedByMute(int streamType); in isStreamAffectedByMute() 347 oneway void adjustStreamVolumeForUid(int streamType, int direction, int flags, in adjustStreamVolumeForUid() 355 oneway void setStreamVolumeForUid(int streamType, int direction, int flags, in setStreamVolumeForUid() [all …]
|
H A D | IVolumeController.aidl | 28 void volumeChanged(int streamType, int flags); in volumeChanged()
|
H A D | AudioManager.java | 1046 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() 1064 public int getStreamMinVolume(int streamType) { in getStreamMinVolume() 1078 public int getStreamMinVolumeInt(int streamType) { in getStreamMinVolumeInt() 1095 public int getStreamVolume(int streamType) { in getStreamVolume() 1176 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume() 1391 public void setStreamSolo(int streamType, boolean state) { in setStreamSolo() 1445 public boolean isStreamMute(int streamType) { in isStreamMute() 1478 public void forceVolumeControlStream(int streamType) { in forceVolumeControlStream() 5550 public int getDevicesForStream(int streamType) { in getDevicesForStream() 6025 public int getOutputLatency(int streamType) { in getOutputLatency() [all …]
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | IAudioService.aidl | 107 void setStreamVolumeWithAttribution(int streamType, int index, int flags, in setStreamVolumeWithAttribution() 121 boolean isStreamMute(int streamType); in isStreamMute() 132 int getStreamVolume(int streamType); in getStreamVolume() 134 int getStreamMinVolume(int streamType); in getStreamMinVolume() 137 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() 163 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume() 261 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream() 271 int getStreamTypeAlias(int streamType); in getStreamTypeAlias() 296 boolean isStreamAffectedByRingerMode(int streamType); in isStreamAffectedByRingerMode() 298 boolean isStreamAffectedByMute(int streamType); in isStreamAffectedByMute() [all …]
|
H A D | IVolumeController.aidl | 28 void volumeChanged(int streamType, int flags); in volumeChanged()
|
H A D | VolumeInfo.java | 60 AudioVolumeGroup volGroup, int streamType) { in VolumeInfo() 205 public Builder(@AudioManager.PublicStreamTypes int streamType) { in Builder()
|
H A D | Ringtone.java | 116 public void setStreamType(int streamType) { in setStreamType() 603 int streamType = AudioAttributes.toLegacyStreamType(mAudioAttributes); in playFallbackRingtone() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | SoundDoseHelper.java | 614 /*package*/ boolean checkSafeMediaVolume(int streamType, int index, int device) { in checkSafeMediaVolume() 623 private boolean checkSafeMediaVolume_l(int streamType, int index, int device) { in checkSafeMediaVolume_l() 630 /*package*/ boolean willDisplayWarningAfterCheckVolume(int streamType, int index, int device, in willDisplayWarningAfterCheckVolume() 737 /*package*/ boolean raiseVolumeDisplaySafeMediaVolume(int streamType, int index, int device, in raiseVolumeDisplaySafeMediaVolume() 838 private void updateDoseAttenuation(int newIndex, int device, int streamType, in updateDoseAttenuation() 1256 StreamVolumeCommand(int streamType, int index, int flags, int device) { in StreamVolumeCommand()
|
H A D | AudioService.java | 2776 private int getIndexRange(int streamType) { in getIndexRange() 3302 final int streamType; in adjustSuggestedStreamVolume() local 4808 private void setStreamVolumeInt(int streamType, in setStreamVolumeInt() 4832 public boolean isStreamMute(int streamType) { in isStreamMute() 5003 public int getStreamVolume(int streamType) { in getStreamVolume() 5040 int streamType = vi.getStreamType(); in getDeviceVolume() local 5061 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() 5068 public int getStreamMinVolume(int streamType) { in getStreamMinVolume() 5536 private boolean isAlarm(int streamType) { in isAlarm() 5545 private boolean isMedia(int streamType) { in isMedia() [all …]
|
H A D | AudioServiceEvents.java | 180 DeviceVolumeEvent(int streamType, int index, @NonNull AudioDeviceAttributes device, in DeviceVolumeEvent() 575 StreamMuteEvent(int streamType, boolean muted, String source) { in StreamMuteEvent() 601 StreamUnmuteErrorEvent(int streamType, int ringerZenMutedStreams) { in StreamUnmuteErrorEvent()
|
/aosp12/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/sensoryfeedback/ |
H A D | EmergencyActionAlarmHelper.java | 97 int streamType = AudioManager.STREAM_ALARM; in setAlarmVolumeToFull() local
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowAudioManager.java | 87 public int getDevicesForStream(int streamType) { in getDevicesForStream()
|
/aosp12/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 2370 private int getIndexRange(int streamType) { in getIndexRange() 2720 final int streamType; in adjustSuggestedStreamVolume() local 3871 private void setStreamVolumeInt(int streamType, in setStreamVolumeInt() 3907 public boolean isStreamMute(int streamType) { in isStreamMute() 4074 public int getStreamVolume(int streamType) { in getStreamVolume() 4093 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() 4100 public int getStreamMinVolume(int streamType) { in getStreamMinVolume() 4462 private boolean isAlarm(int streamType) { in isAlarm() 4471 private boolean isMedia(int streamType) { in isMedia() 4476 private boolean isSystem(int streamType) { in isSystem() [all …]
|
/aosp12/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
H A D | AudioProductStrategyTest.java | 52 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() local
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | ToneGenerator.cpp | 990 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava, in ToneGenerator() 1271 audio_stream_type_t streamType = mStreamType; in initAudioTrack() local
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
H A D | PsiData.java | 60 int streamType, in PmtItem()
|
/aosp12/frameworks/av/services/audiopolicy/common/include/ |
H A D | policy.h | 190 audio_stream_type_t streamType) in hasStream()
|
/aosp14/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
H A D | AudioProductStrategyTest.java | 74 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() local
|