Lines Matching defs:PortInfo
44 private HashMap<String, PortInfo> mInputPorts = null;
45 private HashMap<String, PortInfo> mOutputPorts = null;
49 static class PortInfo {
53 public PortInfo() {
58 public PortInfo(int flags, FrameType type) {
94 addInputPort(name, new PortInfo(flags, type));
107 addOutputPort(name, new PortInfo(flags, type));
146 for (Entry<String, PortInfo> entry : mInputPorts.entrySet()) {
149 for (Entry<String, PortInfo> entry : mOutputPorts.entrySet()) {
161 PortInfo getInputPortInfo(String name) {
162 PortInfo result = mInputPorts != null ? mInputPorts.get(name) : null;
163 return result != null ? result : new PortInfo();
166 PortInfo getOutputPortInfo(String name) {
167 PortInfo result = mOutputPorts != null ? mOutputPorts.get(name) : null;
168 return result != null ? result : new PortInfo();
175 for (Entry<String, PortInfo> entry : mInputPorts.entrySet()) {
177 PortInfo portInfo = entry.getValue();
196 for (Entry<String, PortInfo> entry : mOutputPorts.entrySet()) {
198 PortInfo portInfo = entry.getValue();
213 HashMap<String, PortInfo> getInputPorts() {
217 HashMap<String, PortInfo> getOutputPorts() {
221 private void addInputPort(String name, PortInfo portInfo) {
223 mInputPorts = new HashMap<String, PortInfo>();
231 private void addOutputPort(String name, PortInfo portInfo) {
233 mOutputPorts = new HashMap<String, PortInfo>();