MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / error

Method error

android/src/UsbSerialPort.java:187–198  ·  view source on GitHub ↗
(String msg)

Source from the content-addressed store, hash-verified

185 }
186
187 protected void error(String msg) {
188 state = STATE_FAILED;
189
190 PortListener portListener = this.portListener;
191 if (portListener != null && safeDestruct.increment()) {
192 try {
193 portListener.portError(msg);
194 } finally {
195 safeDestruct.decrement();
196 }
197 }
198 }
199}

Callers 2

onDisconnectMethod · 0.95
onReceivedDataMethod · 0.95

Calls 3

portErrorMethod · 0.95
incrementMethod · 0.80
decrementMethod · 0.80

Tested by

no test coverage detected