Home
last modified time | relevance | path

Searched refs:mStreamType (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java97 private final int mStreamType; field in SeekBarVolumizer
156 mStreamType = streamType; in SeekBarVolumizer()
157 mAffectedByRingerMode = mAudioManager.isStreamAffectedByRingerMode(mStreamType); in SeekBarVolumizer()
158 mNotificationOrRing = isNotificationOrRing(mStreamType); in SeekBarVolumizer()
165 mVolumeGroupId = getVolumeGroupIdForLegacyStreamType(mStreamType); in SeekBarVolumizer()
167 mStreamType); in SeekBarVolumizer()
170 mMaxStreamVolume = mAudioManager.getStreamMaxVolume(mStreamType); in SeekBarVolumizer()
172 mOriginalStreamVolume = mAudioManager.getStreamVolume(mStreamType); in SeekBarVolumizer()
173 mLastAudibleStreamVolume = mAudioManager.getLastAudibleStreamVolume(mStreamType); in SeekBarVolumizer()
174 mMuted = mAudioManager.isStreamMute(mStreamType); in SeekBarVolumizer()
[all …]
DVolumePreference.java45 private int mStreamType; field in VolumePreference
56 mStreamType = a.getInt(android.R.styleable.VolumePreference_streamType, 0); in VolumePreference()
74 mStreamType = streamType; in setStreamType()
82 mSeekBarVolumizer = new SeekBarVolumizer(getContext(), mStreamType, null, this); in onBindDialogView()
/frameworks/av/media/libaudioclient/include/media/
DAudioAttributes.h35 mAttributes(attributes), mStreamType(stream), mGroupId(groupId) {} in AudioAttributes()
42 audio_stream_type_t getStreamType() const { return mStreamType; } in getStreamType()
51 audio_stream_type_t mStreamType = AUDIO_STREAM_DEFAULT; variable
DToneGenerator.h304 audio_stream_type_t mStreamType; // Audio stream used for output variable
/frameworks/av/media/libaudioclient/
DAudioAttributes.cpp45 mStreamType = static_cast<audio_stream_type_t>(parcel->readInt32()); in readFromParcel()
62 parcel->writeInt32(static_cast<int32_t>(mStreamType)); in writeToParcel()
DAudioTrack.cpp431 mStreamType = streamType; in set()
440 mStreamType = AUDIO_STREAM_DEFAULT; in set()
1351 if (mStreamType == AUDIO_STREAM_DEFAULT) { in streamType()
1354 return mStreamType; in streamType()
1434 if (mStreamType != AUDIO_STREAM_DEFAULT) { in createTrack_l()
1435 input.attr = AudioSystem::streamTypeToAttributes(mStreamType); in createTrack_l()
2909 (mStreamType == AUDIO_STREAM_DEFAULT) ? in dump()
2911 mStreamType, in dump()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DSimplePlayer.java58 int mStreamType; field in SimplePlayer
92 mStreamType = stream; in set()
125 mMediaPlayer.setAudioStreamType(mStreamType); in playOrPause()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp83 unsigned mStreamType; member
98 mStreamType(0), in SourceInfo()
107 mStreamType = 0x0f; in SourceInfo()
109 mStreamType = 0x1b; in SourceInfo()
119 return mStreamType; in streamType()
383 if (mStreamType == 0x0f && mAACCodecSpecificData == NULL) { in onMessageReceived()
394 if (mStreamType == 0x0f) { in onMessageReceived()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1228 (vss.mStreamType != AudioSystem.STREAM_VOICE_CALL && in checkMuteAffectedStreams()
1229 vss.mStreamType != AudioSystem.STREAM_BLUETOOTH_SCO)) { in checkMuteAffectedStreams()
1230 mMuteAffectedStreams &= ~(1 << vss.mStreamType); in checkMuteAffectedStreams()
2048 public final int mStreamType; field in AudioService.StreamVolumeCommand
2054 mStreamType = streamType; in StreamVolumeCommand()
2062 return new StringBuilder().append("{streamType=").append(mStreamType).append(",index=") in toString()
4837 private final int mStreamType; field in AudioService.VolumeStreamState
4853 mStreamType = streamType; in VolumeStreamState()
4860 mVolumeChanged.putExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, mStreamType); in VolumeStreamState()
4862 mStreamDevicesChanged.putExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, mStreamType); in VolumeStreamState()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp145 unsigned type() const { return mStreamType; } in type()
194 unsigned mStreamType; member
859 mStreamType(info.mType), in Stream()
870 mStreamType == STREAMTYPE_H264_ENCRYPTED || in Stream()
871 mStreamType == STREAMTYPE_AAC_ENCRYPTED || in Stream()
872 mStreamType == STREAMTYPE_AC3_ENCRYPTED; in Stream()
886 switch (mStreamType) { in Stream()
1075 if (mStreamType == STREAMTYPE_H264) { in parse()
1138 switch (mStreamType) { in isVideo()
1152 switch (mStreamType) { in isAudio()
[all …]
/frameworks/av/cmds/stagefright/
Dstagefright.cpp443 StreamType mStreamType; member
451 mStreamType(OTHER), in DetectSyncSource()
457 mStreamType = AVC; in DetectSyncSource()
459 mStreamType = MPEG4; in DetectSyncSource()
462 mStreamType = H263; in DetectSyncSource()
506 if (mStreamType == AVC) { in read()
516 if (mStreamType != AVC || mSawFirstIDRFrame) { in read()
/frameworks/av/media/libstagefright/include/
DESDS.h55 uint8_t mStreamType; variable
/frameworks/wilhelm/src/
Dclasses.h101 audio_stream_type_t mStreamType; member
357 audio_stream_type_t mStreamType; member
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
DScoAudioTest.java333 private int mStreamType; field in ScoAudioTest.SimplePlayerController
339 mStreamType = stream; in SimplePlayerController()
349 mStreamType = stream; in SimplePlayerController()
376 mMediaPlayer.setAudioStreamType(mStreamType); in playOrPause()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp58 mStreamType = AUDIO_STREAM_MUSIC; in MediaPlayer()
279 mPlayer->setAudioStreamType(mStreamType); in prepareAsync_l()
656 if (mStreamType == type) return NO_ERROR; in setAudioStreamType()
664 mStreamType = type; in setAudioStreamType()
672 *type = mStreamType; in getAudioStreamType()
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp62 unsigned mStreamType; member
602 mStreamType(stream_type), in Track()
607 switch (mStreamType) { in Track()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp358 mStreamType, mLeftVolume, mRightVolume); in dump()
1597 mStreamType(AUDIO_STREAM_MUSIC), in AudioOutput()
1621 mStreamType = AudioSystem::attributesToStreamType(*attr); in AudioOutput()
1810 mStreamType = AudioSystem::attributesToStreamType(*attributes); in setAudioAttributes()
1819 mStreamType = streamType; in setAudioStreamType()
1894 if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) != NO_ERROR) { in open()
1897 if (AudioSystem::getOutputSamplingRate(&afSampleRate, mStreamType) != NO_ERROR) { in open()
1991 mStreamType, in open()
2019 mStreamType, in open()
2047 mStreamType = t->streamType(); in open()
DMediaPlayerService.h118 virtual audio_stream_type_t getAudioStreamType() const { return mStreamType; } in getAudioStreamType()
161 audio_stream_type_t mStreamType; variable
/frameworks/av/services/audioflinger/
DPlaybackTracks.h97 return mStreamType; in streamType()
237 const audio_stream_type_t mStreamType; variable
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp520 ap->mStreamType = newStreamType; in audioPlayer_setStreamType()
567 switch (ap->mStreamType) { in audioPlayer_getStreamType()
1395 pAudioPlayer->mStreamType = ANDROID_DEFAULT_OUTPUT_STREAM_TYPE; in android_audioPlayer_create()
1627 app.streamType = pAudioPlayer->mStreamType; in android_audioPlayer_realize()
1688 pAudioPlayer->mStreamType, // streamType in android_audioPlayer_realize()
1710 usageForStreamType(pAudioPlayer->mStreamType)); in android_audioPlayer_realize()
1810 usageForStreamType(pAudioPlayer->mStreamType), AUDIO_CONTENT_TYPE_UNKNOWN, in android_audioPlayer_realize()
DMediaPlayer_to_android.cpp398 mp->mStreamType = ANDROID_DEFAULT_OUTPUT_STREAM_TYPE; in android_Player_create()
419 ap_params.streamType = mp->mStreamType; in android_Player_realize()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp274 tv_stream_type_t mStreamType; member in android::JTvInputHal::Connection
354 if (connection.mStreamType == TV_STREAM_TYPE_INDEPENDENT_VIDEO_SOURCE) { in addOrUpdateStream()
387 connection.mStreamType = TV_STREAM_TYPE_INDEPENDENT_VIDEO_SOURCE; in addOrUpdateStream()
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h300 audio_stream_type_t mStreamType; variable
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java138 private final String mStreamType; field in RequestThreadManager.FpsCounter
142 mStreamType = streamType; in FpsCounter()
166 Log.d(TAG, "FPS for " + mStreamType + " stream: " + mLastFps ); in staggeredLog()
/frameworks/base/media/java/android/media/
DAudioTrack.java369 private int mStreamType = AudioManager.STREAM_MUSIC; field in AudioTrack
649 mStreamType = AudioSystem.STREAM_DEFAULT; in AudioTrack()
1517 return mStreamType; in getStreamType()

12