Searched refs:logBuilder (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NativeDaemonConnectorTest.java | 76 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/tests/src/android/support/v7/widget/ |
D | TestResizingRelayoutWithAutoMeasure.java | 148 StringBuilder logBuilder = new StringBuilder(); in log() local 150 logBuilder.append(entry.getKey()).append(":").append(entry.getValue()).append("\n"); in log() 152 logBuilder.append("------\n"); in log() 154 logBuilder.append(entry.getKey()).append(":").append(entry.getValue()).append("\n"); in log() 156 return logBuilder.toString(); in log()
|
D | BaseWrapContentTest.java | 348 StringBuilder logBuilder = new StringBuilder(); in assertMap() local 349 logBuilder.append(prefix).append("\n"); in assertMap() 350 logBuilder.append("map1").append("\n"); in assertMap() 351 logInto(map1, logBuilder); in assertMap() 352 logBuilder.append("map2").append("\n"); in assertMap() 353 logInto(map2, logBuilder); in assertMap() 354 final String log = logBuilder.toString(); in assertMap()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 316 static void makeCommand(StringBuilder rawBuilder, StringBuilder logBuilder, int sequenceNumber, in makeCommand() argument 326 logBuilder.append(sequenceNumber).append(' ').append(cmd); in makeCommand() 334 logBuilder.append(' '); in makeCommand() 338 logBuilder.append("[scrubbed]"); in makeCommand() 340 appendEscaped(logBuilder, argString); in makeCommand() 463 final StringBuilder logBuilder = new StringBuilder(); in executeForList() local 466 makeCommand(rawBuilder, logBuilder, sequenceNumber, cmd, args); in executeForList() 469 final String logCmd = logBuilder.toString(); in executeForList()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 298 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()
|