/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 46 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); in adjustStreamVolume() argument 48 void setStreamVolume(int streamType, int index, int flags, String callingPackage); in setStreamVolume() argument 52 boolean isStreamMute(int streamType); in isStreamMute() argument 60 int getStreamVolume(int streamType); in getStreamVolume() argument 62 int getStreamMinVolume(int streamType); in getStreamMinVolume() argument 64 int getStreamMaxVolume(int streamType); in getStreamMaxVolume() argument 66 int getLastAudibleStreamVolume(int streamType); in getLastAudibleStreamVolume() argument 181 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream() argument 200 boolean isStreamAffectedByRingerMode(int streamType); in isStreamAffectedByRingerMode() argument 202 boolean isStreamAffectedByMute(int streamType); in isStreamAffectedByMute() argument
|
D | AudioManagerInternal.java | 29 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, in adjustSuggestedStreamVolumeForUid() argument 32 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, in adjustStreamVolumeForUid() argument 35 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, in setStreamVolumeForUid() argument
|
D | AudioManager.java | 805 public void adjustStreamVolume(int streamType, int direction, int flags) { in adjustStreamVolume() argument 808 service.adjustStreamVolume(streamType, direction, flags, in adjustStreamVolume() 928 public int getStreamMaxVolume(int streamType) { in getStreamMaxVolume() argument 931 return service.getStreamMaxVolume(streamType); in getStreamMaxVolume() 946 public int getStreamMinVolume(int streamType) { in getStreamMinVolume() argument 949 return service.getStreamMinVolume(streamType); in getStreamMinVolume() 964 public int getStreamVolume(int streamType) { in getStreamVolume() argument 967 return service.getStreamVolume(streamType); in getStreamVolume() 979 public int getLastAudibleStreamVolume(int streamType) { in getLastAudibleStreamVolume() argument 982 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 | 466 public Builder setLegacyStreamType(int streamType) { in setLegacyStreamType() argument 467 return setInternalLegacyStreamType(streamType); in setLegacyStreamType() 476 public Builder setInternalLegacyStreamType(int streamType) { in setInternalLegacyStreamType() argument 477 switch(streamType) { in setInternalLegacyStreamType() 510 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes"); in setInternalLegacyStreamType() 512 mUsage = usageForLegacyStreamType(streamType); in setInternalLegacyStreamType() 703 public static int usageForLegacyStreamType(int streamType) { in usageForLegacyStreamType() argument 704 switch(streamType) { in usageForLegacyStreamType()
|
D | IVolumeController.aidl | 28 void volumeChanged(int streamType, int flags); in volumeChanged() argument
|
D | RingtoneManager.java | 608 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { in getRingtone() argument 611 if (streamType >= 0) { in getRingtone() 612 r.setStreamType(streamType); in getRingtone()
|
D | AudioTrack.java | 367 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument 370 this(streamType, sampleRateInHz, channelConfig, audioFormat, in AudioTrack() 409 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, in AudioTrack() argument 414 .setLegacyStreamType(streamType) in AudioTrack() 1110 static public int getNativeOutputSampleRate(int streamType) { in getNativeOutputSampleRate() argument 1111 return native_get_output_sample_rate(streamType); in getNativeOutputSampleRate() 2575 static private native final int native_get_output_sample_rate(int streamType); in native_get_output_sample_rate() argument
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.cpp | 118 bool Engine::setVolumeProfileForStream(const audio_stream_type_t &streamType, in setVolumeProfileForStream() argument 122 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); in setVolumeProfileForStream() 124 ALOGE("%s: stream %d not found", __FUNCTION__, streamType); in setVolumeProfileForStream() 203 audio_stream_type_t streamType, in volIndexToDb() argument 206 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); in volIndexToDb() 208 ALOGE("%s: Element indexed by key=%d not found", __FUNCTION__, streamType); in volIndexToDb() 214 status_t Engine::initStreamVolume(audio_stream_type_t streamType, in initStreamVolume() argument 217 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); in initStreamVolume() 219 ALOGE("%s: Stream Type %d not found", __FUNCTION__, streamType); in initStreamVolume() 222 mApmObserver->getStreamDescriptors().setVolumeIndexMin(streamType, indexMin); in initStreamVolume() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 796 for (int streamType = numStreamTypes - 1; streamType >= 0; streamType--) { in onMediaServerDied() 797 VolumeStreamState streamState = mStreamStates[streamType]; in onMediaServerDied() 798 AudioSystem.initStreamVolume(streamType, 0, (streamState.mIndexMax + 5) / 10); in onMediaServerDied() 867 for (int streamType = 0; streamType < numStreamTypes; streamType++) { in checkAllAliasStreamVolumes() 868 if (streamType != mStreamVolumeAlias[streamType]) { in checkAllAliasStreamVolumes() 869 mStreamStates[streamType]. in checkAllAliasStreamVolumes() 870 setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]], in checkAllAliasStreamVolumes() 874 if (!mStreamStates[streamType].mIsMuted) { in checkAllAliasStreamVolumes() 875 mStreamStates[streamType].applyAllVolumes(); in checkAllAliasStreamVolumes() 884 for (int streamType = 0; streamType < numStreamTypes; streamType++) { in checkAllFixedVolumeDevices() [all …]
|
/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/include/media/ |
D | AudioPolicyHelper.h | 64 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, in stream_type_to_audio_attributes() argument 68 switch (streamType) { in stream_type_to_audio_attributes() 111 ALOGE("invalid stream type %d when converting to attributes", streamType); in stream_type_to_audio_attributes()
|
D | AudioTrack.h | 143 audio_stream_type_t streamType, 203 AudioTrack( audio_stream_type_t streamType, 232 AudioTrack( audio_stream_type_t streamType, 275 status_t set(audio_stream_type_t streamType, 309 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/av/media/libmedia/ |
D | AudioTrack.cpp | 110 audio_stream_type_t streamType, in getMinFrameCount() argument 124 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); in getMinFrameCount() 127 streamType, status); in getMinFrameCount() 131 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); in getMinFrameCount() 134 streamType, status); in getMinFrameCount() 138 status = AudioSystem::getOutputLatency(&afLatency, streamType); in getMinFrameCount() 141 streamType, status); in getMinFrameCount() 154 streamType, sampleRate); in getMinFrameCount() 179 audio_stream_type_t streamType, in AudioTrack() argument 202 mStatus = set(streamType, sampleRate, format, channelMask, in AudioTrack() [all …]
|
D | AudioSystem.cpp | 250 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) in getOutputSamplingRate() argument 254 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputSamplingRate() 255 streamType = AUDIO_STREAM_MUSIC; in getOutputSamplingRate() 258 output = getOutput(streamType); in getOutputSamplingRate() 289 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) in getOutputFrameCount() argument 293 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputFrameCount() 294 streamType = AUDIO_STREAM_MUSIC; in getOutputFrameCount() 297 output = getOutput(streamType); in getOutputFrameCount() 326 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) in getOutputLatency() argument 330 if (streamType == AUDIO_STREAM_DEFAULT) { in getOutputLatency() [all …]
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 27 audio_stream_type_t streamType, 55 audio_stream_type_t streamType() const { in streamType() function 165 audio_stream_type_t streamType, 208 audio_stream_type_t streamType, 296 audio_stream_type_t streamType,
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 84 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { in SeekBarVolumizer() argument 88 mStreamType = streamType; in SeekBarVolumizer() 396 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 398 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType) 399 : (streamType == mStreamType);
|
D | VolumePreference.java | 63 public void setStreamType(int streamType) { in setStreamType() argument 64 mStreamType = streamType; in setStreamType()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2PSExtractor.cpp | 537 unsigned streamType; in dequeuePES() local 543 streamType = mStreamTypeByESID.valueAt(streamTypeIndex); in dequeuePES() 547 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; in dequeuePES() 550 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; in dequeuePES() 552 streamType = ATSParser::STREAMTYPE_RESERVED; in dequeuePES() 556 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/media/libstagefright/include/ |
D | ESDS.h | 38 status_t getStreamType(uint8_t *streamType) const;
|
/frameworks/wilhelm/src/android/ |
D | android_defs.h | 69 audio_stream_type_t streamType; member
|
/frameworks/av/include/media/stagefright/ |
D | Utils.h | 64 bool isStreaming, audio_stream_type_t streamType);
|