Lines Matching refs:name
67 public String toString(String ioMode, String name) {
68 String ioName = ioMode + " " + name;
88 * @param name the name of the input port. Must be unique among input port names.
93 public Signature addInputPort(String name, int flags, FrameType type) {
94 addInputPort(name, new PortInfo(flags, type));
101 * @param name the name of the output port. Must be unique among output port names.
106 public Signature addOutputPort(String name, int flags, FrameType type) {
107 addOutputPort(name, new PortInfo(flags, type));
161 PortInfo getInputPortInfo(String name) {
162 PortInfo result = mInputPorts != null ? mInputPorts.get(name) : null;
166 PortInfo getOutputPortInfo(String name) {
167 PortInfo result = mOutputPorts != null ? mOutputPorts.get(name) : null;
221 private void addInputPort(String name, PortInfo portInfo) {
225 if (mInputPorts.containsKey(name)) {
226 throw new RuntimeException("Attempting to add duplicate input port '" + name + "'!");
228 mInputPorts.put(name, portInfo);
231 private void addOutputPort(String name, PortInfo portInfo) {
235 if (mOutputPorts.containsKey(name)) {
236 throw new RuntimeException("Attempting to add duplicate output port '" + name + "'!");
238 mOutputPorts.put(name, portInfo);