MCPcopy Index your code
hub / github.com/cSploit/android / FullReceiver

Class FullReceiver

cSploit/src/org/csploit/android/tools/Logcat.java:12–28  ·  view source on GitHub ↗

receive logcat output

Source from the content-addressed store, hash-verified

10 * receive logcat output
11 */
12 public abstract static class FullReceiver extends RawReceiver {
13
14 private final StringBuilder sb = new StringBuilder();
15
16 @Override
17 public void onNewLine(String line) {
18 sb.append(line);
19 sb.append("\n");
20 }
21
22 @Override
23 final public void onEnd(int exitValue) {
24 onLogcat(sb.toString());
25 }
26
27 public abstract void onLogcat(String logcat);
28 }
29
30 /**
31 * receive libc fatal messages from logcat

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected