/frameworks/base/media/java/android/media/ |
VolumeController.java | 26 public void postRemoteVolumeChanged(int streamType, int flags);
|
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);
|
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, IBinder cb) [all...] |
AudioTrack.java | 238 * @param streamType the type of the audio stream. See 262 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, 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, 315 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode); 362 private void audioParamCheck(int streamType, int sampleRateInHz, 367 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC) 368 && (streamType != AudioManager.STREAM_RING) && (streamType != AudioManager.STREAM_SYSTEM [all...] |
ToneGenerator.java | 735 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC). 739 public ToneGenerator(int streamType, int volume) { 740 native_setup(streamType, volume); 874 private native final void native_setup(int streamType, int volume);
|
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(); [all...] |
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) { 596 service.adjustStreamVolume(streamType, direction, flags, 718 * @param streamType The stream type whose maximum volume index is returned. 722 public int getStreamMaxVolume(int streamType) { 728 return service.getStreamMaxVolume(streamType); 739 * @param streamType The stream type whose volume index is returned. 744 public int getStreamVolume(int streamType) { 750 return service.getStreamVolume(streamType); 763 public int getLastAudibleStreamVolume(int streamType) { [all...] |
SoundPool.java | 116 * @param streamType the audio stream type as described in AudioManager 123 public SoundPool(int maxStreams, int streamType, int srcQuality) { 127 mImpl = new SoundPoolImpl(this, maxStreams, streamType, srcQuality); 459 public SoundPoolImpl(SoundPool proxy, int maxStreams, int streamType, int srcQuality) { 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);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAudioManager.java | 19 public int getStreamMaxVolume(int streamType) { 24 public int getStreamVolume(int streamType) { 29 public void setStreamVolume(int streamType, int index, int flags) { 35 public int requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener l, int streamType, int durationHint) { 36 lastAudioFocusRequest = new AudioFocusRequest(l, streamType, durationHint); 84 public final int streamType; 87 private AudioFocusRequest(AudioManager.OnAudioFocusChangeListener listener, int streamType, int durationHint) { 89 this.streamType = streamType;
|
/frameworks/base/core/java/android/view/ |
VolumePanel.java | 176 int streamType; 183 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) { 184 this.streamType = streamType; 206 int streamType; 267 streamRes.show = (streamRes.streamType == STREAM_MASTER); 363 private boolean isMuted(int streamType) { 364 if (streamType == STREAM_MASTER) { 366 } else if (streamType == AudioService.STREAM_REMOTE_MUSIC) { 369 return mAudioManager.isStreamMute(streamType); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
RingtonePlayer.java | 74 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { 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/ |
MediaPlayerProxy.java | 48 void setAudioStreamType(int streamType);
|
SingleThreadedMediaPlayerProxy.java | 107 public void setAudioStreamType(int streamType) { 108 mDelegate.setAudioStreamType(streamType);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
DecoderConfigDescriptor.java | 34 * bit(6) streamType;
51 int streamType;
67 streamType = data >>> 2;
117 int flags = (streamType << 2) | (upStream << 1) | 1;
151 return streamType;
154 public void setStreamType(int streamType) {
155 this.streamType = streamType;
195 sb.append(", streamType=").append(streamType);
[all...] |
/frameworks/base/core/java/android/speech/tts/ |
AudioPlaybackQueueItem.java | 38 Context context, Uri uri, int streamType) { 43 mStreamType = streamType;
|
SynthesisPlaybackQueueItem.java | 66 SynthesisPlaybackQueueItem(int streamType, int sampleRate, 78 mAudioTrack = new BlockingAudioTrack(streamType, sampleRate, audioFormat,
|
/frameworks/av/media/libmedia/ |
AudioSystem.cpp | 217 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) 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) 263 if (streamType == AUDIO_STREAM_DEFAULT) [all...] |
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, 111 mStatus = set(streamType, sampleRate, format, channelMask, 118 audio_stream_type_t streamType, 136 mStatus = set(streamType, sampleRate, format, channelMask, 162 audio_stream_type_t streamType, 223 ALOGV("set() streamType %d frameCount %u flags %04x", streamType, frameCount, flags) [all...] |
/frameworks/av/include/media/ |
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, 204 AudioTrack( audio_stream_type_t streamType, 240 status_t set(audio_stream_type_t streamType, 271 audio_stream_type_t streamType() const { return mStreamType; } 635 status_t createTrack_l(audio_stream_type_t streamType, [all...] |
/frameworks/base/core/java/android/preference/ |
VolumePreference.java | 63 public void setStreamType(int streamType) { 64 mStreamType = streamType; 256 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) { 257 this(context, seekBar, streamType, null); 260 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) { 263 mStreamType = streamType;
|
/frameworks/base/core/jni/ |
android_media_ToneGenerator.cpp | 89 jint streamType, jint volume) { 90 ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linearToLog(volume), true);
|
/frameworks/av/include/media/stagefright/ |
Utils.h | 61 bool isStreaming, audio_stream_type_t streamType);
|
/frameworks/av/media/libstagefright/include/ |
ESDS.h | 38 status_t getStreamType(uint8_t *streamType) const;
|
/frameworks/av/services/audioflinger/ |
PlaybackTracks.h | 27 audio_stream_type_t streamType, 52 audio_stream_type_t streamType() const { 163 audio_stream_type_t streamType, 207 audio_stream_type_t streamType,
|
/frameworks/wilhelm/src/android/ |
android_defs.h | 69 audio_stream_type_t streamType;
|