Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/media/audiopolicy/
DAudioProductStrategy.java124 int streamType) { in getAudioAttributesForStrategyWithLegacyStreamType()
149 int streamType = productStrategy.getLegacyStreamTypeForAudioAttributes( in getLegacyStreamTypeForStrategyWithAudioAttributes() local
262 public @Nullable AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType()
312 public int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType()
446 AudioAttributesGroup(int volumeGroupId, int streamType, in AudioAttributesGroup()
494 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.java163 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { in SeekBarVolumizer()
170 int streamType, in SeekBarVolumizer()
230 private int getVolumeGroupIdForLegacyStreamType(int streamType) { in getVolumeGroupIdForLegacyStreamType()
247 private @NonNull AudioAttributes getAudioAttributesForLegacyStreamType(int streamType) { in getAudioAttributesForLegacyStreamType()
638 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local
651 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local
687 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.aidl90 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume()
92 void adjustStreamVolumeWithAttribution(int streamType, int direction, int flags, in adjustStreamVolumeWithAttribution()
96 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume()
98 void setStreamVolumeWithAttribution(int streamType, int index, int flags, in setStreamVolumeWithAttribution()
110 boolean isStreamMute(int streamType); in isStreamMute()
120 int getStreamVolume(int streamType); in getStreamVolume()
122 int getStreamMinVolume(int streamType); in getStreamMinVolume()
125 int getStreamMaxVolume(int streamType); in getStreamMaxVolume()
144 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume()
229 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream()
[all …]
DIVolumeController.aidl28 void volumeChanged(int streamType, int flags); in volumeChanged()
DVolumeInfo.java62 AudioVolumeGroup volGroup, int streamType) { in VolumeInfo()
207 public Builder(@AudioManager.PublicStreamTypes int streamType) { in Builder()
DRingtone.java116 public void setStreamType(int streamType) { in setStreamType()
578 int streamType = AudioAttributes.toLegacyStreamType(mAudioAttributes); in playFallbackRingtone() local
DAudioManager.java959 public void adjustStreamVolume(int streamType, int direction, int flags) { in adjustStreamVolume()
1106 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume()
1124 public int getStreamMinVolume(int streamType) { in getStreamMinVolume()
1139 public int getStreamMinVolumeInt(int streamType) { in getStreamMinVolumeInt()
1156 public int getStreamVolume(int streamType) { in getStreamVolume()
1195 public float getStreamVolumeDb(@PublicStreamTypes int streamType, int index, in getStreamVolumeDb()
1221 public static boolean isPublicStreamType(int streamType) { in isPublicStreamType()
1244 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume()
1313 public void setStreamVolume(int streamType, int index, int flags) { in setStreamVolume()
1610 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.java1145 public Builder setLegacyStreamType(int streamType) { in setLegacyStreamType()
1161 public Builder setInternalLegacyStreamType(int streamType) { in setInternalLegacyStreamType()
1629 private static int usageForStreamType(int streamType) { in usageForStreamType()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioProductStrategyTest.java53 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() local
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java695 private VolumeInfo getMatchingVolumeInfoForStream(int streamType) { in getMatchingVolumeInfoForStream()
2075 private void updateVolumeStates(int device, int streamType, String caller) { in updateVolumeStates()
2115 private void checkAllFixedVolumeDevices(int streamType) { in checkAllFixedVolumeDevices()
2762 private int getIndexRange(int streamType) { in getIndexRange()
3135 final int streamType; in adjustSuggestedStreamVolume() local
3199 public void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
3206 public void adjustStreamVolumeWithAttribution(int streamType, int direction, int flags, in adjustStreamVolumeWithAttribution()
3221 protected void adjustStreamVolume(int streamType, int direction, int flags, in adjustStreamVolume()
3543 private void broadcastMuteSetting(int streamType, boolean isMuted) { in broadcastMuteSetting()
3593 StreamVolumeCommand(int streamType, int index, int flags, int device) { in StreamVolumeCommand()
[all …]
DAudioDeviceBroker.java648 BleVolumeInfo(int index, int maxIndex, int streamType) { in BleVolumeInfo()
872 /*package*/ void postSetHearingAidVolumeIndex(int index, int streamType) { in postSetHearingAidVolumeIndex()
876 /*package*/ void postSetLeAudioVolumeIndex(int index, int maxIndex, int streamType) { in postSetLeAudioVolumeIndex()
1012 /*package*/ int getVssVolumeForDevice(int streamType, int device) { in getVssVolumeForDevice()
1016 /*package*/ int getMaxVssVolumeForStream(int streamType) { in getMaxVssVolumeForStream()
1020 /*package*/ int getDeviceForStream(int streamType) { in getDeviceForStream()
1024 /*package*/ void postApplyVolumeOnDevice(int streamType, int device, String caller) { in postApplyVolumeOnDevice()
1028 /*package*/ void postSetVolumeIndexOnDevice(int streamType, int vssVolIndex, int device, in postSetVolumeIndexOnDevice()
DBtHelper.java417 /*package*/ synchronized void setLeAudioVolume(int index, int maxIndex, int streamType) { in setLeAudioVolume()
440 /*package*/ synchronized void setHearingAidVolume(int index, int streamType, in setHearingAidVolume()
DAudioDeviceInventory.java299 void onSetBtActiveDevice(@NonNull AudioDeviceBroker.BtDeviceInfo btInfo, int streamType) { in onSetBtActiveDevice()
1128 String address, String name, int streamType, String eventSource) { in makeHearingAidDeviceAvailable()
1189 private void makeLeAudioDeviceAvailable(String address, String name, int streamType, in makeLeAudioDeviceAvailable()
/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
DAudioTrack.cpp115 audio_stream_type_t streamType, in getMinFrameCount()
255 audio_stream_type_t streamType, in AudioTrack()
330 audio_stream_type_t streamType, in AudioTrack()
368 audio_stream_type_t streamType, in AudioTrack()
401 audio_stream_type_t streamType, in AudioTrack()
501 audio_stream_type_t streamType, in set()
532 audio_stream_type_t streamType, in set()
850 audio_stream_type_t streamType, in set()
1850 audio_stream_type_t AudioTrack::streamType() const in streamType() function in android::AudioTrack
/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()
/frameworks/base/media/java/android/media/metrics/
DPlaybackMetrics.java179 int streamType, in PlaybackMetrics()
446 int streamType = in.readInt(); in PlaybackMetrics() local
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp61 static constexpr const char *streamType = "streamType"; member
328 audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT; in deserialize() local
619 audio_stream_type_t streamType; in deserializeLegacyVolumeCollection() local

123