/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);
|
/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);
|
/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/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
|
H A D | Serializer.cpp | 538 audio_stream_type_t streamType; local 539 if (!StreamTypeConverter::fromString(streamTypeLiteral, streamType)) { 565 element = new Element(deviceCategory, 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/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
|
H A D | VolumeCurve.h | 224 audio_stream_type_t streamType = volumeCurve->getStreamType(); local 225 return editCurvesFor(streamType).add(volumeCurve);
|
/frameworks/base/media/java/android/media/ |
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 | Ringtone.java | 101 * @param streamType The stream, see {@link AudioManager}. 105 public void setStreamType(int streamType) { argument 106 PlayerBase.deprecateStreamTypeForPlayback(streamType, "Ringtone", "setStreamType()"); 108 .setInternalLegacyStreamType(streamType)
|
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 | PlayerBase.java | 579 * @param streamType the stream type to check 582 public static void deprecateStreamTypeForPlayback(int streamType, String className, argument 587 if (streamType == AudioManager.STREAM_ACCESSIBILITY) {
|
H A D | RingtoneManager.java | 726 * @param streamType The stream type for the ringtone, or -1 if it should 730 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument 733 if (streamType >= 0) { 735 r.setStreamType(streamType);
|
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/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/base/core/java/android/preference/ |
H A D | VolumePreference.java | 63 public void setStreamType(int streamType) { argument 64 mStreamType = streamType;
|
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/av/media/libaudioclient/ |
H A D | ToneGenerator.cpp | 923 // streamType: Type of stream used for tone playback 930 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument 932 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume); 936 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) { 941 mStreamType = streamType; 1201 audio_stream_type_t streamType = mStreamType; local 1203 streamType = AUDIO_STREAM_DTMF; 1205 stream_type_to_audio_attributes(streamType, &attr);
|
/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/base/cmds/bootanimation/ |
H A D | audioplay.cpp | 192 SLint32 streamType = SL_ANDROID_STREAM_SYSTEM; local 194 SL_ANDROID_KEY_STREAM_TYPE, &streamType, sizeof(SLint32));
|
/frameworks/wilhelm/src/android/ |
H A D | android_defs.h | 71 audio_stream_type_t streamType; member in struct:AudioPlayback_Parameters
|
/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));
|
/frameworks/av/media/libmediaplayer2/ |
H A D | MediaPlayer2AudioOutput.cpp | 288 void MediaPlayer2AudioOutput::setAudioStreamType(audio_stream_type_t streamType) { argument 292 mStreamType = streamType; 426 mStreamType = t->streamType();
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 43 unsigned streamType() const; 118 unsigned MPEG2TSWriter::SourceInfo::streamType() const { function in class:android::MPEG2TSWriter::SourceInfo 777 *ptr++ = mSources.editItemAt(i)->streamType(); 840 mSources.editItemAt(sourceIndex)->streamType() == 0x0f ? 0xc0 : 0xe0;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 141 public FpsCounter(String streamType) { argument 142 mStreamType = streamType;
|