Home
last modified time | relevance | path

Searched refs:programId (Results 1 – 25 of 25) sorted by relevance

/frameworks/native/libs/renderengine/gl/
DProgram.cpp34 GLuint programId = glCreateProgram(); in Program() local
35 glAttachShader(programId, vertexId); in Program()
36 glAttachShader(programId, fragmentId); in Program()
37 glBindAttribLocation(programId, position, "position"); in Program()
38 glBindAttribLocation(programId, texCoords, "texCoords"); in Program()
39 glBindAttribLocation(programId, cropCoords, "cropCoords"); in Program()
40 glLinkProgram(programId); in Program()
43 glGetProgramiv(programId, GL_LINK_STATUS, &status); in Program()
47 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
50 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); in Program()
[all …]
/frameworks/base/media/java/android/media/
DAudioPresentation.java131 int programId, in AudioPresentation() argument
139 mProgramId = programId; in AudioPresentation()
303 public @NonNull Builder setProgramId(int programId) { in setProgramId() argument
304 mProgramId = programId; in setProgramId()
DMediaCodec.java3362 private native void native_setAudioPresentation(int presentationId, int programId); in native_setAudioPresentation() argument
DAudioTrack.java3684 private native final int native_setPresentation(int presentationId, int programId); in native_setPresentation() argument
/frameworks/av/media/libaudioclient/include/media/
DIAudioTrack.h74 virtual status_t selectPresentation(int presentationId, int programId) = 0;
DAudioTrack.h788 status_t selectPresentation(int presentationId, int programId);
/frameworks/av/media/libaudioclient/
DIAudioTrack.cpp132 virtual status_t selectPresentation(int presentationId, int programId) { in selectPresentation() argument
136 data.writeInt32(programId); in selectPresentation()
DAudioTrack.cpp2449 status_t AudioTrack::selectPresentation(int presentationId, int programId) in selectPresentation() argument
2454 param.addInt(String8(AudioParameter::keyProgramId), programId); in selectPresentation()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DStreamHalInterface.h113 virtual status_t selectPresentation(int presentationId, int programId) = 0;
/frameworks/av/media/libaudiohal/impl/
DStreamHalLocal.cpp142 status_t StreamOutHalLocal::selectPresentation(int presentationId, int programId) { in selectPresentation() argument
145 param.addInt(String8(AudioParameter::keyProgramId), programId); in selectPresentation()
DStreamHalHidl.cpp336 status_t StreamOutHalHidl::selectPresentation(int presentationId, int programId) { in selectPresentation() argument
341 parameters.push_back({AudioParameter::keyProgramId, std::to_string(programId)}); in selectPresentation()
346 status_t StreamOutHalHidl::selectPresentation(int presentationId, int programId) { in selectPresentation() argument
349 mStream->selectPresentation(presentationId, programId)); in selectPresentation()
DStreamHalLocal.h107 virtual status_t selectPresentation(int presentationId, int programId);
DStreamHalHidl.h132 virtual status_t selectPresentation(int presentationId, int programId);
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h133 void selectAudioPresentation(const int32_t presentationId, const int32_t programId);
Dandroid_media_MediaCodec.cpp768 void JMediaCodec::selectAudioPresentation(const int32_t presentationId, const int32_t programId) { in selectAudioPresentation() argument
771 msg->setInt32("audio-presentation-program-id", programId); in selectAudioPresentation()
1910 JNIEnv *env, jobject thiz, jint presentationId, jint programId) { in android_media_MediaCodec_setAudioPresentation() argument
1918 codec->selectAudioPresentation((int32_t)presentationId, (int32_t)programId); in android_media_MediaCodec_setAudioPresentation()
/frameworks/base/media/java/android/media/tv/
DTvContract.java573 public static Uri buildProgramUri(long programId) { in buildProgramUri() argument
574 return ContentUris.withAppendedId(Programs.CONTENT_URI, programId); in buildProgramUri()
DTvInputManager.java1419 public void notifyPreviewProgramBrowsableDisabled(String packageName, long programId) { in notifyPreviewProgramBrowsableDisabled() argument
1422 intent.putExtra(TvContract.EXTRA_PREVIEW_PROGRAM_ID, programId); in notifyPreviewProgramBrowsableDisabled()
1438 public void notifyWatchNextProgramBrowsableDisabled(String packageName, long programId) { in notifyWatchNextProgramBrowsableDisabled() argument
1441 intent.putExtra(TvContract.EXTRA_WATCH_NEXT_PROGRAM_ID, programId); in notifyWatchNextProgramBrowsableDisabled()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h109 status_t selectPresentation(int presentationId, int programId);
DTracks.cpp354 status_t AudioFlinger::TrackHandle::selectPresentation(int presentationId, int programId) { in selectPresentation() argument
355 return mTrack->selectPresentation(presentationId, programId); in selectPresentation()
1170 int programId) { in selectPresentation() argument
1177 return directOutputThread->selectPresentation(presentationId, programId); in selectPresentation()
DAudioFlinger.h626 virtual status_t selectPresentation(int presentationId, int programId);
DThreads.h1308 status_t selectPresentation(int presentationId, int programId);
DThreads.cpp2555 status_t AudioFlinger::DirectOutputThread::selectPresentation(int presentationId, int programId) { in selectPresentation() argument
2560 return mOutput->stream->selectPresentation(presentationId, programId); in selectPresentation()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h501 status_t setAudioPresentation(int32_t presentationId, int32_t programId);
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1267 JNIEnv *env, jobject thiz, jint presentationId, jint programId) { in android_media_AudioTrack_setPresentation() argument
1275 return (jint)lpTrack->selectPresentation((int)presentationId, (int)programId); in android_media_AudioTrack_setPresentation()
/frameworks/av/media/libstagefright/
DACodec.cpp2375 status_t ACodec::setAudioPresentation(int32_t presentationId, int32_t programId) { in setAudioPresentation() argument
2379 config.nProgramId = (OMX_S32)programId; in setAudioPresentation()
7598 int32_t programId = -1; in setParameters() local
7599 params->findInt32("audio-presentation-program-id", &programId); in setParameters()
7600 status_t err = setAudioPresentation(presentationId, programId); in setParameters()