Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java125 int streamType) { in getAudioAttributesForStrategyWithLegacyStreamType()
150 int streamType = productStrategy.getLegacyStreamTypeForAudioAttributes( in getLegacyStreamTypeForStrategyWithAudioAttributes() local
230 public @Nullable AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType()
278 public int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType()
392 AudioAttributesGroup(int volumeGroupId, int streamType, in AudioAttributesGroup()
440 public boolean supportsStreamType(int streamType) { in supportsStreamType()
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java31 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, in adjustSuggestedStreamVolumeForUid()
34 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, in adjustStreamVolumeForUid()
37 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, in setStreamVolumeForUid()
DIAudioService.aidl77 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume()
80 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume()
85 boolean isStreamMute(int streamType); in isStreamMute()
94 int getStreamVolume(int streamType); in getStreamVolume()
96 int getStreamMinVolume(int streamType); in getStreamMinVolume()
99 int getStreamMaxVolume(int streamType); in getStreamMaxVolume()
111 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume()
184 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream()
204 boolean isStreamAffectedByRingerMode(int streamType); in isStreamAffectedByRingerMode()
206 boolean isStreamAffectedByMute(int streamType); in isStreamAffectedByMute()
DIVolumeController.aidl28 void volumeChanged(int streamType, int flags); in volumeChanged()
DAudioManager.java850 public void adjustStreamVolume(int streamType, int direction, int flags) { in adjustStreamVolume()
974 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume()
992 public int getStreamMinVolume(int streamType) { in getStreamMinVolume()
1006 public int getStreamMinVolumeInt(int streamType) { in getStreamMinVolumeInt()
1023 public int getStreamVolume(int streamType) { in getStreamVolume()
1062 public float getStreamVolumeDb(@PublicStreamTypes int streamType, int index, in getStreamVolumeDb()
1082 private static boolean isPublicStreamType(int streamType) { in isPublicStreamType()
1104 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume()
1173 public void setStreamVolume(int streamType, int index, int flags) { in setStreamVolume()
1319 public void setStreamSolo(int streamType, boolean state) { in setStreamSolo()
[all …]
DToneGenerator.java747 public ToneGenerator(int streamType, int volume) { in ToneGenerator()
882 private native final void native_setup(int streamType, int volume); in native_setup()
DAudioAttributes.java933 public Builder setLegacyStreamType(int streamType) { in setLegacyStreamType()
949 public Builder setInternalLegacyStreamType(int streamType) { in setInternalLegacyStreamType()
1297 private static int usageForStreamType(int streamType) { in usageForStreamType()
DRingtone.java110 public void setStreamType(int streamType) { in setStreamType()
DRingtoneManager.java709 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { in getRingtone()
727 final Context context, Uri ringtoneUri, int streamType, in getRingtone()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java136 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { in SeekBarVolumizer()
142 int streamType, in SeekBarVolumizer()
195 private int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType()
212 private @NonNull AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType()
540 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local
553 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local
580 private void updateVolumeSlider(int streamType, int streamValue) { in updateVolumeSlider()
DVolumePreference.java73 public void setStreamType(int streamType) { in setStreamType()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1407 private void checkAllFixedVolumeDevices(int streamType) { in checkAllFixedVolumeDevices()
1823 private int getIndexRange(int streamType) { in getIndexRange()
2027 final int streamType; in adjustSuggestedStreamVolume() local
2092 public void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
2108 protected void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
2445 StreamVolumeCommand(int streamType, int index, int flags, int device) { in StreamVolumeCommand()
2507 private void onSetStreamVolume(int streamType, int index, int flags, int device, in onSetStreamVolume()
2602 public void setStreamVolume(int streamType, int index, int flags, String callingPackage) { in setStreamVolume()
2701 final int streamType = getHearingAidStreamType(); in updateHearingAidVolumeOnVoiceActivityUpdate() local
2733 int streamType = getHearingAidStreamType(newMode); in updateAbsVolumeMultiModeDevices() local
[all …]
DAudioDeviceBroker.java498 /*package*/ void postSetHearingAidVolumeIndex(int index, int streamType) { in postSetHearingAidVolumeIndex()
555 /*package*/ int getVssVolumeForDevice(int streamType, int device) { in getVssVolumeForDevice()
563 /*package*/ int getDeviceForStream(int streamType) { in getDeviceForStream()
567 /*package*/ void postApplyVolumeOnDevice(int streamType, int device, String caller) { in postApplyVolumeOnDevice()
571 /*package*/ void postSetVolumeIndexOnDevice(int streamType, int vssVolIndex, int device, in postSetVolumeIndexOnDevice()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioProductStrategyTest.java52 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() local
/frameworks/av/media/libaudioclient/
DToneGenerator.cpp982 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { in ToneGenerator()
1257 audio_stream_type_t streamType = mStreamType; in initAudioTrack() local
DAudioTrack.cpp109 audio_stream_type_t streamType, in getMinFrameCount()
235 audio_stream_type_t streamType, in AudioTrack()
271 audio_stream_type_t streamType, in AudioTrack()
349 audio_stream_type_t streamType, in set()
1447 audio_stream_type_t AudioTrack::streamType() const in streamType() function in android::AudioTrack
/frameworks/av/services/audiopolicy/common/include/
Dpolicy.h190 audio_stream_type_t streamType) in hasStream()
/frameworks/base/core/jni/
Dandroid_media_ToneGenerator.cpp89 jint streamType, jint volume) { in android_media_ToneGenerator_native_setup()
Dandroid_media_AudioProductStrategies.cpp92 int streamType = attr.getStreamType(); in convertAudioProductStrategiesFromNative() local
/frameworks/av/services/mediametrics/
DAudioTypes.cpp303 int32_t lookup<STREAM_TYPE>(const std::string &streamType) in lookup()
313 std::string lookup<STREAM_TYPE>(const std::string &streamType) in lookup()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp61 static constexpr const char *streamType = "streamType"; member
313 audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT; in deserialize() local
594 audio_stream_type_t streamType; in deserializeLegacyVolumeCollection() local
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp82 audio_stream_type_t streamType = iter->mStream; in getStreamTypeForAttributes() local
/frameworks/wilhelm/src/android/
Dandroid_defs.h71 audio_stream_type_t streamType; member
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp236 const char* streamType = xmlStream.Attribute("type"); in parseStream() local
/frameworks/base/services/core/java/com/android/server/media/
DSystemMediaRoute2Provider.java424 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local

123