/frameworks/base/media/java/android/media/ |
H A D | IVolumeController.aidl | 28 void volumeChanged(int streamType, int flags);
|
H A D | AudioManagerInternal.java | 30 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument 33 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument 36 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, argument
|
H A D | IAudioService.aidl | 56 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); 58 void setStreamVolume(int streamType, int index, int flags, String callingPackage); 60 boolean isStreamMute(int streamType); 68 int getStreamVolume(int streamType); 70 int getStreamMinVolume(int streamType); 72 int getStreamMaxVolume(int streamType); 74 int getLastAudibleStreamVolume(int streamType); 137 void forceVolumeControlStream(int streamType, IBinder cb); 158 boolean isStreamAffectedByRingerMode(int streamType); 160 boolean isStreamAffectedByMute(int streamType); [all...] |
H A D | ToneGenerator.java | 741 * @param streamType The streame type used for tone playback (e.g. STREAM_MUSIC). 745 public ToneGenerator(int streamType, int volume) { argument 746 native_setup(streamType, volume); 880 private native final void native_setup(int streamType, int volume); argument
|
H A D | AudioAttributes.java | 623 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL}, 629 public Builder setLegacyStreamType(int streamType) { argument 630 if (streamType == AudioManager.STREAM_ACCESSIBILITY) { 634 return setInternalLegacyStreamType(streamType); 640 * @param streamType 643 public Builder setInternalLegacyStreamType(int streamType) { argument 644 switch(streamType) { 680 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes"); 682 mUsage = usageForStreamType(streamType); 910 private static int usageForStreamType(int streamType) { argument [all...] |
H A D | AudioManager.java | 773 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL}, 783 public void adjustStreamVolume(int streamType, int direction, int flags) { argument 786 service.adjustStreamVolume(streamType, direction, flags, 900 * @param streamType The stream type whose maximum volume index is returned. 904 public int getStreamMaxVolume(int streamType) { argument 907 return service.getStreamMaxVolume(streamType); 916 * @param streamType The stream type whose minimum volume index is returned. 921 public int getStreamMinVolume(int streamType) { argument 924 return service.getStreamMinVolume(streamType); 933 * @param streamType Th 938 getStreamVolume(int streamType) argument 952 getLastAudibleStreamVolume(int streamType) argument 1019 setStreamVolume(int streamType, int index, int flags) argument 1042 setStreamSolo(int streamType, boolean state) argument 1079 setStreamMute(int streamType, boolean state) argument 1096 isStreamMute(int streamType) argument 1126 forceVolumeControlStream(int streamType) argument 2268 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument 2539 requestAudioFocusForCall(int streamType, int durationHint) argument 3575 getDevicesForStream(int streamType) argument 3738 getOutputLatency(int streamType) argument 3773 isStreamAffectedByRingerMode(int streamType) argument 3785 isStreamAffectedByMute(int streamType) argument [all...] |
H A D | SoundPool.java | 140 * @param streamType the audio stream type as described in AudioManager 149 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument 151 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build()); 152 PlayerBase.deprecateStreamTypeForPlayback(streamType, "SoundPool", "SoundPool()");
|
/frameworks/av/include/media/ |
H A D | AudioPolicyHelper.h | 68 void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument 72 switch (streamType) { 115 ALOGE("invalid stream type %d when converting to attributes", streamType);
|
H A D | AudioTrack.h | 144 audio_stream_type_t streamType, 168 * streamType: Select the type of audio stream this track is attached to 212 * pAttributes: If not NULL, supersedes streamType for use case selection. 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/libaudioclient/include/media/ |
H A D | AudioPolicyHelper.h | 68 void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument 72 switch (streamType) { 115 ALOGE("invalid stream type %d when converting to attributes", streamType);
|
H A D | AudioTrack.h | 144 audio_stream_type_t streamType, 168 * streamType: Select the type of audio stream this track is attached to 212 * pAttributes: If not NULL, supersedes streamType for use case selection. 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/services/audiopolicy/common/managerdefinitions/include/ |
H A D | SessionRoute.h | 32 // streamType argument 41 audio_stream_type_t streamType, 51 mStreamType(streamType), 105 // in the streamType argument. 107 audio_stream_type_t streamType, 40 SessionRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, sp<DeviceDescriptor> deviceDescriptor, uid_t uid) argument
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 940 for (int streamType = numStreamTypes - 1; streamType >= 0; streamType--) { 941 VolumeStreamState streamState = mStreamStates[streamType]; 943 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10); 1020 for (int streamType = 0; streamType < numStreamTypes; streamType++) { 1021 mStreamStates[streamType] 1022 .setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]], TA 1039 checkAllFixedVolumeDevices(int streamType) argument 1379 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage) argument 1392 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage, String caller, int uid) argument 1626 StreamVolumeCommand(int streamType, int index, int flags, int device) argument 1683 onSetStreamVolume(int streamType, int index, int flags, int device, String caller) argument 1698 setStreamVolume(int streamType, int index, int flags, String callingPackage) argument 1728 setStreamVolume(int streamType, int index, int flags, String callingPackage, String caller, int uid) argument 1835 forceVolumeControlStream(int streamType, IBinder cb) argument 1926 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument 1973 setStreamVolumeInt(int streamType, int index, int device, boolean force, String caller) argument 2009 isStreamMute(int streamType) argument 2171 getStreamVolume(int streamType) argument 2190 getStreamMaxVolume(int streamType) argument 2196 getStreamMinVolume(int streamType) argument 2202 getLastAudibleStreamVolume(int streamType) argument 3792 isStreamAffectedByRingerMode(int streamType) argument 3796 isStreamMutedByRingerMode(int streamType) argument 3838 isStreamAffectedByMute(int streamType) argument 3856 ensureValidStreamType(int streamType) argument 4202 VolumeStreamState(String settingName, int streamType) argument 6242 checkSafeMediaVolume(int streamType, int index, int device) argument 6677 postVolumeChanged(int streamType, int flags) argument 6743 adjustSuggestedStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 6752 adjustStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 6759 setStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | SessionRoute.cpp | 91 audio_stream_type_t streamType, 96 if (mMapType == MAPTYPE_INPUT && streamType != SessionRoute::STREAM_TYPE_NA) { 115 route = new SessionRoute(session, streamType, source, descriptor, uid); 90 addRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, const sp<DeviceDescriptor>& descriptor, uid_t uid) argument
|
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 90 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument 94 mStreamType = streamType; 410 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 412 updateVolumeSlider(streamType, streamValue); 421 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 422 int streamVolume = mAudioManager.getStreamVolume(streamType); 423 updateVolumeSlider(streamType, streamVolume); 430 private void updateVolumeSlider(int streamType, int streamValue) { argument 431 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType) 432 : (streamType [all...] |
/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/av/media/libeffects/config/src/ |
H A D | EffectsConfig.cpp | 224 const char* streamType = xmlStream.Attribute("type"); local 225 if (streamType == nullptr) { 230 if (!stringToStreamType(streamType, &stream.type)) { 231 ALOGE("Invalid stream type %s: %s", streamType, dump(xmlStream));
|
/frameworks/av/media/libstagefright/include/ |
H A D | ESDS.h | 38 status_t getStreamType(uint8_t *streamType) const;
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
H A D | AudioAttributesCompat.java | 565 * @param streamType one of <code>AudioManager.STREAM_*</code> 568 public Builder setLegacyStreamType(int streamType) { argument 569 if (streamType == AudioManagerHidden.STREAM_ACCESSIBILITY) { 574 mLegacyStream = streamType; 575 mUsage = usageForStreamType(streamType); 661 private static int usageForStreamType(int streamType) { argument 662 switch (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/wilhelm/src/android/ |
H A D | android_defs.h | 71 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
|
/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 27 audio_stream_type_t streamType, 57 audio_stream_type_t streamType() const { function in class:Track 238 audio_stream_type_t streamType,
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 129 audio_stream_type_t streamType, 143 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); 146 streamType, status); 150 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 153 streamType, status); 157 status = AudioSystem::getOutputLatency(&afLatency, streamType); 160 streamType, status); 173 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %u", 174 streamType, sampleRate); 201 audio_stream_type_t streamType, 127 getMinFrameCount( size_t* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument 200 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument 232 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument 292 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, audio_session_t sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, uid_t uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect, float maxRequiredSpeed) argument 1264 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack 1316 audio_stream_type_t streamType = mStreamType; local [all...] |
H A D | AudioSystem.cpp | 256 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) argument 260 if (streamType == AUDIO_STREAM_DEFAULT) { 261 streamType = AUDIO_STREAM_MUSIC; 264 output = getOutput(streamType); 293 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) argument 297 if (streamType == AUDIO_STREAM_DEFAULT) { 298 streamType = AUDIO_STREAM_MUSIC; 301 output = getOutput(streamType); 330 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 334 if (streamType [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 538 unsigned streamType; local 544 streamType = mStreamTypeByESID.valueAt(streamTypeIndex); 548 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; 551 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; 553 streamType = ATSParser::STREAMTYPE_RESERVED; 557 stream_id, new Track(this, stream_id, streamType));
|