/frameworks/av/include/media/ |
H A D | AudioPolicyHelper.h | 70 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument 74 switch (streamType) { 117 ALOGE("invalid stream type %d when converting to attributes", streamType);
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioPolicyHelper.h | 70 static void stream_type_to_audio_attributes(audio_stream_type_t streamType, argument 74 switch (streamType) { 117 ALOGE("invalid stream type %d when converting to attributes", streamType);
|
/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
|
H A D | Serializer.cpp | 528 audio_stream_type_t streamType; local 529 if (!StreamTypeConverter::fromString(streamTypeLiteral, streamType)) { 555 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 | 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
|
H A D | VolumeCurve.h | 218 audio_stream_type_t streamType = volumeCurve->getStreamType(); local 219 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 | 622 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL}, 628 public Builder setLegacyStreamType(int streamType) { argument 629 if (streamType == AudioManager.STREAM_ACCESSIBILITY) { 633 return setInternalLegacyStreamType(streamType); 639 * @param streamType 642 public Builder setInternalLegacyStreamType(int streamType) { argument 643 switch(streamType) { 679 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes"); 681 mUsage = usageForStreamType(streamType); 896 private static int usageForStreamType(int streamType) { argument [all...] |
H A D | PlayerBase.java | 570 * @param streamType the stream type to check 573 public static void deprecateStreamTypeForPlayback(int streamType, String className, argument 578 if (streamType == AudioManager.STREAM_ACCESSIBILITY) {
|
H A D | RingtoneManager.java | 729 * @param streamType The stream type for the ringtone, or -1 if it should 733 private static Ringtone getRingtone(final Context context, Uri ringtoneUri, int streamType) { argument 736 if (streamType >= 0) { 738 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/libaudioclient/ |
H A D | ToneGenerator.cpp | 838 // streamType: Type of stream used for tone playback 845 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument 847 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume); 851 if (AudioSystem::getOutputSamplingRate(&mSamplingRate, streamType) != NO_ERROR) { 856 mStreamType = streamType;
|
/frameworks/av/services/audioflinger/ |
H A D | PlaybackTracks.h | 27 audio_stream_type_t streamType, 56 audio_stream_type_t streamType() const { function in class:Track 238 audio_stream_type_t streamType,
|
/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 | 90 public SeekBarVolumizer(Context context, int streamType, Uri defaultUri, Callback callback) { argument 94 mStreamType = streamType; 411 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 413 updateVolumeSlider(streamType, streamValue); 422 int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1); 423 int streamVolume = mAudioManager.getStreamVolume(streamType); 424 updateVolumeSlider(streamType, streamVolume); 431 private void updateVolumeSlider(int streamType, int streamValue) { argument 432 final boolean streamMatch = mNotificationOrRing ? isNotificationOrRing(streamType) 433 : (streamType [all...] |
/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/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/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));
|
/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/base/core/java/android/hardware/camera2/legacy/ |
H A D | RequestThreadManager.java | 141 public FpsCounter(String streamType) { argument 142 mStreamType = streamType;
|
/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/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 919 audio_stream_type_t streamType = AUDIO_STREAM_MUSIC; local 921 streamType = mAudioSink->getAudioStreamType(); 923 if (streamType == AUDIO_STREAM_NOTIFICATION) {
|