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.java29 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument
32 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument
35 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);
47 void setStreamVolume(int streamType, int index, int flags, String callingPackage);
49 boolean isStreamMute(int streamType);
57 int getStreamVolume(int streamType);
59 int getStreamMinVolume(int streamType);
61 int getStreamMaxVolume(int streamType);
63 int getLastAudibleStreamVolume(int streamType);
125 void forceVolumeControlStream(int streamType, IBinder cb);
144 boolean isStreamAffectedByRingerMode(int streamType);
146 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 DAudioManager.java797 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL},
807 public void adjustStreamVolume(int streamType, int direction, int flags) { argument
810 service.adjustStreamVolume(streamType, direction, flags,
924 * @param streamType The stream type whose maximum volume index is returned.
928 public int getStreamMaxVolume(int streamType) { argument
931 return service.getStreamMaxVolume(streamType);
940 * @param streamType The stream type whose minimum volume index is returned.
945 public int getStreamMinVolume(int streamType) { argument
948 return service.getStreamMinVolume(streamType);
957 * @param streamType Th
962 getStreamVolume(int streamType) argument
976 getLastAudibleStreamVolume(int streamType) argument
1043 setStreamVolume(int streamType, int index, int flags) argument
1066 setStreamSolo(int streamType, boolean state) argument
1103 setStreamMute(int streamType, boolean state) argument
1120 isStreamMute(int streamType) argument
1150 forceVolumeControlStream(int streamType) argument
2266 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument
2444 requestAudioFocusForCall(int streamType, int durationHint) argument
3224 getDevicesForStream(int streamType) argument
3366 getOutputLatency(int streamType) argument
3401 isStreamAffectedByRingerMode(int streamType) argument
3413 isStreamAffectedByMute(int streamType) argument
[all...]
H A DAudioAttributes.java519 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL},
525 public Builder setLegacyStreamType(int streamType) { argument
526 return setInternalLegacyStreamType(streamType);
532 * @param streamType
535 public Builder setInternalLegacyStreamType(int streamType) { argument
536 switch(streamType) {
569 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes");
571 mUsage = usageForLegacyStreamType(streamType);
785 public static int usageForLegacyStreamType(int streamType) { argument
786 switch(streamType) {
[all...]
H A DAudioTrack.java328 * @param streamType the type of the audio stream. See
363 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
366 this(streamType, sampleRateInHz, channelConfig, audioFormat,
382 * @param streamType the type of the audio stream. See
418 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, argument
423 .setLegacyStreamType(streamType)
1271 static public int getNativeOutputSampleRate(int streamType) { argument
1272 return native_get_output_sample_rate(streamType);
2834 static private native final int native_get_output_sample_rate(int streamType); argument
H A DRingtoneManager.java612 * @param streamType The stream type for the ringtone, or -1 if it should
616 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument
619 if (streamType >= 0) {
620 r.setStreamType(streamType);
/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.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/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
H A DVolumeCurve.h219 audio_stream_type_t streamType = volumeCurve->getStreamType(); local
220 return editCurvesFor(streamType).add(volumeCurve);
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java821 for (int streamType = numStreamTypes - 1; streamType >= 0; streamType--) {
822 VolumeStreamState streamState = mStreamStates[streamType];
824 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10);
897 for (int streamType = 0; streamType < numStreamTypes; streamType++) {
898 if (streamType != mStreamVolumeAlias[streamType]) {
919 checkAllFixedVolumeDevices(int streamType) argument
1201 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage) argument
1207 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage, String caller, int uid) argument
1441 StreamVolumeCommand(int streamType, int index, int flags, int device) argument
1498 onSetStreamVolume(int streamType, int index, int flags, int device, String caller) argument
1513 setStreamVolume(int streamType, int index, int flags, String callingPackage) argument
1518 setStreamVolume(int streamType, int index, int flags, String callingPackage, String caller, int uid) argument
1621 forceVolumeControlStream(int streamType, IBinder cb) argument
1706 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument
1753 setStreamVolumeInt(int streamType, int index, int device, boolean force, String caller) argument
1789 isStreamMute(int streamType) argument
1950 getStreamVolume(int streamType) argument
1969 getStreamMaxVolume(int streamType) argument
1975 getStreamMinVolume(int streamType) argument
1981 getLastAudibleStreamVolume(int streamType) argument
3489 isStreamAffectedByRingerMode(int streamType) argument
3493 isStreamMutedByRingerMode(int streamType) argument
3535 isStreamAffectedByMute(int streamType) argument
3553 ensureValidStreamType(int streamType) argument
3849 VolumeStreamState(String settingName, int streamType) argument
5726 checkSafeMediaVolume(int streamType, int index, int device) argument
6097 postVolumeChanged(int streamType, int flags) argument
6153 adjustSuggestedStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
6162 adjustStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument
6169 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, 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;
412 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
414 updateVolumeSlider(streamType, streamValue);
423 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1);
424 int streamVolume = mAudioManager.getStreamVolume(streamType);
425 updateVolumeSlider(streamType, streamVolume);
432 private void updateVolumeSlider(int streamType, int streamValue) { argument
433 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType)
434 : (streamType
[all...]
H A DVolumePreference.java63 public void setStreamType(int streamType) { argument
64 mStreamType = 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/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/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
223 audio_stream_type_t streamType,
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp118 audio_stream_type_t streamType,
132 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
135 streamType, status);
139 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
142 streamType, status);
146 status = AudioSystem::getOutputLatency(&afLatency, streamType);
149 streamType, status);
162 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %u",
163 streamType, sampleRate);
188 audio_stream_type_t streamType,
116 getMinFrameCount( size_t* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument
187 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, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
218 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, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
277 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, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument
1208 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack
1231 audio_stream_type_t streamType = mStreamType; local
[all...]
H A DAudioSystem.cpp253 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) argument
257 if (streamType == AUDIO_STREAM_DEFAULT) {
258 streamType = AUDIO_STREAM_MUSIC;
261 output = getOutput(streamType);
290 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) argument
294 if (streamType == AUDIO_STREAM_DEFAULT) {
295 streamType = AUDIO_STREAM_MUSIC;
298 output = getOutput(streamType);
327 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument
331 if (streamType
[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));
/frameworks/av/include/media/stagefright/
H A DUtils.h69 bool isStreaming, audio_stream_type_t streamType);

Completed in 688 milliseconds

123