Lines Matching defs:streamId
52 jmethodID streamId;
240 int addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface);
241 int removeStream(int deviceId, int streamId);
247 void onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded);
335 int JTvInputHal::addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) {
337 if (connections.indexOfKey(streamId) < 0) {
338 connections.add(streamId, Connection());
340 Connection& connection = connections.editValueFor(streamId);
365 if (configs[i].stream_id == streamId) {
371 ALOGE("Cannot find a config with given stream ID: %d", streamId);
406 int JTvInputHal::removeStream(int deviceId, int streamId) {
408 if (connections.indexOfKey(streamId) < 0) {
411 Connection& connection = connections.editValueFor(streamId);
427 if (mDevice->close_stream(mDevice, deviceId, streamId) != 0) {
539 void JTvInputHal::onCaptured(int deviceId, int streamId, uint32_t seq, bool succeeded) {
544 Connection& connection = connections.editValueFor(streamId);
558 streamId);
613 jlong ptr, jint deviceId, jint streamId, jobject jsurface) {
619 return tvInputHal->addOrUpdateStream(deviceId, streamId, surface);
623 jlong ptr, jint deviceId, jint streamId) {
625 return tvInputHal->removeStream(deviceId, streamId);
640 builder, gTvStreamConfigBuilderClassInfo.streamId, configs[i].stream_id);
719 gTvStreamConfigBuilderClassInfo.streamId,
721 "streamId", "(I)Landroid/media/tv/TvStreamConfig$Builder;");