/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 56 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume() argument 58 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume() argument 60 boolean isStreamMute(int streamType); in isStreamMute() argument 68 int getStreamVolume(int streamType); in getStreamVolume() argument 70 int getStreamMinVolume(int streamType); in getStreamMinVolume() argument 72 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() argument 74 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume() argument 137 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream() argument 158 boolean isStreamAffectedByRingerMode(int streamType); in isStreamAffectedByRingerMode() argument 160 boolean isStreamAffectedByMute(int streamType); in isStreamAffectedByMute() argument
|
D | AudioManagerInternal.java | 30 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, in adjustSuggestedStreamVolumeForUid() argument 33 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, in adjustStreamVolumeForUid() argument 36 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, in setStreamVolumeForUid() argument
|
D | AudioManager.java | 783 public void adjustStreamVolume(int streamType, int direction, int flags) { in adjustStreamVolume() argument 786 service.adjustStreamVolume(streamType, direction, flags, in adjustStreamVolume() 904 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() argument 907 return service.getStreamMaxVolume(streamType); in getStreamMaxVolume() 921 public int getStreamMinVolume(int streamType) { in getStreamMinVolume() argument 924 return service.getStreamMinVolume(streamType); in getStreamMinVolume() 938 public int getStreamVolume(int streamType) { in getStreamVolume() argument 941 return service.getStreamVolume(streamType); in getStreamVolume() 952 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume() argument 955 return service.getLastAudibleStreamVolume(streamType); in getLastAudibleStreamVolume() [all …]
|
D | ToneGenerator.java | 745 public ToneGenerator(int streamType, int volume) { in ToneGenerator() argument 746 native_setup(streamType, volume); in ToneGenerator() 880 private native final void native_setup(int streamType, int volume); in native_setup() argument
|
D | AudioAttributes.java | 629 public Builder setLegacyStreamType(int streamType) { in setLegacyStreamType() argument 630 if (streamType == AudioManager.STREAM_ACCESSIBILITY) { in setLegacyStreamType() 634 return setInternalLegacyStreamType(streamType); in setLegacyStreamType() 643 public Builder setInternalLegacyStreamType(int streamType) { in setInternalLegacyStreamType() argument 644 switch(streamType) { in setInternalLegacyStreamType() 680 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes"); in setInternalLegacyStreamType() 682 mUsage = usageForStreamType(streamType); in setInternalLegacyStreamType() 910 private static int usageForStreamType(int streamType) { in usageForStreamType() argument 911 switch(streamType) { in usageForStreamType()
|
D | IVolumeController.aidl | 28 void volumeChanged(int streamType, int flags); in volumeChanged() argument
|
D | SoundPool.java | 149 public SoundPool(int maxStreams, int streamType, int srcQuality) { in SoundPool() argument 151 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build()); in SoundPool() 152 PlayerBase.deprecateStreamTypeForPlayback(streamType, "SoundPool", "SoundPool()"); in SoundPool()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 940 for (int streamType = numStreamTypes - 1; streamType >= 0; streamType--) { in onAudioServerDied() 941 VolumeStreamState streamState = mStreamStates[streamType]; in onAudioServerDied() 943 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10); in onAudioServerDied() 1020 for (int streamType = 0; streamType < numStreamTypes; streamType++) { in checkAllAliasStreamVolumes() 1021 mStreamStates[streamType] in checkAllAliasStreamVolumes() 1022 .setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]], TAG); in checkAllAliasStreamVolumes() 1024 if (!mStreamStates[streamType].mIsMuted) { in checkAllAliasStreamVolumes() 1025 mStreamStates[streamType].applyAllVolumes(); in checkAllAliasStreamVolumes() 1034 for (int streamType = 0; streamType < numStreamTypes; streamType++) { in checkAllFixedVolumeDevices() 1035 mStreamStates[streamType].checkFixedVolumeDevices(); in checkAllFixedVolumeDevices() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 90 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { in SeekBarVolumizer() argument 94 mStreamType = streamType; in SeekBarVolumizer() 410 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local 412 updateVolumeSlider(streamType, streamValue); in onReceive() 421 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); in onReceive() local 422 int streamVolume = mAudioManager.getStreamVolume(streamType); in onReceive() 423 updateVolumeSlider(streamType, streamVolume); in onReceive() 430 private void updateVolumeSlider(int streamType, int streamValue) { in updateVolumeSlider() argument 431 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType) in updateVolumeSlider() 432 : (streamType == mStreamType); in updateVolumeSlider()
|
D | VolumePreference.java | 63 public void setStreamType(int streamType) { in setStreamType() argument 64 mStreamType = streamType; in setStreamType()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | SessionRoute.h | 41 audio_stream_type_t streamType, in SessionRoute() argument 51 mStreamType(streamType), in SessionRoute() 107 audio_stream_type_t streamType,
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicyHelper.h | 68 void stream_type_to_audio_attributes(audio_stream_type_t streamType, in stream_type_to_audio_attributes() argument 72 switch (streamType) { in stream_type_to_audio_attributes() 115 ALOGE("invalid stream type %d when converting to attributes", streamType); in stream_type_to_audio_attributes()
|
D | AudioTrack.h | 144 audio_stream_type_t streamType, 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/include/media/ |
D | AudioPolicyHelper.h | 68 void stream_type_to_audio_attributes(audio_stream_type_t streamType, in stream_type_to_audio_attributes() argument 72 switch (streamType) { in stream_type_to_audio_attributes() 115 ALOGE("invalid stream type %d when converting to attributes", streamType); in stream_type_to_audio_attributes()
|
D | AudioTrack.h | 144 audio_stream_type_t streamType, 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/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 398 unsigned streamType; in addTrack() local 403 streamType = 0x1b; in addTrack() 407 streamType = 0x0f; in addTrack() 411 streamType = 0x83; in addTrack() 424 if (track->streamType() == streamType) { in addTrack() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | SessionRoute.cpp | 91 audio_stream_type_t streamType, in addRoute() argument 96 if (mMapType == MAPTYPE_INPUT && streamType != SessionRoute::STREAM_TYPE_NA) { in addRoute() 115 route = new SessionRoute(session, streamType, source, descriptor, uid); in addRoute()
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
D | AudioAttributesCompat.java | 568 public Builder setLegacyStreamType(int streamType) { in setLegacyStreamType() argument 569 if (streamType == AudioManagerHidden.STREAM_ACCESSIBILITY) { in setLegacyStreamType() 574 mLegacyStream = streamType; in setLegacyStreamType() 575 mUsage = usageForStreamType(streamType); in setLegacyStreamType() 661 private static int usageForStreamType(int streamType) { in usageForStreamType() argument 662 switch (streamType) { in usageForStreamType()
|
/frameworks/av/media/libeffects/config/src/ |
D | EffectsConfig.cpp | 224 const char* streamType = xmlStream.Attribute("type"); in parseStream() local 225 if (streamType == nullptr) { in parseStream() 230 if (!stringToStreamType(streamType, &stream.type)) { in parseStream() 231 ALOGE("Invalid stream type %s: %s", streamType, dump(xmlStream)); in parseStream()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 129 audio_stream_type_t streamType, in getMinFrameCount() argument 143 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); in getMinFrameCount() 146 streamType, status); in getMinFrameCount() 150 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); in getMinFrameCount() 153 streamType, status); in getMinFrameCount() 157 status = AudioSystem::getOutputLatency(&afLatency, streamType); in getMinFrameCount() 160 streamType, status); in getMinFrameCount() 174 streamType, sampleRate); in getMinFrameCount() 201 audio_stream_type_t streamType, in AudioTrack() argument 226 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack() [all …]
|
D | AudioSystem.cpp | 256 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) in getOutputSamplingRate() argument 260 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputSamplingRate() 261 streamType = AUDIO_STREAM_MUSIC; in getOutputSamplingRate() 264 output = getOutput(streamType); in getOutputSamplingRate() 293 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) in getOutputFrameCount() argument 297 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputFrameCount() 298 streamType = AUDIO_STREAM_MUSIC; in getOutputFrameCount() 301 output = getOutput(streamType); in getOutputFrameCount() 330 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) in getOutputLatency() argument 334 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputLatency() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2PSExtractor.cpp | 538 unsigned streamType; in dequeuePES() local 544 streamType = mStreamTypeByESID.valueAt(streamTypeIndex); in dequeuePES() 548 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; in dequeuePES() 551 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; in dequeuePES() 553 streamType = ATSParser::STREAMTYPE_RESERVED; in dequeuePES() 557 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()
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 27 audio_stream_type_t streamType, 57 audio_stream_type_t streamType() const { in streamType() function 238 audio_stream_type_t streamType,
|
D | Threads.h | 707 audio_stream_type_t streamType, 762 bool invalidateTracks_l(audio_stream_type_t streamType); 763 virtual void invalidateTracks(audio_stream_type_t streamType); 1155 virtual void invalidateTracks(audio_stream_type_t streamType); 1479 audio_stream_type_t streamType, 1532 virtual audio_stream_type_t streamType() { return AUDIO_STREAM_DEFAULT; } in streamType() function 1534 virtual void invalidateTracks(audio_stream_type_t streamType __unused) {} in invalidateTracks() 1564 audio_stream_type_t streamType, 1581 virtual void invalidateTracks(audio_stream_type_t streamType); 1583 virtual audio_stream_type_t streamType() { return mStreamType; } in streamType() function
|