Home
last modified time | relevance | path

Searched refs:logBuilder (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNativeDaemonConnectorTest.java76 final StringBuilder logBuilder = new StringBuilder(); in testSensitiveArgs() local
79 logBuilder.setLength(0); in testSensitiveArgs()
80 makeCommand(rawBuilder, logBuilder, 1, "foo", "bar", "baz"); in testSensitiveArgs()
82 assertEquals("1 foo bar baz", logBuilder.toString()); in testSensitiveArgs()
85 logBuilder.setLength(0); in testSensitiveArgs()
86 makeCommand(rawBuilder, logBuilder, 1, "foo", new SensitiveArg("bar"), "baz"); in testSensitiveArgs()
88 assertEquals("1 foo [scrubbed] baz", logBuilder.toString()); in testSensitiveArgs()
91 logBuilder.setLength(0); in testSensitiveArgs()
92 makeCommand(rawBuilder, logBuilder, 1, "foo", new SensitiveArg("foo bar"), "baz baz", in testSensitiveArgs()
95 assertEquals("1 foo [scrubbed] \"baz baz\" [scrubbed]", logBuilder.toString()); in testSensitiveArgs()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DTestResizingRelayoutWithAutoMeasure.java149 StringBuilder logBuilder = new StringBuilder(); in log() local
151 logBuilder.append(entry.getKey()).append(":").append(entry.getValue()).append("\n"); in log()
153 logBuilder.append("------\n"); in log()
155 logBuilder.append(entry.getKey()).append(":").append(entry.getValue()).append("\n"); in log()
157 return logBuilder.toString(); in log()
DBaseWrapContentTest.java351 StringBuilder logBuilder = new StringBuilder(); in assertMap() local
352 logBuilder.append(prefix).append("\n"); in assertMap()
353 logBuilder.append("map1").append("\n"); in assertMap()
354 logInto(map1, logBuilder); in assertMap()
355 logBuilder.append("map2").append("\n"); in assertMap()
356 logInto(map2, logBuilder); in assertMap()
357 final String log = logBuilder.toString(); in assertMap()
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonConnector.java326 static void makeCommand(StringBuilder rawBuilder, StringBuilder logBuilder, int sequenceNumber, in makeCommand() argument
336 logBuilder.append(sequenceNumber).append(' ').append(cmd); in makeCommand()
344 logBuilder.append(' '); in makeCommand()
348 logBuilder.append("[scrubbed]"); in makeCommand()
350 appendEscaped(logBuilder, argString); in makeCommand()
473 final StringBuilder logBuilder = new StringBuilder(); in executeForList() local
476 makeCommand(rawBuilder, logBuilder, sequenceNumber, cmd, args); in executeForList()
479 final String logCmd = logBuilder.toString(); in executeForList()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java298 StringBuilder logBuilder = new StringBuilder(); in onTimeChanged() local
299 logBuilder.append("Time changed by "); in onTimeChanged()
300 TimeUtils.formatDuration(timeDiffMillis, logBuilder); in onTimeChanged()
301 logBuilder.append("."); in onTimeChanged()
334 logBuilder.append(" files deleted: ").append(filesDeleted); in onTimeChanged()
335 logBuilder.append(" files moved: ").append(filesMoved); in onTimeChanged()
336 Slog.i(TAG, logBuilder.toString()); in onTimeChanged()