/frameworks/base/media/java/android/media/ |
H A D | VolumeController.java | 26 public void postRemoteVolumeChanged(int streamType, int flags); argument
|
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 | 42 oneway void adjustLocalOrRemoteStreamVolume(int streamType, int direction, 48 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); 52 void setStreamVolume(int streamType, int index, int flags, String callingPackage); 58 void setStreamSolo(int streamType, boolean state, IBinder cb); 60 void setStreamMute(int streamType, boolean state, IBinder cb); 62 boolean isStreamMute(int streamType); 68 int getStreamVolume(int streamType); 72 int getStreamMaxVolume(int streamType); 76 int getLastAudibleStreamVolume(int streamType); 227 void forceVolumeControlStream(int streamType, IBinde [all...] |
H A D | AudioTrack.java | 238 * @param streamType the type of the audio stream. See 262 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument 265 this(streamType, sampleRateInHz, channelConfig, audioFormat, 281 * @param streamType the type of the audio stream. See 303 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 ! 660 getNativeOutputSampleRate(int streamType) argument 1321 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument 1370 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 | 592 for (int streamType = 0; streamType < numStreamTypes; streamType++) { 593 if (streamType != mStreamVolumeAlias[streamType]) { 594 mStreamStates[streamType]. 595 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]]); 598 if (!mStreamStates[streamType].isMuted()) { 599 mStreamStates[streamType].applyAllVolumes(); 782 * on streamType 783 adjustLocalOrRemoteStreamVolume(int streamType, int direction, String callingPackage) argument 823 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage) argument 960 StreamVolumeCommand(int streamType, int index, int flags, int device) argument 968 onSetStreamVolume(int streamType, int index, int flags, int device) argument 985 setStreamVolume(int streamType, int index, int flags, String callingPackage) argument 1056 forceVolumeControlStream(int streamType, IBinder cb) argument 1160 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument 1212 setStreamVolumeInt(int streamType, int index, int device, boolean force) argument 1232 setStreamSolo(int streamType, boolean state, IBinder cb) argument 1244 setStreamMute(int streamType, boolean state, IBinder cb) argument 1255 isStreamMute(int streamType) argument 1279 getMaxStreamVolume(int streamType) argument 1284 getStreamVolume(int streamType) argument 1341 getStreamMaxVolume(int streamType) argument 1351 getLastAudibleStreamVolume(int streamType) argument 2547 isStreamAffectedByRingerMode(int streamType) argument 2551 isStreamMutedByRingerMode(int streamType) argument 2599 isStreamAffectedByMute(int streamType) argument 2615 ensureValidStreamType(int streamType) argument 2836 VolumeStreamState(String settingName, int streamType) argument 4548 checkSafeMediaVolume(int streamType, int index, int device) argument [all...] |
H A D | AudioManager.java | 580 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL}, 590 public void adjustStreamVolume(int streamType, int direction, int flags) { argument 596 service.adjustStreamVolume(streamType, direction, flags, 718 * @param streamType The stream type whose maximum volume index is returned. 722 public int getStreamMaxVolume(int streamType) { argument 728 return service.getStreamMaxVolume(streamType); 739 * @param streamType The stream type whose volume index is returned. 744 public int getStreamVolume(int streamType) { argument 750 return service.getStreamVolume(streamType); 763 public int getLastAudibleStreamVolume(int streamType) { argument 825 setStreamVolume(int streamType, int index, int flags) argument 920 setStreamSolo(int streamType, boolean state) argument 949 setStreamMute(int streamType, boolean state) argument 963 isStreamMute(int streamType) argument 1018 forceVolumeControlStream(int streamType) argument 1613 adjustLocalOrRemoteStreamVolume(int streamType, int direction) argument 2034 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument 2064 requestAudioFocusForCall(int streamType, int durationHint) argument 2625 getDevicesForStream(int streamType) argument 2727 getOutputLatency(int streamType) argument [all...] |
H A D | SoundPool.java | 116 * @param streamType the audio stream type as described in AudioManager 123 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument 127 mImpl = new SoundPoolImpl(this, maxStreams, streamType, srcQuality); 459 public SoundPoolImpl(SoundPool proxy, int maxStreams, int streamType, int srcQuality) { argument 462 if (native_setup(new WeakReference(this), maxStreams, streamType, srcQuality) != 0) { 614 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 | 176 int streamType; field in class:VolumePanel.StreamResources 183 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) { argument 184 this.streamType = streamType; 206 int streamType; field in class:VolumePanel.StreamControl 267 streamRes.show = (streamRes.streamType == STREAM_MASTER); 363 private boolean isMuted(int streamType) { argument 364 if (streamType == STREAM_MASTER) { 366 } else if (streamType == AudioService.STREAM_REMOTE_MUSIC) { 369 return mAudioManager.isStreamMute(streamType); 373 getStreamMaxVolume(int streamType) argument 383 getStreamVolume(int streamType) argument 393 setStreamVolume(int streamType, int index, int flags) argument 520 postVolumeChanged(int streamType, int flags) argument 531 postRemoteVolumeChanged(int streamType, int flags) argument 569 postMuteChanged(int streamType, int flags) argument 594 onVolumeChanged(int streamType, int flags) argument 623 onMuteChanged(int streamType, int flags) argument 635 onShowVolumeChanged(int streamType, int flags) argument 754 onPlaySound(int streamType, int flags) argument 794 onRemoteVolumeChanged(int streamType, int flags) argument 844 onSliderVisibilityChanged(int streamType, int visible) argument 892 getOrCreateToneGenerator(int streamType) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | RingtonePlayer.java | 74 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument 78 mRingtone.setStreamType(streamType); 94 public void play(IBinder token, Uri uri, int streamType) throws RemoteException { 104 client = new Client(token, uri, user, streamType); 140 public void playAsync(Uri uri, UserHandle user, boolean looping, int streamType) { 146 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/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,
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 217 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) argument 221 if (streamType == AUDIO_STREAM_DEFAULT) { 222 streamType = AUDIO_STREAM_MUSIC; 225 output = getOutput(streamType); 230 return getSamplingRate(output, streamType, samplingRate); 234 audio_stream_type_t streamType, 253 ALOGV("getSamplingRate() streamType %d, output %d, sampling rate %u", streamType, output, 259 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) argument 263 if (streamType 233 getSamplingRate(audio_io_handle_t output, audio_stream_type_t streamType, uint32_t* samplingRate) argument 275 getFrameCount(audio_io_handle_t output, audio_stream_type_t streamType, size_t* frameCount) argument 299 getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 315 getLatency(audio_io_handle_t output, audio_stream_type_t streamType, uint32_t* latency) argument 504 routedToA2dpOutput(audio_stream_type_t streamType) argument [all...] |
H A D | AudioTrack.cpp | 40 audio_stream_type_t streamType, 57 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { 61 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 65 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) { 93 audio_stream_type_t streamType, 110 mStatus = set(streamType, sampleRate, format, channelMask, 116 audio_stream_type_t streamType, 133 mStatus = set(streamType, sampleRate, format, channelMask, 159 audio_stream_type_t streamType, 219 ALOGV("set() streamType 38 getMinFrameCount( size_t* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument 92 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, transfer_type transferType, const audio_offload_info_t *offloadInfo) argument 115 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, transfer_type transferType, const audio_offload_info_t *offloadInfo) argument 158 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCountInt, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo) argument 804 createTrack_l( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, size_t frameCount, audio_output_flags_t flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, size_t epoch) argument [all...] |
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 129 audio_stream_type_t streamType, 156 * streamType: Select the type of audio stream this track is attached to 179 AudioTrack( audio_stream_type_t streamType, 203 AudioTrack( audio_stream_type_t streamType, 238 status_t set(audio_stream_type_t streamType, 268 audio_stream_type_t streamType() const { return mStreamType; } function in class:android::AudioTrack 632 status_t createTrack_l(audio_stream_type_t streamType,
|
/frameworks/base/core/java/android/preference/ |
H A D | VolumePreference.java | 63 public void setStreamType(int streamType) { argument 64 mStreamType = streamType; 256 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) { argument 257 this(context, seekBar, streamType, null); 260 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) { argument 263 mStreamType = streamType;
|
/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/media/libstagefright/include/ |
H A D | ESDS.h | 38 status_t getStreamType(uint8_t *streamType) const;
|
/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 27 audio_stream_type_t streamType, 51 audio_stream_type_t streamType() const { function in class:Track 162 audio_stream_type_t streamType, 205 audio_stream_type_t 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/av/media/libstagefright/wifi-display/source/ |
H A D | TSPacketizer.cpp | 37 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...] |