/frameworks/base/media/java/android/media/ |
H A D | IVolumeController.aidl | 28 void volumeChanged(int streamType, int flags);
|
H A D | AudioManagerInternal.java | 29 public abstract void adjustSuggestedStreamVolumeForUid(int streamType, int direction, argument 32 public abstract void adjustStreamVolumeForUid(int streamType, int direction, int flags, argument 35 public abstract void setStreamVolumeForUid(int streamType, int direction, int flags, argument
|
H A D | IAudioService.aidl | 46 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); 48 void setStreamVolume(int streamType, int index, int flags, String callingPackage); 52 boolean isStreamMute(int streamType); 60 int getStreamVolume(int streamType); 62 int getStreamMinVolume(int streamType); 64 int getStreamMaxVolume(int streamType); 66 int getLastAudibleStreamVolume(int streamType); 181 void forceVolumeControlStream(int streamType, IBinder cb); 200 boolean isStreamAffectedByRingerMode(int streamType); 202 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 | AudioManager.java | 795 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL}, 805 public void adjustStreamVolume(int streamType, int direction, int flags) { argument 808 service.adjustStreamVolume(streamType, direction, flags, 924 * @param streamType The stream type whose maximum volume index is returned. 928 public int getStreamMaxVolume(int streamType) { argument 931 return service.getStreamMaxVolume(streamType); 941 * @param streamType The stream type whose minimum volume index is returned. 946 public int getStreamMinVolume(int streamType) { argument 949 return service.getStreamMinVolume(streamType); 959 * @param streamType Th 964 getStreamVolume(int streamType) argument 979 getLastAudibleStreamVolume(int streamType) argument 1042 setStreamVolume(int streamType, int index, int flags) argument 1065 setStreamSolo(int streamType, boolean state) argument 1102 setStreamMute(int streamType, boolean state) argument 1119 isStreamMute(int streamType) argument 1151 forceVolumeControlStream(int streamType) argument 2243 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument 2421 requestAudioFocusForCall(int streamType, int durationHint) argument 3107 getDevicesForStream(int streamType) argument 3235 getOutputLatency(int streamType) argument 3270 isStreamAffectedByRingerMode(int streamType) argument 3283 isStreamAffectedByMute(int streamType) argument [all...] |
H A D | AudioAttributes.java | 460 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL}, 466 public Builder setLegacyStreamType(int streamType) { argument 467 return setInternalLegacyStreamType(streamType); 473 * @param streamType 476 public Builder setInternalLegacyStreamType(int streamType) { argument 477 switch(streamType) { 510 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes"); 512 mUsage = usageForLegacyStreamType(streamType); 703 public static int usageForLegacyStreamType(int streamType) { argument 704 switch(streamType) { [all...] |
H A D | RingtoneManager.java | 604 * @param streamType The stream type for the ringtone, or -1 if it should 608 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument 611 if (streamType >= 0) { 612 r.setStreamType(streamType);
|
H A D | SoundPool.java | 142 * @param streamType the audio stream type as described in AudioManager 151 public SoundPool(int maxStreams, int streamType, int srcQuality) { argument 153 new AudioAttributes.Builder().setInternalLegacyStreamType(streamType).build());
|
/frameworks/av/include/media/ |
H A D | AudioPolicyHelper.h | 64 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument 68 switch (streamType) { 111 ALOGE("invalid stream type %d when converting to attributes", streamType);
|
H A D | AudioTrack.h | 143 audio_stream_type_t streamType, 167 * streamType: Select the type of audio stream this track is attached to 195 * pAttributes: If not NULL, supersedes streamType for use case selection. 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/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/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.cpp | 118 bool Engine::setVolumeProfileForStream(const audio_stream_type_t &streamType, argument 122 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); 124 ALOGE("%s: stream %d not found", __FUNCTION__, streamType); 203 audio_stream_type_t streamType, 206 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); 208 ALOGE("%s: Element indexed by key=%d not found", __FUNCTION__, streamType); 214 status_t Engine::initStreamVolume(audio_stream_type_t streamType, argument 217 Stream *stream = getFromCollection<audio_stream_type_t>(streamType); 219 ALOGE("%s: Stream Type %d not found", __FUNCTION__, streamType); 222 mApmObserver->getStreamDescriptors().setVolumeIndexMin(streamType, indexMi 202 volIndexToDb(Volume::device_category category, audio_stream_type_t streamType, int indexInUi) argument [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 785 for (int streamType = numStreamTypes - 1; streamType >= 0; streamType--) { 786 VolumeStreamState streamState = mStreamStates[streamType]; 787 AudioSystem.initStreamVolume(streamType, 0, (streamState.mIndexMax + 5) / 10); 856 for (int streamType = 0; streamType < numStreamTypes; streamType++) { 857 if (streamType != mStreamVolumeAlias[streamType]) { 878 checkAllFixedVolumeDevices(int streamType) argument 1096 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage) argument 1102 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage, String caller, int uid) argument 1333 StreamVolumeCommand(int streamType, int index, int flags, int device) argument 1348 onSetStreamVolume(int streamType, int index, int flags, int device, String caller) argument 1370 setStreamVolume(int streamType, int index, int flags, String callingPackage) argument 1375 setStreamVolume(int streamType, int index, int flags, String callingPackage, String caller, int uid) argument 1455 forceVolumeControlStream(int streamType, IBinder cb) argument 1540 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument 1587 setStreamVolumeInt(int streamType, int index, int device, boolean force, String caller) argument 1623 isStreamMute(int streamType) argument 1781 getStreamVolume(int streamType) argument 1800 getStreamMaxVolume(int streamType) argument 1806 getStreamMinVolume(int streamType) argument 1812 getLastAudibleStreamVolume(int streamType) argument 3281 isStreamAffectedByRingerMode(int streamType) argument 3285 isStreamMutedByRingerMode(int streamType) argument 3327 isStreamAffectedByMute(int streamType) argument 3345 ensureValidStreamType(int streamType) argument 3641 VolumeStreamState(String settingName, int streamType) argument 5456 checkSafeMediaVolume(int streamType, int index, int device) argument 5827 postVolumeChanged(int streamType, int flags) argument 5883 adjustSuggestedStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 5892 adjustStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 5899 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, sp<DeviceDescriptor> descriptor, uid_t uid) argument
|
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 84 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument 88 mStreamType = streamType; 397 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 399 updateVolumeSlider(streamType, streamValue); 408 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 409 int streamVolume = mAudioManager.getStreamVolume(streamType); 410 updateVolumeSlider(streamType, streamVolume); 417 private void updateVolumeSlider(int streamType, int streamValue) { argument 418 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType) 419 : (streamType [all...] |
H A D | VolumePreference.java | 63 public void setStreamType(int streamType) { argument 64 mStreamType = streamType;
|
/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/libstagefright/include/ |
H A D | ESDS.h | 38 status_t getStreamType(uint8_t *streamType) const;
|
/frameworks/wilhelm/src/android/ |
H A D | android_defs.h | 69 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, 55 audio_stream_type_t streamType() const { function in class:Track 165 audio_stream_type_t streamType, 208 audio_stream_type_t streamType, 296 audio_stream_type_t streamType,
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 110 audio_stream_type_t streamType, 124 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); 127 streamType, status); 131 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 134 streamType, status); 138 status = AudioSystem::getOutputLatency(&afLatency, streamType); 141 streamType, status); 153 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %u", 154 streamType, sampleRate); 179 audio_stream_type_t streamType, 108 getMinFrameCount( size_t* frameCount, audio_stream_type_t streamType, uint32_t sampleRate) argument 178 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect) argument 208 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect) argument 266 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, uint32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes, bool doNotReconnect) argument 1106 audio_stream_type_t AudioTrack::streamType() const function in class:android::AudioTrack 1129 audio_stream_type_t streamType = mStreamType; local [all...] |
H A D | AudioSystem.cpp | 250 status_t AudioSystem::getOutputSamplingRate(uint32_t* samplingRate, audio_stream_type_t streamType) argument 254 if (streamType == AUDIO_STREAM_DEFAULT) { 255 streamType = AUDIO_STREAM_MUSIC; 258 output = getOutput(streamType); 289 status_t AudioSystem::getOutputFrameCount(size_t* frameCount, audio_stream_type_t streamType) argument 293 if (streamType == AUDIO_STREAM_DEFAULT) { 294 streamType = AUDIO_STREAM_MUSIC; 297 output = getOutput(streamType); 326 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 330 if (streamType [all...] |
/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/av/include/media/stagefright/ |
H A D | Utils.h | 64 bool isStreaming, audio_stream_type_t streamType);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 537 unsigned streamType; local 543 streamType = mStreamTypeByESID.valueAt(streamTypeIndex); 547 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; 550 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; 552 streamType = ATSParser::STREAMTYPE_RESERVED; 556 stream_id, new Track(this, stream_id, streamType));
|