Home
last modified time | relevance | path

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

123

/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.java124 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()
/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()
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()
DVolumePreference.java73 public void setStreamType(int streamType) { in setStreamType()
/frameworks/base/media/java/android/media/
DIAudioService.aidl99 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume()
101 void adjustStreamVolumeWithAttribution(int streamType, int direction, int flags, in adjustStreamVolumeWithAttribution()
105 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume()
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()
[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.java1041 public void adjustStreamVolume(int streamType, int direction, @PublicVolumeFlags int flags) { in adjustStreamVolume()
1189 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume()
1207 public int getStreamMinVolume(int streamType) { in getStreamMinVolume()
1222 public int getStreamMinVolumeInt(int streamType) { in getStreamMinVolumeInt()
1239 public int getStreamVolume(int streamType) { in getStreamVolume()
1278 public float getStreamVolumeDb(@PublicStreamTypes int streamType, int index, in getStreamVolumeDb()
1304 public static boolean isPublicStreamType(int streamType) { in isPublicStreamType()
1327 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume()
1396 public void setStreamVolume(int streamType, int index, @PublicVolumeFlags int flags) { in setStreamVolume()
1708 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()
/frameworks/base/services/core/java/com/android/server/audio/
DSoundDoseHelper.java614 /*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()
DAudioService.java737 private VolumeInfo getMatchingVolumeInfoForStream(int streamType) { in getMatchingVolumeInfoForStream()
2099 private void updateVolumeStates(int device, int streamType, String caller) { in updateVolumeStates()
2139 private void checkAllFixedVolumeDevices(int streamType) { in checkAllFixedVolumeDevices()
2776 private int getIndexRange(int streamType) { in getIndexRange()
3285 final int streamType; in adjustSuggestedStreamVolume() local
3350 public void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
3357 public void adjustStreamVolumeWithAttribution(int streamType, int direction, int flags, in adjustStreamVolumeWithAttribution()
3377 protected void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
3706 private void broadcastMuteSetting(int streamType, boolean isMuted) { in broadcastMuteSetting()
3814 /*package*/ void onSetStreamVolume(int streamType, int index, int flags, int device, in onSetStreamVolume()
[all …]
DAudioServiceEvents.java180 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()
DAudioDeviceBroker.java433 final int streamType = mAudioService.getBluetoothContextualVolumeStream(); in setCommunicationRouteForClient() local
793 BleVolumeInfo(int index, int maxIndex, int streamType) { in BleVolumeInfo()
1193 /*package*/ void postSetHearingAidVolumeIndex(int index, int streamType) { in postSetHearingAidVolumeIndex()
1197 /*package*/ void postSetLeAudioVolumeIndex(int index, int maxIndex, int streamType) { in postSetLeAudioVolumeIndex()
1338 /*package*/ int getVssVolumeForDevice(int streamType, int device) { in getVssVolumeForDevice()
1342 /*package*/ int getMaxVssVolumeForStream(int streamType) { in getMaxVssVolumeForStream()
1346 /*package*/ int getDeviceForStream(int streamType) { in getDeviceForStream()
1350 /*package*/ void postApplyVolumeOnDevice(int streamType, int device, String caller) { in postApplyVolumeOnDevice()
1354 /*package*/ void postSetVolumeIndexOnDevice(int streamType, int vssVolIndex, int device, in postSetVolumeIndexOnDevice()
DBtHelper.java385 /*package*/ synchronized void setLeAudioVolume(int index, int maxIndex, int streamType) { in setLeAudioVolume()
408 /*package*/ synchronized void setHearingAidVolume(int index, int streamType, in setHearingAidVolume()
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp1006 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava, in ToneGenerator()
1304 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.h193 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()
Dandroid_media_AudioProductStrategies.cpp92 int streamType = attr.getStreamType(); in convertAudioProductStrategiesFromNative() local
/frameworks/av/media/libmediahelper/tests/
Dtypeconverter_tests.cpp217 audio_stream_type_t streamType; in TEST() local
/frameworks/av/services/mediametrics/
DAudioTypes.cpp526 int32_t lookup<STREAM_TYPE>(const std::string &streamType) in lookup()
536 std::string lookup<STREAM_TYPE>(const std::string &streamType) in lookup()

123