/frameworks/av/include/media/ |
H A D | AudioPolicyHelper.h | 64 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);
|
/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/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | MediaPlayerProxy.java | 49 void setAudioStreamType(int streamType); argument
|
H A D | SingleThreadedMediaPlayerProxy.java | 112 public void setAudioStreamType(int streamType) { argument 113 mDelegate.setAudioStreamType(streamType);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManagerInternal.java | 31 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 D | Ringtone.java | 86 * @param streamType The stream, see {@link AudioManager}. 90 public void setStreamType(int streamType) { argument 92 .setInternalLegacyStreamType(streamType)
|
H A D | AudioAttributes.java | 444 * @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 D | RingtoneManager.java | 582 * @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);
|
H A D | SoundPool.java | 123 * @param streamType the audio stream type as described in AudioManager 132 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument 134 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build());
|
/frameworks/av/media/libmedia/ |
H A D | ToneGenerator.cpp | 790 // streamType: Type of stream used for tone playback 797 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument 799 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume); 803 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) { 808 mStreamType = streamType;
|
H A D | SoundPool.cpp | 583 audio_stream_type_t streamType = audio_attributes_to_stream_type(mSoundPool->attributes()); local 584 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { 587 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { 619 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 622 newTrack = new AudioTrack(streamType, sampleRate, sample->format(),
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.cpp | 184 int streamType = params.quirks.useZslFormat ? local 189 streamType, &mZslStreamId);
|
/frameworks/base/core/java/android/preference/ |
H A D | VolumePreference.java | 60 public void setStreamType(int streamType) { argument 61 mStreamType = streamType;
|
H A D | SeekBarVolumizer.java | 78 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);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeUI.java | 158 public void volumeChanged(int streamType, int flags) argument 160 mPanel.postVolumeChanged(streamType, flags);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 648 audio_stream_type_t streamType = AUDIO_STREAM_MUSIC; local 650 streamType = mAudioSink->getAudioStreamType(); 652 if (streamType == AUDIO_STREAM_NOTIFICATION) {
|
/frameworks/wilhelm/src/android/ |
H A D | android_defs.h | 69 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 43 unsigned streamType() const; 120 unsigned MPEG2TSWriter::SourceInfo::streamType() const { function in class:android::MPEG2TSWriter::SourceInfo 819 *ptr++ = mSources.editItemAt(i)->streamType(); 882 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0;
|
H A D | Utils.cpp | 695 bool isStreaming, audio_stream_type_t streamType) 759 info.stream_type = streamType; 694 canOffloadStream(const sp<MetaData>& meta, bool hasVideo, bool isStreaming, audio_stream_type_t streamType) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 488 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));
|
/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...] |
/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 27 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/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 145 public FpsCounter(String streamType) { argument 146 mStreamType = streamType;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 106 void setAudioStreamType(audio_stream_type_t streamType) { argument 107 mStreamType = streamType; } 220 void setAudioStreamType(audio_stream_type_t streamType __unused) {}
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 544 int streamType = mPacketSources.keyAt(i); local 545 switch (streamType) { 1015 LiveSession::StreamType streamType = streamTypes[i]; local 1025 mStreamTypeMask &= ~streamType; 1026 mPacketSources.removeItem(streamType);
|