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

123

/frameworks/base/media/java/android/media/
H A DIVolumeController.aidl28 void volumeChanged(int streamType, int flags);
H A DAudioManagerInternal.java31 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument
35 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument
38 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, argument
H A DIAudioService.aidl45 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage);
49 void setStreamVolume(int streamType, int index, int flags, String callingPackage);
55 void setStreamSolo(int streamType, boolean state, IBinder cb);
57 void setStreamMute(int streamType, boolean state, IBinder cb);
59 boolean isStreamMute(int streamType);
67 int getStreamVolume(int streamType);
71 int getStreamMaxVolume(int streamType);
75 int getLastAudibleStreamVolume(int streamType);
192 void forceVolumeControlStream(int streamType, IBinder cb);
209 boolean isStreamAffectedByRingerMode(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 DAudioService.java746 for (int streamType = 0; streamType < numStreamTypes; streamType++) {
747 if (streamType != mStreamVolumeAlias[streamType]) {
748 mStreamStates[streamType].
749 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]]);
752 if (!mStreamStates[streamType].isMuted_syncVSS()) {
753 mStreamStates[streamType].applyAllVolumes();
762 for (int streamType
767 checkAllFixedVolumeDevices(int streamType) argument
1005 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage) argument
1010 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage, int uid) argument
1204 StreamVolumeCommand(int streamType, int index, int flags, int device) argument
1219 onSetStreamVolume(int streamType, int index, int flags, int device) argument
1237 setStreamVolume(int streamType, int index, int flags, String callingPackage) argument
1241 setStreamVolume(int streamType, int index, int flags, String callingPackage, int uid) argument
1317 forceVolumeControlStream(int streamType, IBinder cb) argument
1422 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument
1491 setStreamVolumeInt(int streamType, int index, int device, boolean force) argument
1511 setStreamSolo(int streamType, boolean state, IBinder cb) argument
1525 setStreamMute(int streamType, boolean state, IBinder cb) argument
1566 isStreamMute(int streamType) argument
1708 getMaxStreamVolume(int streamType) argument
1712 getDefaultStreamVolume(int streamType) argument
1717 getStreamVolume(int streamType) argument
1783 getStreamMaxVolume(int streamType) argument
1793 getLastAudibleStreamVolume(int streamType) argument
3170 isStreamAffectedByRingerMode(int streamType) argument
3174 isStreamMutedByRingerMode(int streamType) argument
3226 isStreamAffectedByMute(int streamType) argument
3242 ensureValidStreamType(int streamType) argument
3483 VolumeStreamState(String settingName, int streamType) argument
5406 checkSafeMediaVolume(int streamType, int index, int device) argument
5736 postVolumeChanged(int streamType, int flags) argument
5801 adjustSuggestedStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
5809 adjustStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
5815 setStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
[all...]
H A DAudioAttributes.java444 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL},
450 public Builder setLegacyStreamType(int streamType) { argument
451 return setInternalLegacyStreamType(streamType);
457 * @param streamType
460 public Builder setInternalLegacyStreamType(int streamType) { argument
461 switch(streamType) {
494 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes");
496 mUsage = usageForLegacyStreamType(streamType);
686 public static int usageForLegacyStreamType(int streamType) { argument
687 switch(streamType) {
[all...]
H A DAudioManager.java812 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
822 public void adjustStreamVolume(int streamType, int direction, int flags) { argument
828 service.adjustStreamVolume(streamType, direction, flags,
962 * @param streamType The stream type whose maximum volume index is returned.
966 public int getStreamMaxVolume(int streamType) { argument
972 return service.getStreamMaxVolume(streamType);
983 * @param streamType The stream type whose volume index is returned.
988 public int getStreamVolume(int streamType) { argument
994 return service.getStreamVolume(streamType);
1007 public int getLastAudibleStreamVolume(int streamType) { argument
1074 setStreamVolume(int streamType, int index, int flags) argument
1173 setStreamSolo(int streamType, boolean state) argument
1206 setStreamMute(int streamType, boolean state) argument
1220 isStreamMute(int streamType) argument
1275 forceVolumeControlStream(int streamType) argument
2368 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument
2546 requestAudioFocusForCall(int streamType, int durationHint) argument
3232 getDevicesForStream(int streamType) argument
3338 getOutputLatency(int streamType) argument
3373 isStreamAffectedByRingerMode(int streamType) argument
[all...]
H A DAudioTrack.java288 * @param streamType the type of the audio stream. See
313 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
316 this(streamType, sampleRateInHz, channelConfig, audioFormat,
332 * @param streamType the type of the audio stream. See
355 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
360 .setLegacyStreamType(streamType)
787 static public int getNativeOutputSampleRate(int streamType) { argument
788 return native_get_output_sample_rate(streamType);
1692 static private native final int native_get_output_sample_rate(int streamType); argument
H A DRingtoneManager.java582 * @param streamType The stream type for the ringtone, or -1 if it should
586 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument
589 if (streamType >= 0) {
590 r.setStreamType(streamType);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumePanel.java229 int streamType; field in class:VolumePanel.StreamResources
236 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) { argument
237 this.streamType = streamType;
259 int streamType; field in class:VolumePanel.StreamControl
370 streamRes.show = (streamRes.streamType == STREAM_MASTER);
503 pw.print(" stream "); pw.print(sc.streamType); pw.print(":");
575 private boolean isMuted(int streamType) { argument
576 if (streamType == STREAM_MASTER) {
578 } else if (streamType
586 getStreamMaxVolume(int streamType) argument
603 getStreamVolume(int streamType) argument
876 isNotificationOrRing(int streamType) argument
932 postVolumeChanged(int streamType, int flags) argument
981 postMuteChanged(int streamType, int flags) argument
1023 onVolumeChanged(int streamType, int flags) argument
1053 onMuteChanged(int streamType, int flags) argument
1066 onShowVolumeChanged(int streamType, int flags, MediaController controller) argument
1229 onPlaySound(int streamType, int flags) argument
1321 onSliderVisibilityChanged(int streamType, int visible) argument
1359 getOrCreateToneGenerator(int streamType) argument
[all...]
/frameworks/av/include/media/
H A DAudioPolicyHelper.h64 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument
68 switch (streamType) {
111 ALOGE("invalid stream type %d when converting to attributes", streamType);
H A DAudioTrack.h127 audio_stream_type_t streamType,
154 * streamType: Select the type of audio stream this track is attached to
178 AudioTrack( audio_stream_type_t streamType,
205 AudioTrack( audio_stream_type_t streamType,
246 status_t set(audio_stream_type_t streamType,
279 audio_stream_type_t streamType() const;
603 void setAttributesFromStreamType(audio_stream_type_t streamType);
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DMediaPlayerProxy.java49 void setAudioStreamType(int streamType); argument
H A DSingleThreadedMediaPlayerProxy.java112 public void setAudioStreamType(int streamType) { argument
113 mDelegate.setAudioStreamType(streamType);
/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 DUtils.h64 bool isStreaming, audio_stream_type_t streamType);
/frameworks/av/media/libstagefright/include/
H A DESDS.h38 status_t getStreamType(uint8_t *streamType) const;
/frameworks/wilhelm/src/android/
H A Dandroid_defs.h69 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
/frameworks/base/core/java/android/preference/
H A DSeekBarVolumizer.java78 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument
81 mStreamType = streamType;
367 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
369 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType)
370 : (streamType == mStreamType);
H A DVolumePreference.java60 public void setStreamType(int streamType) { argument
61 mStreamType = streamType;
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp57 audio_stream_type_t streamType,
72 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
75 streamType, status);
79 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
82 streamType, status);
86 status = AudioSystem::getOutputLatency(&afLatency, streamType);
89 streamType, status);
104 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %d",
105 streamType, sampleRate);
129 audio_stream_type_t streamType,
55 getMinFrameCount( size_t* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument
128 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
156 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
208 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, uint32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
919 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack
939 audio_stream_type_t streamType = mStreamType; local
[all...]
H A DAudioSystem.cpp242 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) argument
246 if (streamType == AUDIO_STREAM_DEFAULT) {
247 streamType = AUDIO_STREAM_MUSIC;
250 output = getOutput(streamType);
286 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) argument
290 if (streamType == AUDIO_STREAM_DEFAULT) {
291 streamType = AUDIO_STREAM_MUSIC;
294 output = getOutput(streamType);
328 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument
332 if (streamType
[all...]
/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/av/services/audioflinger/
H A DPlaybackTracks.h27 audio_stream_type_t streamType,
55 audio_stream_type_t streamType() const { function in class:Track
169 audio_stream_type_t streamType,
212 audio_stream_type_t streamType,
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp488 unsigned streamType; local
494 streamType = mStreamTypeByESID.valueAt(streamTypeIndex);
498 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO;
501 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO;
503 streamType = ATSParser::STREAMTYPE_RESERVED;
507 stream_id, new Track(this, stream_id, streamType));

Completed in 394 milliseconds

123