Home
last modified time | relevance | path

Searched refs:streamtype (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/mediaanalytics/
Dstatsd_audiotrack.cpp60 char *streamtype = NULL; in statsd_audiotrack() local
61 if (item->getCString("android.media.audiotrack.streamtype", &streamtype)) { in statsd_audiotrack()
62 metrics_proto.set_stream_type(streamtype); in statsd_audiotrack()
147 free(streamtype); in statsd_audiotrack()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp733 android_media_MediaPlayer_setAudioStreamType(JNIEnv *env, jobject thiz, jint streamtype) in android_media_MediaPlayer_setAudioStreamType() argument
735 ALOGV("setAudioStreamType: %d", streamtype); in android_media_MediaPlayer_setAudioStreamType()
741 …process_media_player_call( env, thiz, mp->setAudioStreamType((audio_stream_type_t) streamtype) , N… in android_media_MediaPlayer_setAudioStreamType()
752 audio_stream_type_t streamtype; in android_media_MediaPlayer_getAudioStreamType() local
753 process_media_player_call( env, thiz, mp->getAudioStreamType(&streamtype), NULL, NULL ); in android_media_MediaPlayer_getAudioStreamType()
754 ALOGV("getAudioStreamType: %d (streamtype)", streamtype); in android_media_MediaPlayer_getAudioStreamType()
755 return (jint) streamtype; in android_media_MediaPlayer_getAudioStreamType()
/frameworks/base/media/java/android/media/
DMediaPlayer.java2184 public void setAudioStreamType(int streamtype) { in setAudioStreamType() argument
2185 deprecateStreamTypeForPlayback(streamtype, "MediaPlayer", "setAudioStreamType()"); in setAudioStreamType()
2187 new AudioAttributes.Builder().setInternalLegacyStreamType(streamtype).build()); in setAudioStreamType()
2188 _setAudioStreamType(streamtype); in setAudioStreamType()
2189 mStreamType = streamtype; in setAudioStreamType()
2192 private native void _setAudioStreamType(int streamtype); in _setAudioStreamType() argument
/frameworks/base/api/
Dcurrent.txt23734 field public static final String STREAMTYPE = "android.media.audiotrack.streamtype";