Lines Matching refs:sb
63 StringBuilder sb = new StringBuilder(); in formatBytes() local
65 sb.append(String.format(" %02X", data[offset + i])); in formatBytes()
67 return sb.toString(); in formatBytes()
71 StringBuilder sb = new StringBuilder(); in formatMessage() local
74 sb.append(getName(status)).append("("); in formatMessage()
79 sb.append((channel + 1)).append(", "); in formatMessage()
83 sb.append(", "); in formatMessage()
85 sb.append(data[offset++]); in formatMessage()
87 sb.append(")"); in formatMessage()
88 return sb.toString(); in formatMessage()
92 StringBuilder sb = new StringBuilder(); in formatDeviceInfo() local
97 sb.append(key).append(" = ").append(value).append('\n'); in formatDeviceInfo()
100 sb.append((port.getType() == PortInfo.TYPE_INPUT) ? "input" in formatDeviceInfo()
102 sb.append("[").append(port.getPortNumber()).append("] = \"").append(port.getName() in formatDeviceInfo()
106 return sb.toString(); in formatDeviceInfo()