Home
last modified time | relevance | path

Searched defs:streamType (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/hdmi/
DAudioManagerWrapper.java39 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()
DDefaultAudioManagerWrapper.java45 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DFakeAudioFramework.java79 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()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java132 int streamType) { in getAudioAttributesForStrategyWithLegacyStreamType()
157 int streamType = productStrategy.getLegacyStreamTypeForAudioAttributes( in getLegacyStreamTypeForStrategyWithAudioAttributes() local
277 public @Nullable AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType()
327 public int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType()
460 AudioAttributesGroup(int volumeGroupId, int streamType, in AudioAttributesGroup()
513 public boolean supportsStreamType(int streamType) { in supportsStreamType()
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java47 public void adjustStreamVolume(int streamType, int direction, int flags) { } in adjustStreamVolume()
59 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume()
63 public int getStreamMinVolume(int streamType) { in getStreamMinVolume()
67 public int getStreamMinVolumeInt(int streamType) { in getStreamMinVolumeInt()
71 public int getStreamVolume(int streamType) { in getStreamVolume()
75 public float getStreamVolumeDb(int streamType, int index, int deviceType) { in getStreamVolumeDb()
79 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume()
89 public void setStreamVolume(int streamType, int index, int flags) { } in setStreamVolume()
111 public void setStreamSolo(int streamType, boolean state) { } in setStreamSolo()
113 public void setStreamMute(int streamType, boolean state) { } in setStreamMute()
[all …]
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java161 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()
630 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local
643 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local
679 private void updateVolumeSlider(int streamType, int streamValue) { in updateVolumeSlider()
DVolumePreference.java73 public void setStreamType(int streamType) { in setStreamType()
/frameworks/base/media/java/android/media/
DIAudioService.aidl105 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume()
107 void adjustStreamVolumeWithAttribution(int streamType, int direction, int flags, in adjustStreamVolumeWithAttribution()
111 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume()
113 void setStreamVolumeWithAttribution(int streamType, int index, int flags, in setStreamVolumeWithAttribution()
127 boolean isStreamMute(int streamType); in isStreamMute()
138 int getStreamVolume(int streamType); in getStreamVolume()
140 int getStreamMinVolume(int streamType); in getStreamMinVolume()
143 int getStreamMaxVolume(int streamType); in getStreamMaxVolume()
169 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume()
268 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream()
[all …]
DIVolumeController.aidl28 void volumeChanged(int streamType, int flags); in volumeChanged()
DVolumeInfo.java60 AudioVolumeGroup volGroup, int streamType) { in VolumeInfo()
205 public Builder(@AudioManager.PublicStreamTypes int streamType) { in Builder()
DRingtone.java116 public void setStreamType(int streamType) { in setStreamType()
603 int streamType = AudioAttributes.toLegacyStreamType(mAudioAttributes); in playFallbackRingtone() local
DAudioManager.java1044 public void adjustStreamVolume(int streamType, int direction, @PublicVolumeFlags int flags) { in adjustStreamVolume()
1210 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume()
1228 public int getStreamMinVolume(int streamType) { in getStreamMinVolume()
1243 public int getStreamMinVolumeInt(int streamType) { in getStreamMinVolumeInt()
1260 public int getStreamVolume(int streamType) { in getStreamVolume()
1299 public float getStreamVolumeDb(@PublicStreamTypes int streamType, int index, in getStreamVolumeDb()
1325 public static boolean isPublicStreamType(int streamType) { in isPublicStreamType()
1348 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume()
1417 public void setStreamVolume(int streamType, int index, @PublicVolumeFlags int flags) { in setStreamVolume()
1728 public void setStreamSolo(int streamType, boolean state) { in setStreamSolo()
[all …]
DToneGenerator.java750 public ToneGenerator(int streamType, int volume) { in ToneGenerator()
886 int streamType, int volume, @NonNull String opPackageName); in native_setup()
DAudioAttributes.java1144 public Builder setLegacyStreamType(int streamType) { in setLegacyStreamType()
1160 public Builder setInternalLegacyStreamType(int streamType) { in setInternalLegacyStreamType()
1633 private static int usageForStreamType(int streamType) { in usageForStreamType()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/
DAudioRepositoryTest.kt85 val streamType = it.arguments[0] as Int in setup() constant
91 val streamType = it.arguments[0] as Int in setup() constant
/frameworks/base/services/core/java/com/android/server/audio/
DSoundDoseHelper.java656 /*package*/ boolean checkSafeMediaVolume(int streamType, int index, int device) { in checkSafeMediaVolume()
665 private boolean checkSafeMediaVolume_l(int streamType, int index, int device) { in checkSafeMediaVolume_l()
672 /*package*/ boolean willDisplayWarningAfterCheckVolume(int streamType, int index, int device, in willDisplayWarningAfterCheckVolume()
779 /*package*/ boolean raiseVolumeDisplaySafeMediaVolume(int streamType, int index, int device, in raiseVolumeDisplaySafeMediaVolume()
884 private void updateDoseAttenuation(int newIndex, int device, int streamType, in updateDoseAttenuation()
1342 StreamVolumeCommand(int streamType, int index, int flags, int device) { in StreamVolumeCommand()
DAudioService.java822 private VolumeInfo getMatchingVolumeInfoForStream(int streamType) { in getMatchingVolumeInfoForStream()
2294 private void updateVolumeStates(int device, int streamType, String caller) { in updateVolumeStates()
2334 private void checkAllFixedVolumeDevices(int streamType) { in checkAllFixedVolumeDevices()
2976 private int getIndexRange(int streamType) { in getIndexRange()
3502 final int streamType; in adjustSuggestedStreamVolume() local
3567 public void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
3574 public void adjustStreamVolumeWithAttribution(int streamType, int direction, int flags, in adjustStreamVolumeWithAttribution()
3598 protected void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
3935 private void broadcastMuteSetting(int streamType, boolean isMuted) { in broadcastMuteSetting()
4046 /*package*/ void onSetStreamVolume(int streamType, int index, int flags, int device, in onSetStreamVolume()
[all …]
DAudioServiceEvents.java185 DeviceVolumeEvent(int streamType, int index, @NonNull AudioDeviceAttributes device, in DeviceVolumeEvent()
688 StreamMuteEvent(int streamType, boolean muted, String source) { in StreamMuteEvent()
714 StreamUnmuteErrorEvent(int streamType, int ringerZenMutedStreams) { in StreamUnmuteErrorEvent()
DAudioDeviceBroker.java438 final int streamType = mAudioService.getBluetoothContextualVolumeStream(); in setCommunicationRouteForClient() local
812 BleVolumeInfo(int index, int maxIndex, int streamType) { in BleVolumeInfo()
1241 /*package*/ void postSetHearingAidVolumeIndex(int index, int streamType) { in postSetHearingAidVolumeIndex()
1245 /*package*/ void postSetLeAudioVolumeIndex(int index, int maxIndex, int streamType) { in postSetLeAudioVolumeIndex()
1392 /*package*/ int getVssVolumeForDevice(int streamType, int device) { in getVssVolumeForDevice()
1396 /*package*/ int getMaxVssVolumeForStream(int streamType) { in getMaxVssVolumeForStream()
1400 /*package*/ int getDeviceForStream(int streamType) { in getDeviceForStream()
1404 /*package*/ void postApplyVolumeOnDevice(int streamType, int device, String caller) { in postApplyVolumeOnDevice()
1408 /*package*/ void postSetVolumeIndexOnDevice(int streamType, int vssVolIndex, int device, in postSetVolumeIndexOnDevice()
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1028 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava, in ToneGenerator()
1325 audio_stream_type_t streamType = mStreamType; in initAudioTrack() local
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioProductStrategyTest.java74 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() local
/frameworks/av/services/audiopolicy/common/include/
Dpolicy.h198 audio_stream_type_t streamType) in hasStream()
/frameworks/base/core/jni/
Dandroid_media_ToneGenerator.cpp93 static void android_media_ToneGenerator_native_setup(JNIEnv *env, jobject thiz, jint streamType, in android_media_ToneGenerator_native_setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DVolumeHelperTest.java263 private AudioVolumeGroup getStreamTypeVolumeGroup(int streamType) { in getStreamTypeVolumeGroup()
740 private int circularNoMinMaxIncrementVolume(int streamType) throws Exception { in circularNoMinMaxIncrementVolume()
/frameworks/base/media/java/android/media/metrics/
DPlaybackMetrics.java179 int streamType, in PlaybackMetrics()
447 int streamType = in.readInt(); in PlaybackMetrics() local

1234