/frameworks/base/core/java/android/view/ |
D | VolumePanel.java | 174 int streamType; field in VolumePanel.StreamResources 181 StreamResources(int streamType, int descRes, int iconRes, int iconMuteRes, boolean show) { in StreamResources() argument 182 this.streamType = streamType; in StreamResources() 204 int streamType; field in VolumePanel.StreamControl 265 streamRes.show = (streamRes.streamType == STREAM_MASTER); in VolumePanel() 361 private boolean isMuted(int streamType) { in isMuted() argument 362 if (streamType == STREAM_MASTER) { in isMuted() 364 } else if (streamType == AudioService.STREAM_REMOTE_MUSIC) { in isMuted() 367 return mAudioManager.isStreamMute(streamType); in isMuted() 371 private int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() argument [all …]
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 39 oneway void adjustLocalOrRemoteStreamVolume(int streamType, int direction); in adjustLocalOrRemoteStreamVolume() argument 43 void adjustStreamVolume(int streamType, int direction, int flags); in adjustStreamVolume() argument 47 void setStreamVolume(int streamType, int index, int flags); in setStreamVolume() argument 53 void setStreamSolo(int streamType, boolean state, IBinder cb); in setStreamSolo() argument 55 void setStreamMute(int streamType, boolean state, IBinder cb); in setStreamMute() argument 57 boolean isStreamMute(int streamType); in isStreamMute() argument 63 int getStreamVolume(int streamType); in getStreamVolume() argument 67 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() argument 71 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume() argument 199 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream() argument
|
D | AudioTrack.java | 256 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument 259 this(streamType, sampleRateInHz, channelConfig, audioFormat, in AudioTrack() 297 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument 309 audioParamCheck(streamType, sampleRateInHz, channelConfig, audioFormat, mode); in AudioTrack() 356 private void audioParamCheck(int streamType, int sampleRateInHz, in audioParamCheck() argument 361 if( (streamType != AudioManager.STREAM_ALARM) && (streamType != AudioManager.STREAM_MUSIC) in audioParamCheck() 362 && (streamType != AudioManager.STREAM_RING) && (streamType != AudioManager.STREAM_SYSTEM) in audioParamCheck() 363 && (streamType != AudioManager.STREAM_VOICE_CALL) in audioParamCheck() 364 && (streamType != AudioManager.STREAM_NOTIFICATION) in audioParamCheck() 365 && (streamType != AudioManager.STREAM_BLUETOOTH_SCO) in audioParamCheck() [all …]
|
D | AudioService.java | 601 for (int streamType = 0; streamType < numStreamTypes; streamType++) { in checkAllAliasStreamVolumes() 602 if (streamType != mStreamVolumeAlias[streamType]) { in checkAllAliasStreamVolumes() 603 mStreamStates[streamType]. in checkAllAliasStreamVolumes() 604 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]]); in checkAllAliasStreamVolumes() 607 if (!mStreamStates[streamType].isMuted()) { in checkAllAliasStreamVolumes() 608 mStreamStates[streamType].applyAllVolumes(); in checkAllAliasStreamVolumes() 796 public void adjustLocalOrRemoteStreamVolume(int streamType, int direction) { in adjustLocalOrRemoteStreamVolume() argument 808 int streamType; in adjustSuggestedStreamVolume() local 810 streamType = mVolumeControlStream; in adjustSuggestedStreamVolume() 812 streamType = getActiveStreamType(suggestedStreamType); in adjustSuggestedStreamVolume() [all …]
|
D | AudioManager.java | 550 public void adjustStreamVolume(int streamType, int direction, int flags) { in adjustStreamVolume() argument 556 service.adjustStreamVolume(streamType, direction, flags); in adjustStreamVolume() 680 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() argument 686 return service.getStreamMaxVolume(streamType); in getStreamMaxVolume() 702 public int getStreamVolume(int streamType) { in getStreamVolume() argument 708 return service.getStreamVolume(streamType); in getStreamVolume() 721 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume() argument 727 return service.getLastAudibleStreamVolume(streamType); in getLastAudibleStreamVolume() 783 public void setStreamVolume(int streamType, int index, int flags) { in setStreamVolume() argument 789 service.setStreamVolume(streamType, index, flags); in setStreamVolume() [all …]
|
D | ToneGenerator.java | 739 public ToneGenerator(int streamType, int volume) { in ToneGenerator() argument 740 native_setup(streamType, volume); in ToneGenerator() 874 private native final void native_setup(int streamType, int volume); in native_setup() argument
|
D | IRingtonePlayer.aidl | 27 void play(IBinder token, in Uri uri, int streamType); in play() argument 32 void playAsync(in Uri uri, in UserHandle user, boolean looping, int streamType); in playAsync() argument
|
D | SoundPool.java | 137 public SoundPool(int maxStreams, int streamType, int srcQuality) { in SoundPool() argument 140 if (native_setup(new WeakReference(this), maxStreams, streamType, srcQuality) != 0) { in SoundPool() 491 …private native final int native_setup(Object weakRef, int maxStreams, int streamType, int srcQuali… in native_setup() argument
|
/frameworks/av/media/libmedia/ |
D | AudioSystem.cpp | 208 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) in getOutputSamplingRate() argument 212 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputSamplingRate() 213 streamType = AUDIO_STREAM_MUSIC; in getOutputSamplingRate() 216 output = getOutput(streamType); in getOutputSamplingRate() 221 return getSamplingRate(output, streamType, samplingRate); in getOutputSamplingRate() 225 audio_stream_type_t streamType, in getSamplingRate() argument 244 ALOGV("getSamplingRate() streamType %d, output %d, sampling rate %u", streamType, output, in getSamplingRate() 250 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) in getOutputFrameCount() argument 254 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputFrameCount() 255 streamType = AUDIO_STREAM_MUSIC; in getOutputFrameCount() [all …]
|
D | AudioTrack.cpp | 54 audio_stream_type_t streamType, in getMinFrameCount() argument 71 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { in getMinFrameCount() 75 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { in getMinFrameCount() 79 if (AudioSystem::getOutputLatency(&afLatency, streamType) != NO_ERROR) { in getMinFrameCount() 106 audio_stream_type_t streamType, in AudioTrack() argument 122 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack() 128 audio_stream_type_t streamType, in AudioTrack() argument 149 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack() 176 audio_stream_type_t streamType, in set() argument 199 ALOGV("set() streamType %d frameCount %u flags %04x", streamType, frameCount, flags); in set() [all …]
|
D | SoundPool.cpp | 42 SoundPool::SoundPool(int maxChannels, audio_stream_type_t streamType, int srcQuality) in SoundPool() argument 45 maxChannels, streamType, srcQuality); in SoundPool() 59 mStreamType = streamType; in SoundPool() 573 audio_stream_type_t streamType = mSoundPool->streamType(); in play() local 574 if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { in play() 577 if (AudioSystem::getOutputSamplingRate(&afSampleRate, streamType) != NO_ERROR) { in play() 610 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), in play() 613 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), in play()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | RingtonePlayer.java | 75 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { in Client() argument 79 mRingtone.setStreamType(streamType); in Client() 95 public void play(IBinder token, Uri uri, int streamType) throws RemoteException { 105 client = new Client(token, uri, user, streamType); 141 public void playAsync(Uri uri, UserHandle user, boolean looping, int streamType) { 147 mAsyncPlayer.play(getContextForUser(user), uri, looping, streamType);
|
/frameworks/av/include/media/ |
D | AudioTrack.h | 118 audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT, 157 AudioTrack( audio_stream_type_t streamType, 180 AudioTrack( audio_stream_type_t streamType, 205 status_t set(audio_stream_type_t streamType = AUDIO_STREAM_DEFAULT, 233 audio_stream_type_t streamType() const { return mStreamType; } in streamType() function 520 status_t createTrack_l(audio_stream_type_t streamType,
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | TSPacketizer.cpp | 37 unsigned PID, unsigned streamType, unsigned streamID); 40 unsigned streamType() const; 88 unsigned PID, unsigned streamType, unsigned streamID) in Track() argument 91 mStreamType(streamType), in Track() 134 unsigned TSPacketizer::Track::streamType() const { in streamType() function in android::TSPacketizer::Track 386 unsigned streamType; in addTrack() local 391 streamType = 0x1b; in addTrack() 395 streamType = 0x0f; in addTrack() 399 streamType = 0x83; in addTrack() 412 if (track->streamType() == streamType) { in addTrack() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | VolumePreference.java | 60 public void setStreamType(int streamType) { in setStreamType() argument 61 mStreamType = streamType; in setStreamType() 248 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) { in SeekBarVolumizer() argument 249 this(context, seekBar, streamType, null); in SeekBarVolumizer() 252 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) { in SeekBarVolumizer() argument 255 mStreamType = streamType; in SeekBarVolumizer()
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
D | VideoEditor3gpReader.cpp | 1413 M4_StreamType streamType = M4DA_StreamTypeUnknown; in VideoEditor3gpReader_getNextStreamHandler() local 1457 streamType = M4DA_StreamTypeVideoMpeg4Avc; in VideoEditor3gpReader_getNextStreamHandler() 1459 streamType = M4DA_StreamTypeVideoH263; in VideoEditor3gpReader_getNextStreamHandler() 1461 streamType = M4DA_StreamTypeVideoMpeg4; in VideoEditor3gpReader_getNextStreamHandler() 1466 streamType); in VideoEditor3gpReader_getNextStreamHandler() 1468 if(streamType != M4DA_StreamTypeUnknown) { in VideoEditor3gpReader_getNextStreamHandler() 1469 pC->mStreamType = streamType; in VideoEditor3gpReader_getNextStreamHandler() 1539 if(M4DA_StreamTypeVideoH263 == streamType) { in VideoEditor3gpReader_getNextStreamHandler() 1574 else if(M4DA_StreamTypeVideoMpeg4Avc == streamType) { in VideoEditor3gpReader_getNextStreamHandler() 1609 } else if( (M4DA_StreamTypeVideoMpeg4 == streamType) ) { in VideoEditor3gpReader_getNextStreamHandler() [all …]
|
/frameworks/av/libvideoeditor/vss/src/ |
D | M4AMRR_CoreReader.c | 97 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType); 98 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType); 111 M4OSA_UInt32 M4AMRR_getAuSize(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) in M4AMRR_getAuSize() argument 116 if ( streamType == M4SYS_kAMR ) in M4AMRR_getAuSize() 137 M4OSA_UInt32 M4AMRR_getBitrate(M4OSA_UInt32 frameType, M4SYS_StreamType streamType) in M4AMRR_getBitrate() argument 144 if ( streamType == M4SYS_kAMR ) in M4AMRR_getBitrate() 345 pStreamDesc->streamType = pStreamContext->m_streamType; in M4AMRR_getNextStream() 366 pStreamContext->m_pStreamHandler->streamType = pStreamDesc->streamType ; in M4AMRR_getNextStream()
|
D | M4PCMR_CoreReader.c | 240 pStreamDesc->streamType = M4SYS_kPCM_8bitsU; in M4PCMR_getNextStream() 247 pStreamDesc->streamType = M4SYS_kAudioUnknown; in M4PCMR_getNextStream() 255 pStreamDesc->streamType = M4SYS_kPCM_16bitsU; in M4PCMR_getNextStream() 258 pStreamDesc->streamType = M4SYS_kPCM_16bitsS; in M4PCMR_getNextStream() 261 pStreamDesc->streamType = M4SYS_kAudioUnknown; in M4PCMR_getNextStream() 266 pStreamDesc->streamType = M4SYS_kAudioUnknown; in M4PCMR_getNextStream()
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | SingleThreadedMediaPlayerProxy.java | 107 public void setAudioStreamType(int streamType) { in setAudioStreamType() argument 108 mDelegate.setAudioStreamType(streamType); in setAudioStreamType()
|
/frameworks/base/core/java/android/speech/tts/ |
D | AudioPlaybackQueueItem.java | 38 Context context, Uri uri, int streamType) { in AudioPlaybackQueueItem() argument 43 mStreamType = streamType; in AudioPlaybackQueueItem()
|
D | SynthesisPlaybackQueueItem.java | 66 SynthesisPlaybackQueueItem(int streamType, int sampleRate, in SynthesisPlaybackQueueItem() argument 78 mAudioTrack = new BlockingAudioTrack(streamType, sampleRate, audioFormat, in SynthesisPlaybackQueueItem()
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 27 audio_stream_type_t streamType, 49 audio_stream_type_t streamType() const { in streamType() function 148 audio_stream_type_t streamType, 191 audio_stream_type_t streamType,
|
/frameworks/av/libvideoeditor/vss/3gpwriter/src/ |
D | M4MP4W_Interface.c | 228 switch (pStreamDescription->streamType) in M4WRITER_3GP_addStream() 235 pStreamDescription->streamType); in M4WRITER_3GP_addStream() 265 pStreamDescription->streamType); in M4WRITER_3GP_addStream() 283 pStreamDescription->streamType); in M4WRITER_3GP_addStream() 301 switch (pStreamDescription->streamType) in M4WRITER_3GP_addStream()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2PSExtractor.cpp | 485 unsigned streamType; in dequeuePES() local 491 streamType = mStreamTypeByESID.valueAt(streamTypeIndex); in dequeuePES() 495 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; in dequeuePES() 498 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; in dequeuePES() 500 streamType = ATSParser::STREAMTYPE_RESERVED; in dequeuePES() 504 stream_id, new Track(this, stream_id, streamType)); in dequeuePES()
|
/frameworks/base/core/jni/ |
D | android_media_ToneGenerator.cpp | 89 jint streamType, jint volume) { in android_media_ToneGenerator_native_setup() argument 90 …ToneGenerator *lpToneGen = new ToneGenerator((audio_stream_type_t) streamType, AudioSystem::linear… in android_media_ToneGenerator_native_setup()
|