Lines Matching defs:config
454 for (TvStreamConfig config : connection.getConfigsLocked()) {
455 if (config.getType() == TvStreamConfig.STREAM_TYPE_BUFFER_PRODUCER) {
456 configsList.add(config);
466 public boolean captureFrame(String inputId, Surface surface, final TvStreamConfig config,
484 boolean result = hardwareImpl.startCapture(surface, config);
489 hardwareImpl.stopCapture(config);
747 public boolean setSurface(Surface surface, TvStreamConfig config)
756 // The value of config is ignored when surface == null.
765 // It's impossible to set a non-null surface with a null config.
766 if (config == null) {
770 if (mActiveConfig != null && !config.equals(mActiveConfig)) {
778 result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config);
780 mActiveConfig = config;
946 private boolean startCapture(Surface surface, TvStreamConfig config) {
951 if (surface == null || config == null) {
954 if (config.getType() != TvStreamConfig.STREAM_TYPE_BUFFER_PRODUCER) {
958 int result = mHal.addOrUpdateStream(mInfo.getDeviceId(), surface, config);
963 private boolean stopCapture(TvStreamConfig config) {
968 if (config == null) {
972 int result = mHal.removeStream(mInfo.getDeviceId(), config);