/frameworks/base/media/java/android/media/ |
H A D | IRingtonePlayer.aidl | 27 void play(IBinder token, in Uri uri, int streamType); 32 void playAsync(in Uri uri, in UserHandle user, boolean looping, int streamType);
|
H A D | IAudioService.aidl | 39 oneway void adjustLocalOrRemoteStreamVolume(int streamType, int direction); 43 void adjustStreamVolume(int streamType, int direction, int flags); 47 void setStreamVolume(int streamType, int index, int flags); 53 void setStreamSolo(int streamType, boolean state, IBinder cb); 55 void setStreamMute(int streamType, boolean state, IBinder cb); 57 boolean isStreamMute(int streamType); 63 int getStreamVolume(int streamType); 67 int getStreamMaxVolume(int streamType); 71 int getLastAudibleStreamVolume(int streamType); 146 void forceVolumeControlStream(int streamType, IBinde [all...] |
H A D | AudioTrack.java | 243 * @param streamType the type of the audio stream. See 264 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument 267 this(streamType, sampleRateInHz, channelConfig, audioFormat, 283 * @param streamType the type of the audio stream. See 305 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument 315 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode); 362 private void audioParamCheck(int streamType, int sampleRateInHz, argument 367 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC) 368 && (streamType ! 639 getNativeOutputSampleRate(int streamType) argument 1206 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument 1248 native_get_output_sample_rate(int streamType) argument [all...] |
H A D | ToneGenerator.java | 735 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC). 739 public ToneGenerator(int streamType, int volume) { argument 740 native_setup(streamType, volume); 874 private native final void native_setup(int streamType, int volume); argument
|
H A D | AudioService.java | 578 for (int streamType = 0; streamType < numStreamTypes; streamType++) { 579 if (streamType != mStreamVolumeAlias[streamType]) { 580 mStreamStates[streamType]. 581 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]], 583 mStreamStates[streamType]. 584 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]], 588 if (mStreamStates[streamType] 773 adjustLocalOrRemoteStreamVolume(int streamType, int direction) argument 811 adjustStreamVolume(int streamType, int direction, int flags) argument 920 setStreamVolume(int streamType, int index, int flags) argument 971 forceVolumeControlStream(int streamType, IBinder cb) argument 1075 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument 1128 setStreamVolumeInt(int streamType, int index, int device, boolean force, boolean lastAudible) argument 1165 setStreamSolo(int streamType, boolean state, IBinder cb) argument 1174 setStreamMute(int streamType, boolean state, IBinder cb) argument 1181 isStreamMute(int streamType) argument 1202 getStreamVolume(int streamType) argument 1248 getStreamMaxVolume(int streamType) argument 1258 getLastAudibleStreamVolume(int streamType) argument 2417 isStreamAffectedByRingerMode(int streamType) argument 2421 isStreamMutedByRingerMode(int streamType) argument 2425 isStreamAffectedByMute(int streamType) argument 2441 ensureValidStreamType(int streamType) argument 2648 VolumeStreamState(String settingName, int streamType) argument 4070 FocusStackEntry(int streamType, int duration, IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr, String pn, int uid) argument 5569 checkUpdateRemoteStateIfActive(int streamType) argument 5616 adjustRemoteVolume(int streamType, int direction, int flags) argument 5969 checkSafeMediaVolume(int streamType, int index, int device) argument [all...] |
H A D | AudioManager.java | 538 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL}, 548 public void adjustStreamVolume(int streamType, int direction, int flags) { argument 554 service.adjustStreamVolume(streamType, direction, flags); 674 * @param streamType The stream type whose maximum volume index is returned. 678 public int getStreamMaxVolume(int streamType) { argument 684 return service.getStreamMaxVolume(streamType); 695 * @param streamType The stream type whose volume index is returned. 700 public int getStreamVolume(int streamType) { argument 706 return service.getStreamVolume(streamType); 719 public int getLastAudibleStreamVolume(int streamType) { argument 781 setStreamVolume(int streamType, int index, int flags) argument 876 setStreamSolo(int streamType, boolean state) argument 905 setStreamMute(int streamType, boolean state) argument 919 isStreamMute(int streamType) argument 974 forceVolumeControlStream(int streamType) argument 1543 adjustLocalOrRemoteStreamVolume(int streamType, int direction) argument 1937 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument 1967 requestAudioFocusForCall(int streamType, int durationHint) argument 2404 getDevicesForStream(int streamType) argument [all...] |
H A D | SoundPool.java | 130 * @param streamType the audio stream type as described in AudioManager 137 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument 140 if (native_setup(new WeakReference(this), maxStreams, streamType, srcQuality) != 0) { 483 private native final int native_setup(Object weakRef, int maxStreams, int streamType, int srcQuality); argument
|
/frameworks/base/core/java/android/view/ |
H A D | VolumePanel.java | 174 int streamType; field in class:VolumePanel.StreamResources 181 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) { argument 182 this.streamType = streamType; 204 int streamType; field in class:VolumePanel.StreamControl 259 streamRes.show = (streamRes.streamType == STREAM_MASTER); 349 private boolean isMuted(int streamType) { argument 350 if (streamType == STREAM_MASTER) { 352 } else if (streamType == AudioService.STREAM_REMOTE_MUSIC) { 355 return mAudioManager.isStreamMute(streamType); 359 getStreamMaxVolume(int streamType) argument 369 getStreamVolume(int streamType) argument 379 setStreamVolume(int streamType, int index, int flags) argument 502 postVolumeChanged(int streamType, int flags) argument 513 postRemoteVolumeChanged(int streamType, int flags) argument 551 postMuteChanged(int streamType, int flags) argument 576 onVolumeChanged(int streamType, int flags) argument 606 onMuteChanged(int streamType, int flags) argument 618 onShowVolumeChanged(int streamType, int flags) argument 736 onPlaySound(int streamType, int flags) argument 776 onRemoteVolumeChanged(int streamType, int flags) argument 827 onSliderVisibilityChanged(int streamType, int visible) argument 871 getOrCreateToneGenerator(int streamType) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | RingtonePlayer.java | 75 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument 79 mRingtone.setStreamType(streamType); 95 public void play(IBinder token, Uri uri, int streamType) throws RemoteException { 105 client = new Client(token, uri, user, streamType); 141 public void playAsync(Uri uri, UserHandle user, boolean looping, int streamType) { 147 mAsyncPlayer.play(getContextForUser(user), uri, looping, streamType);
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerProxy.java | 48 void setAudioStreamType(int streamType); argument
|
H A D | SingleThreadedMediaPlayerProxy.java | 107 public void setAudioStreamType(int streamType) { argument 108 mDelegate.setAudioStreamType(streamType);
|
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 118 audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT, 133 * streamType: Select the type of audio stream this track is attached to 154 AudioTrack( audio_stream_type_t streamType, 166 explicit AudioTrack( int streamType, 186 AudioTrack( audio_stream_type_t streamType, 210 status_t set(audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT, 239 audio_stream_type_t streamType() const; 485 status_t createTrack_l(audio_stream_type_t streamType,
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 209 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, int streamType) { argument 210 return getOutputSamplingRate(samplingRate, (audio_stream_type_t)streamType); 213 status_t AudioSystem::getOutputSamplingRate(int* samplingRate, audio_stream_type_t streamType) argument 217 if (streamType == AUDIO_STREAM_DEFAULT) { 218 streamType = AUDIO_STREAM_MUSIC; 221 output = getOutput(streamType); 226 return getSamplingRate(output, streamType, samplingRate); 230 audio_stream_type_t streamType, 249 ALOGV("getSamplingRate() streamType %d, output %d, sampling rate %d", streamType, outpu 229 getSamplingRate(audio_io_handle_t output, audio_stream_type_t streamType, int* samplingRate) argument 255 getOutputFrameCount(int* frameCount, int streamType) argument 259 getOutputFrameCount(int* frameCount, audio_stream_type_t streamType) argument 275 getFrameCount(audio_io_handle_t output, audio_stream_type_t streamType, int* frameCount) argument 298 getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 314 getLatency(audio_io_handle_t output, audio_stream_type_t streamType, uint32_t* latency) argument 495 routedToA2dpOutput(audio_stream_type_t streamType) argument [all...] |
H A D | AudioTrack.cpp | 54 audio_stream_type_t streamType, 69 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { 73 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 77 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) { 103 audio_stream_type_t streamType, 118 mStatus = set(streamType, sampleRate, format, channelMask, 125 int streamType, 139 mStatus = set((audio_stream_type_t)streamType, sampleRate, (audio_format_t)format, 146 audio_stream_type_t streamType, 161 mStatus = set(streamType, sampleRat 52 getMinFrameCount( int* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument 102 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument 124 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument 145 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, int notificationFrames, int sessionId) argument 186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument 337 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack 749 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | AudioPlaybackQueueItem.java | 38 Context context, Uri uri, int streamType) { 43 mStreamType = streamType; 36 AudioPlaybackQueueItem(UtteranceProgressDispatcher dispatcher, Object callerIdentity, Context context, Uri uri, int streamType) argument
|
H A D | SynthesisPlaybackQueueItem.java | 66 SynthesisPlaybackQueueItem(int streamType, int sampleRate, argument 78 mAudioTrack = new BlockingAudioTrack(streamType, sampleRate, audioFormat,
|
H A D | PlaybackSynthesisCallback.java | 69 PlaybackSynthesisCallback(int streamType, float volume, float pan, argument 72 mStreamType = streamType;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | TSPacketizer.cpp | 37 unsigned PID, unsigned streamType, unsigned streamID); 40 unsigned streamType() const; 86 unsigned PID, unsigned streamType, unsigned streamID) 89 mStreamType(streamType), 123 unsigned TSPacketizer::Track::streamType() const { function in class:android::TSPacketizer::Track 366 unsigned streamType; local 371 streamType = 0x1b; 375 streamType = 0x0f; 379 streamType = 0x83; 392 if (track->streamType() 84 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | VolumePreference.java | 60 public void setStreamType(int streamType) { argument 61 mStreamType = streamType; 248 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) { argument 249 this(context, seekBar, streamType, null); 252 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) { argument 255 mStreamType = streamType;
|
/frameworks/wilhelm/src/android/ |
H A D | android_defs.h | 69 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4AMRR_CoreReader.c | 97 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType); 98 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType); 102 * M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) 107 * @param streamType(IN) : AMR stream type NB or WB 111 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) argument 116 if ( streamType == M4SYS_kAMR ) 128 * M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) 133 * @param streamType(IN) : AMR stream type NB or WB 137 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) argument 144 if ( streamType [all...] |
H A D | M4PCMR_CoreReader.c | 240 pStreamDesc->streamType = M4SYS_kPCM_8bitsU; 243 // pStreamDesc->streamType = M4SYS_kPCM_8bitsS; /* ??? 8bits stereo not 247 pStreamDesc->streamType = M4SYS_kAudioUnknown; 255 pStreamDesc->streamType = M4SYS_kPCM_16bitsU; 258 pStreamDesc->streamType = M4SYS_kPCM_16bitsS; 261 pStreamDesc->streamType = M4SYS_kAudioUnknown; 266 pStreamDesc->streamType = M4SYS_kAudioUnknown;
|
/frameworks/base/core/jni/ |
H A D | android_media_ToneGenerator.cpp | 89 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/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditor3gpReader.cpp | 1413 M4_StreamType streamType = M4DA_StreamTypeUnknown; local 1457 streamType = M4DA_StreamTypeVideoMpeg4Avc; 1459 streamType = M4DA_StreamTypeVideoH263; 1461 streamType = M4DA_StreamTypeVideoMpeg4; 1466 streamType); 1468 if(streamType != M4DA_StreamTypeUnknown) { 1469 pC->mStreamType = streamType; 1539 if(M4DA_StreamTypeVideoH263 == streamType) { 1574 else if(M4DA_StreamTypeVideoMpeg4Avc == streamType) { 1609 } else if( (M4DA_StreamTypeVideoMpeg4 == streamType) ) { [all...] |
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4SYS_Stream.h | 35 /** The streamType type provides a way to distinguish all streams (AAC, AMR, YUV420, MPEG-4 Video, 39 @n So a specific naming convention has been designed to allow a quick parsing of the streamType 146 M4SYS_StreamType streamType; /**< The stream type of the stream*/ member in struct:__anon183
|