Searched refs:streamType (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/base/media/java/android/media/
H A DIVolumeController.aidl28 void volumeChanged(int streamType, int flags);
H A DAudioManagerInternal.java30 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument
33 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument
36 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, argument
H A DIAudioService.aidl56 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage);
58 void setStreamVolume(int streamType, int index, int flags, String callingPackage);
60 boolean isStreamMute(int streamType);
68 int getStreamVolume(int streamType);
70 int getStreamMinVolume(int streamType);
72 int getStreamMaxVolume(int streamType);
74 int getLastAudibleStreamVolume(int streamType);
137 void forceVolumeControlStream(int streamType, IBinder cb);
158 boolean isStreamAffectedByRingerMode(int streamType);
160 boolean isStreamAffectedByMute(int streamType);
[all...]
H A DToneGenerator.java741 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC).
745 public ToneGenerator(int streamType, int volume) { argument
746 native_setup(streamType, volume);
880 private native final void native_setup(int streamType, int volume); argument
H A DAudioAttributes.java622 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL},
628 public Builder setLegacyStreamType(int streamType) { argument
629 if (streamType == AudioManager.STREAM_ACCESSIBILITY) {
633 return setInternalLegacyStreamType(streamType);
639 * @param streamType
642 public Builder setInternalLegacyStreamType(int streamType) { argument
643 switch(streamType) {
679 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes");
681 mUsage = usageForStreamType(streamType);
896 private static int usageForStreamType(int streamType) { argument
[all...]
H A DAudioManager.java760 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
770 public void adjustStreamVolume(int streamType, int direction, int flags) { argument
773 service.adjustStreamVolume(streamType, direction, flags,
887 * @param streamType The stream type whose maximum volume index is returned.
891 public int getStreamMaxVolume(int streamType) { argument
894 return service.getStreamMaxVolume(streamType);
903 * @param streamType The stream type whose minimum volume index is returned.
908 public int getStreamMinVolume(int streamType) { argument
911 return service.getStreamMinVolume(streamType);
920 * @param streamType Th
925 getStreamVolume(int streamType) argument
939 getLastAudibleStreamVolume(int streamType) argument
1006 setStreamVolume(int streamType, int index, int flags) argument
1029 setStreamSolo(int streamType, boolean state) argument
1066 setStreamMute(int streamType, boolean state) argument
1083 isStreamMute(int streamType) argument
1113 forceVolumeControlStream(int streamType) argument
2253 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument
2518 requestAudioFocusForCall(int streamType, int durationHint) argument
3544 getDevicesForStream(int streamType) argument
3707 getOutputLatency(int streamType) argument
3742 isStreamAffectedByRingerMode(int streamType) argument
3754 isStreamAffectedByMute(int streamType) argument
[all...]
H A DSoundPool.java140 * @param streamType the audio stream type as described in AudioManager
149 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument
151 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build());
152 PlayerBase.deprecateStreamTypeForPlayback(streamType, "SoundPool", "SoundPool()");
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DSessionRoute.h32 // streamType argument
41 audio_stream_type_t streamType,
51 mStreamType(streamType),
105 // in the streamType argument.
107 audio_stream_type_t streamType,
40 SessionRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, sp<DeviceDescriptor> deviceDescriptor, uid_t uid) argument
/frameworks/av/include/media/
H A DAudioPolicyHelper.h70 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument
74 switch (streamType) {
117 ALOGE("invalid stream type %d when converting to attributes", streamType);
H A DAudioTrack.h144 audio_stream_type_t streamType,
168 * streamType: Select the type of audio stream this track is attached to
212 * pAttributes: If not NULL, supersedes streamType for use case selection.
224 AudioTrack( audio_stream_type_t streamType,
254 AudioTrack( audio_stream_type_t streamType,
298 status_t set(audio_stream_type_t streamType,
338 audio_stream_type_t streamType() const;
/frameworks/av/media/libaudioclient/include/media/
H A DAudioPolicyHelper.h70 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument
74 switch (streamType) {
117 ALOGE("invalid stream type %d when converting to attributes", streamType);
H A DAudioTrack.h144 audio_stream_type_t streamType,
168 * streamType: Select the type of audio stream this track is attached to
212 * pAttributes: If not NULL, supersedes streamType for use case selection.
224 AudioTrack( audio_stream_type_t streamType,
254 AudioTrack( audio_stream_type_t streamType,
298 status_t set(audio_stream_type_t streamType,
338 audio_stream_type_t streamType() const;
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java860 for (int streamType = numStreamTypes - 1; streamType >= 0; streamType--) {
861 VolumeStreamState streamState = mStreamStates[streamType];
863 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10);
936 for (int streamType = 0; streamType < numStreamTypes; streamType++) {
937 mStreamStates[streamType]
938 .setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]], TA
955 checkAllFixedVolumeDevices(int streamType) argument
1277 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage) argument
1288 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage, String caller, int uid) argument
1522 StreamVolumeCommand(int streamType, int index, int flags, int device) argument
1579 onSetStreamVolume(int streamType, int index, int flags, int device, String caller) argument
1594 setStreamVolume(int streamType, int index, int flags, String callingPackage) argument
1622 setStreamVolume(int streamType, int index, int flags, String callingPackage, String caller, int uid) argument
1729 forceVolumeControlStream(int streamType, IBinder cb) argument
1820 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument
1867 setStreamVolumeInt(int streamType, int index, int device, boolean force, String caller) argument
1903 isStreamMute(int streamType) argument
2064 getStreamVolume(int streamType) argument
2083 getStreamMaxVolume(int streamType) argument
2089 getStreamMinVolume(int streamType) argument
2095 getLastAudibleStreamVolume(int streamType) argument
3620 isStreamAffectedByRingerMode(int streamType) argument
3624 isStreamMutedByRingerMode(int streamType) argument
3666 isStreamAffectedByMute(int streamType) argument
3684 ensureValidStreamType(int streamType) argument
4029 VolumeStreamState(String settingName, int streamType) argument
6012 checkSafeMediaVolume(int streamType, int index, int device) argument
6409 postVolumeChanged(int streamType, int flags) argument
6475 adjustSuggestedStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
6484 adjustStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
6491 setStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSessionRoute.cpp91 audio_stream_type_t streamType,
96 if (mMapType == MAPTYPE_INPUT && streamType != SessionRoute::STREAM_TYPE_NA) {
115 route = new SessionRoute(session, streamType, source, descriptor, uid);
90 addRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, const sp<DeviceDescriptor>& descriptor, uid_t uid) argument
/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java90 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument
94 mStreamType = streamType;
411 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
413 updateVolumeSlider(streamType, streamValue);
422 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
423 int streamVolume = mAudioManager.getStreamVolume(streamType);
424 updateVolumeSlider(streamType, streamVolume);
431 private void updateVolumeSlider(int streamType, int streamValue) { argument
432 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType)
433 : (streamType
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_ToneGenerator.cpp89 jint streamType, jint volume) {
90 ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linearToLog(volume), true);
88 android_media_ToneGenerator_native_setup(JNIEnv *env, jobject thiz, jint streamType, jint volume) argument
/frameworks/av/include/media/stagefright/
H A DESDS.h38 status_t getStreamType(uint8_t *streamType) const;
/frameworks/av/media/libstagefright/foundation/include/
H A DESDS.h38 status_t getStreamType(uint8_t *streamType) const;
/frameworks/av/media/libstagefright/include/
H A DESDS.h38 status_t getStreamType(uint8_t *streamType) const;
/frameworks/support/media-compat/java/android/support/v4/media/
H A DAudioAttributesCompat.java565 * @param streamType one of <code>AudioManager.STREAM_*</code>
568 public Builder setLegacyStreamType(int streamType) { argument
569 if (streamType == AudioManagerHidden.STREAM_ACCESSIBILITY) {
574 mLegacyStream = streamType;
575 mUsage = usageForStreamType(streamType);
661 private static int usageForStreamType(int streamType) { argument
662 switch (streamType) {
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp37 unsigned PID, unsigned streamType, unsigned streamID);
40 unsigned streamType() const;
88 unsigned PID, unsigned streamType, unsigned streamID)
91 mStreamType(streamType),
134 unsigned TSPacketizer::Track::streamType() const { function in class:android::TSPacketizer::Track
398 unsigned streamType; local
403 streamType = 0x1b;
407 streamType = 0x0f;
411 streamType = 0x83;
424 if (track->streamType()
86 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_defs.h71 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h27 audio_stream_type_t streamType,
56 audio_stream_type_t streamType() const { function in class:Track
238 audio_stream_type_t streamType,
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp125 audio_stream_type_t streamType,
139 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
142 streamType, status);
146 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
149 streamType, status);
153 status = AudioSystem::getOutputLatency(&afLatency, streamType);
156 streamType, status);
169 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %u",
170 streamType, sampleRate);
196 audio_stream_type_t streamType,
123 getMinFrameCount( size_t* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument
195 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
227 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
287 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
1242 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack
1265 audio_stream_type_t streamType = mStreamType; local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp538 unsigned streamType; local
544 streamType = mStreamTypeByESID.valueAt(streamTypeIndex);
548 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO;
551 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO;
553 streamType = ATSParser::STREAMTYPE_RESERVED;
557 stream_id, new Track(this, stream_id, streamType));

Completed in 1542 milliseconds

1234