/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 | 64 void adjustStreamVolume(int streamType, int direction, int flags, String callingPackage); 66 void setStreamVolume(int streamType, int index, int flags, String callingPackage); 68 boolean isStreamMute(int streamType); 76 int getStreamVolume(int streamType); 78 int getStreamMinVolume(int streamType); 80 int getStreamMaxVolume(int streamType); 82 int getLastAudibleStreamVolume(int streamType); 145 void forceVolumeControlStream(int streamType, IBinder cb); 168 boolean isStreamAffectedByRingerMode(int streamType); 170 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 | 798 * @param streamType The stream type to adjust. One of {@link #STREAM_VOICE_CALL}, 808 public void adjustStreamVolume(int streamType, int direction, int flags) { argument 811 service.adjustStreamVolume(streamType, direction, flags, 925 * @param streamType The stream type whose maximum volume index is returned. 929 public int getStreamMaxVolume(int streamType) { argument 932 return service.getStreamMaxVolume(streamType); 940 * @param streamType The stream type whose minimum volume index is returned. Must be one of 947 public int getStreamMinVolume(int streamType) { argument 948 if (!isPublicStreamType(streamType)) { 949 throw new IllegalArgumentException("Invalid stream type " + streamType); 961 getStreamMinVolumeInt(int streamType) argument 978 getStreamVolume(int streamType) argument 1017 getStreamVolumeDb(@ublicStreamTypes int streamType, int index, @AudioDeviceInfo.AudioDeviceTypeOut int deviceType) argument 1037 isPublicStreamType(int streamType) argument 1058 getLastAudibleStreamVolume(int streamType) argument 1125 setStreamVolume(int streamType, int index, int flags) argument 1148 setStreamSolo(int streamType, boolean state) argument 1185 setStreamMute(int streamType, boolean state) argument 1202 isStreamMute(int streamType) argument 1232 forceVolumeControlStream(int streamType) argument 2450 requestAudioFocus(OnAudioFocusChangeListener l, int streamType, int durationHint) argument 2803 requestAudioFocusForCall(int streamType, int durationHint) argument 3865 getDevicesForStream(int streamType) argument 4072 getOutputLatency(int streamType) argument 4107 isStreamAffectedByRingerMode(int streamType) argument 4119 isStreamAffectedByMute(int streamType) argument [all...] |
H A D | AudioAttributes.java | 658 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL}, 664 public Builder setLegacyStreamType(int streamType) { argument 665 if (streamType == AudioManager.STREAM_ACCESSIBILITY) { 669 return setInternalLegacyStreamType(streamType); 675 * @param streamType 678 public Builder setInternalLegacyStreamType(int streamType) { argument 679 switch(streamType) { 715 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes"); 717 mUsage = usageForStreamType(streamType); 967 private static int usageForStreamType(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/services/audiopolicy/common/managerdefinitions/include/ |
H A D | SessionRoute.h | 33 // streamType argument 42 audio_stream_type_t streamType, 52 mStreamType(streamType), 102 audio_devices_t getActiveDeviceForStream(audio_stream_type_t streamType, 107 // in the streamType argument. 109 audio_stream_type_t streamType, 41 SessionRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, sp<DeviceDescriptor> deviceDescriptor, uid_t uid) argument
|
/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 | 145 audio_stream_type_t streamType, 169 * streamType: Select the type of audio stream this track is attached to 213 * pAttributes: If not NULL, supersedes streamType for use case selection. 227 AudioTrack( audio_stream_type_t streamType, 258 AudioTrack( audio_stream_type_t streamType, 302 status_t set(audio_stream_type_t streamType, 343 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 | 145 audio_stream_type_t streamType, 169 * streamType: Select the type of audio stream this track is attached to 213 * pAttributes: If not NULL, supersedes streamType for use case selection. 227 AudioTrack( audio_stream_type_t streamType, 258 AudioTrack( audio_stream_type_t streamType, 302 status_t set(audio_stream_type_t streamType, 343 audio_stream_type_t streamType() const;
|
/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) { 113 route = new SessionRoute(session, streamType, source, descriptor, uid); 122 audio_devices_t SessionRouteMap::getActiveDeviceForStream(audio_stream_type_t streamType, argument 129 if (streamType == route->mStreamType && route->isActiveOrChanged() 90 addRoute(audio_session_t session, audio_stream_type_t streamType, audio_source_t source, const sp<DeviceDescriptor>& descriptor, uid_t uid) argument
|
/frameworks/av/media/libmedia/include/media/ |
H A D | JAudioAttributes.h | 30 audio_stream_type_t streamType) { 37 // If pAttributes is not null, streamType is ignored. 65 jBuilderObj = env->CallObjectMethod(jBuilderObj, jSetLegacyStreamType, streamType); 28 createAudioAttributesObj(JNIEnv *env, const audio_attributes_t* pAttributes, audio_stream_type_t streamType) argument
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 1013 for (int streamType = numStreamTypes - 1; streamType >= 0; streamType--) { 1014 VolumeStreamState streamState = mStreamStates[streamType]; 1016 streamType, streamState.mIndexMin / 10, streamState.mIndexMax / 10); 1107 for (int streamType = 0; streamType < numStreamTypes; streamType++) { 1108 mStreamStates[streamType] 1109 .setAllIndexes(mStreamStates[mStreamVolumeAlias[streamType]], TA 1127 checkAllFixedVolumeDevices(int streamType) argument 1555 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage) argument 1568 adjustStreamVolume(int streamType, int direction, int flags, String callingPackage, String caller, int uid) argument 1822 StreamVolumeCommand(int streamType, int index, int flags, int device) argument 1884 onSetStreamVolume(int streamType, int index, int flags, int device, String caller) argument 1899 setStreamVolume(int streamType, int index, int flags, String callingPackage) argument 1938 setStreamVolume(int streamType, int index, int flags, String callingPackage, String caller, int uid) argument 2052 forceVolumeControlStream(int streamType, IBinder cb) argument 2156 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument 2203 setStreamVolumeInt(int streamType, int index, int device, boolean force, String caller) argument 2239 isStreamMute(int streamType) argument 2404 getStreamVolume(int streamType) argument 2423 getStreamMaxVolume(int streamType) argument 2429 getStreamMinVolume(int streamType) argument 2435 getLastAudibleStreamVolume(int streamType) argument 2691 isAlarm(int streamType) argument 2695 isNotificationOrRinger(int streamType) argument 2700 isMedia(int streamType) argument 2705 isSystem(int streamType) argument 4229 isStreamAffectedByRingerMode(int streamType) argument 4233 shouldZenMuteStream(int streamType) argument 4253 isStreamMutedByRingerOrZenMode(int streamType) argument 4331 isStreamAffectedByMute(int streamType) argument 4349 ensureValidStreamType(int streamType) argument 4771 VolumeStreamState(String settingName, int streamType) argument 5889 setHearingAidVolume(int index, int streamType) argument 6993 checkSafeMediaVolume(int streamType, int index, int device) argument 7447 postVolumeChanged(int streamType, int flags) argument 7515 adjustSuggestedStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 7524 adjustStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument 7531 setStreamVolumeForUid(int streamType, int direction, int flags, String callingPackage, int uid) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarVolumizer.java | 96 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument 107 mStreamType = streamType; 436 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 438 updateVolumeSlider(streamType, streamValue); 447 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 448 int streamVolume = mAudioManager.getStreamVolume(streamType); 449 updateVolumeSlider(streamType, streamVolume); 465 private void updateVolumeSlider(int streamType, int streamValue) { argument 466 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType) 467 : (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 | 225 const char* streamType = xmlStream.Attribute("type"); local 226 if (streamType == nullptr) { 231 if (!stringToStreamType(streamType, &stream.type)) { 232 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/src/main/java/androidx/media/ |
H A D | AudioAttributesCompat.java | 627 * @param streamType one of <code>AudioManager.STREAM_*</code> 630 public Builder setLegacyStreamType(int streamType) { argument 631 if (streamType == AudioManagerHidden.STREAM_ACCESSIBILITY) { 636 mLegacyStream = streamType; 637 mUsage = usageForStreamType(streamType); 723 private static int usageForStreamType(int streamType) { argument 724 switch (streamType) {
|
/frameworks/av/include/media/stagefright/ |
H A D | Utils.h | 55 bool isStreaming, audio_stream_type_t streamType);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | Utils.h | 55 bool isStreaming, audio_stream_type_t streamType);
|
/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, 63 audio_stream_type_t streamType() const { function in class:Track 281 audio_stream_type_t streamType,
|
/frameworks/av/media/extractors/mpeg2/ |
H A D | MPEG2PSExtractor.cpp | 539 unsigned streamType; local 545 streamType = mStreamTypeByESID.valueAt(streamTypeIndex); 549 streamType = ATSParser::STREAMTYPE_MPEG2_AUDIO; 552 streamType = ATSParser::STREAMTYPE_MPEG2_VIDEO; 554 streamType = ATSParser::STREAMTYPE_RESERVED; 558 stream_id, new Track(this, stream_id, streamType));
|