HomeSort by relevance Sort by last modified time
    Searched defs:logBuilder (Results 1 - 2 of 2) sorted by null

  /frameworks/base/services/tests/servicestests/src/com/android/server/
NativeDaemonConnectorTest.java 76 final StringBuilder logBuilder = new StringBuilder();
79 logBuilder.setLength(0);
80 makeCommand(rawBuilder, logBuilder, 1, "foo", "bar", "baz");
82 assertEquals("1 foo bar baz", logBuilder.toString());
85 logBuilder.setLength(0);
86 makeCommand(rawBuilder, logBuilder, 1, "foo", new SensitiveArg("bar"), "baz");
88 assertEquals("1 foo [scrubbed] baz", logBuilder.toString());
91 logBuilder.setLength(0);
92 makeCommand(rawBuilder, logBuilder, 1, "foo", new SensitiveArg("foo bar"), "baz baz",
95 assertEquals("1 foo [scrubbed] \"baz baz\" [scrubbed]", logBuilder.toString())
    [all...]
  /frameworks/base/services/java/com/android/server/
NativeDaemonConnector.java 236 static void makeCommand(StringBuilder rawBuilder, StringBuilder logBuilder, int sequenceNumber,
246 logBuilder.append(sequenceNumber).append(' ').append(cmd);
254 logBuilder.append(' ');
258 logBuilder.append("[scrubbed]");
260 appendEscaped(logBuilder, argString);
349 final StringBuilder logBuilder = new StringBuilder();
352 makeCommand(rawBuilder, logBuilder, sequenceNumber, cmd, args);
355 final String logCmd = logBuilder.toString();

Completed in 87 milliseconds