OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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
227
static void makeCommand(StringBuilder rawBuilder, StringBuilder
logBuilder
, int sequenceNumber,
237
logBuilder
.append(sequenceNumber).append(' ').append(cmd);
245
logBuilder
.append(' ');
249
logBuilder
.append("[scrubbed]");
251
appendEscaped(
logBuilder
, argString);
340
final StringBuilder
logBuilder
= new StringBuilder();
343
makeCommand(rawBuilder,
logBuilder
, sequenceNumber, cmd, args);
346
final String logCmd =
logBuilder
.toString();
Completed in 339 milliseconds