Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 21 of 21) sorted by relevance

/platform_testing/libraries/flicker/src/android/tools/common/
DLoggerBuilder.kt20 private var onV: (tag: String, msg: String) -> Unit = { tag, msg -> println("(V) $tag $msg") } in <lambda>() method
21 private var onD: (tag: String, msg: String) -> Unit = { tag, msg -> println("(D) $tag $msg") } in <lambda>() method
22 private var onI: (tag: String, msg: String) -> Unit = { tag, msg -> println("(I) $tag $msg") } in <lambda>() method
23 private var onW: (tag: String, msg: String) -> Unit = { tag, msg -> println("(W) $tag $msg") } in <lambda>() method
24 private var onE: (tag: String, msg: String, error: Throwable?) -> Unit = { tag, msg, error -> in <lambda>() method
25 println("(e) $tag $msg $error") in <lambda>()
37 fun setV(predicate: (tag: String, msg: String) -> Unit): LoggerBuilder = apply { in <lambda>()
41 fun setD(predicate: (tag: String, msg: String) -> Unit): LoggerBuilder = apply { in <lambda>()
45 fun setI(predicate: (tag: String, msg: String) -> Unit): LoggerBuilder = apply { in <lambda>()
49 fun setW(predicate: (tag: String, msg: String) -> Unit): LoggerBuilder = apply { in <lambda>()
[all …]
DConsoleLogger.kt20 override fun v(tag: String, msg: String) = println("(V) $tag $msg") in v()
22 override fun d(tag: String, msg: String) = println("(D) $tag $msg") in v()
24 override fun i(tag: String, msg: String) = println("(I) $tag $msg") in v()
26 override fun w(tag: String, msg: String) = println("(W) $tag $msg") in v()
28 override fun e(tag: String, msg: String, error: Throwable?) { in v()
29 println("(e) $tag $msg $error") in v()
DILogger.kt21 fun v(tag: String, msg: String)
22 fun d(tag: String, msg: String)
23 fun i(tag: String, msg: String)
24 fun w(tag: String, msg: String)
25 fun e(tag: String, msg: String, error: Throwable? = null)
/platform_testing/libraries/flicker/src/android/tools/device/
DAndroidLogger.kt24 override fun v(tag: String, msg: String) { in v()
25 Log.v(tag, msg) in v()
28 override fun d(tag: String, msg: String) { in d()
29 Log.d(tag, msg) in d()
32 override fun i(tag: String, msg: String) { in i()
33 Log.i(tag, msg) in i()
36 override fun w(tag: String, msg: String) { in w()
37 Log.w(tag, msg) in w()
40 override fun e(tag: String, msg: String, error: Throwable?) { in e()
41 Log.e(tag, msg, error) in e()
/platform_testing/libraries/flicker/test/src/android/tools/common/traces/surfaceflinger/
DLayersTraceEntryTest.kt73 val msg = "Visible Layers:\n" + visibleLayers.joinToString("\n") { "\t" + it.name } in canParseVisibleLayersLauncher() constant
74 Truth.assertWithMessage(msg).that(visibleLayers).asList().hasSize(6) in canParseVisibleLayersLauncher()
75 Truth.assertThat(msg).contains("ScreenDecorOverlay#0") in canParseVisibleLayersLauncher()
76 Truth.assertThat(msg).contains("ScreenDecorOverlayBottom#0") in canParseVisibleLayersLauncher()
77 Truth.assertThat(msg).contains("NavigationBar0#0") in canParseVisibleLayersLauncher()
78 Truth.assertThat(msg).contains("ImageWallpaper#0") in canParseVisibleLayersLauncher()
79 Truth.assertThat(msg).contains("StatusBar#0") in canParseVisibleLayersLauncher()
80 Truth.assertThat(msg).contains("NexusLauncherActivity#0") in canParseVisibleLayersLauncher()
92 val msg = "Visible Layers:\n" + visibleLayers.joinToString("\n") { "\t" + it.name } in canParseVisibleLayersSplitScreen() constant
93 Truth.assertWithMessage(msg).that(visibleLayers).asList().hasSize(7) in canParseVisibleLayersSplitScreen()
[all …]
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DUnknownUiException.java30 public UnknownUiException(String msg) { in UnknownUiException() argument
31 super(msg); in UnknownUiException()
34 public UnknownUiException(String msg, Throwable cause) { in UnknownUiException() argument
35 super(msg, cause); in UnknownUiException()
DUiTimeoutException.java28 public UiTimeoutException(String msg) { in UiTimeoutException() argument
29 super(msg); in UiTimeoutException()
32 public UiTimeoutException(String msg, Throwable cause) { in UiTimeoutException() argument
33 super(msg, cause); in UiTimeoutException()
DAccountException.java28 public AccountException(String msg) { in AccountException() argument
29 super(msg); in AccountException()
32 public AccountException(String msg, Throwable cause) { in AccountException() argument
33 super(msg, cause); in AccountException()
/platform_testing/libraries/flicker/test/src/android/tools/common/
DLoggerBuilderTest.kt30 .setV { tag, msg -> in <lambda>() method
32 actualMsg = msg in <lambda>()
50 .setD { tag, msg -> in <lambda>() method
52 actualMsg = msg in <lambda>()
70 .setI { tag, msg -> in <lambda>() method
72 actualMsg = msg in <lambda>()
90 .setW { tag, msg -> in <lambda>() method
92 actualMsg = msg in <lambda>()
111 .setE { tag, msg, error -> in <lambda>() method
113 actualMsg = msg in <lambda>()
[all …]
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/exceptions/
DMissingUiElementException.java21 public MissingUiElementException(String msg) { in MissingUiElementException() argument
22 super(msg); in MissingUiElementException()
/platform_testing/libraries/flicker/src/android/tools/device/flicker/legacy/runner/
DUtils.kt48 internal fun notifyRunnerProgress(scenario: Scenario, msg: String) { in notifyRunnerProgress()
49 Logger.d(FLICKER_RUNNER_TAG, "${scenario.key} - $msg") in notifyRunnerProgress()
51 results.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "$msg\n") in notifyRunnerProgress()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogic.java137 StringBuilder msg = new StringBuilder(""); in throwAggregatedException() local
138 msg.append(String.format("Test %s for cases: ", (failed) ? "failed" : "skipped")); in throwAggregatedException()
139 msg.append(Arrays.toString(descriptions)); in throwAggregatedException()
140 msg.append("\nReasons include:"); in throwAggregatedException()
143 msg.append(String.format("\nMessage [%s]: %s", description, re.getMessage())); in throwAggregatedException()
147 msg.append(String.format("\nStack Trace: %s", sw.toString())); in throwAggregatedException()
151 throw new RuntimeException(msg.toString()); in throwAggregatedException()
153 throw new AssumptionViolatedException(msg.toString()); in throwAggregatedException()
/platform_testing/libraries/junit-rules/src/
DConditionalIgnoreRule.java39 String msg = in apply() local
45 throw new IllegalArgumentException(String.format(msg, conditionType.getName())); in apply()
/platform_testing/libraries/flicker/src/android/tools/device/flicker/
DFlickerServiceTracesCollector.kt83 private fun <T : Any> reportErrorsBlock(msg: String, block: () -> T): T { in reportErrorsBlock()
87 Logger.e(LOG_TAG, msg, e) in reportErrorsBlock()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DProcessStatusTracker.java164 String msg = String.format("Process %s has died.", d.processName); in verifyRunningProcess() local
165 throw new AuptTerminator(msg); in verifyRunningProcess()
168 String msg = String.format("Process %s restarted: %d -> %d", d.processName, in verifyRunningProcess() local
170 throw new AuptTerminator(msg); in verifyRunningProcess()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DRootcanalUtils.java474 ByteArrayOutputStream msg = new ByteArrayOutputStream(); in sendTestChannelCommand() local
475 msg.write(cmd.length()); in sendTestChannelCommand()
476 msg.write(cmd.getBytes("ASCII")); in sendTestChannelCommand()
477 msg.write(args.length); in sendTestChannelCommand()
479 msg.write(arg.length()); in sendTestChannelCommand()
480 msg.write(arg.getBytes("ASCII")); in sendTestChannelCommand()
483 rootcanalTestChannel.getOutputStream().write(msg.toByteArray()); in sendTestChannelCommand()
/platform_testing/libraries/flicker/src/android/tools/device/traces/parsers/
DWindowManagerStateHelper.kt116 .onLog { msg, isError -> in getWindowRegion() method
117 lastMessage = msg in getWindowRegion()
119 Logger.e(LOG_TAG, msg) in getWindowRegion()
121 Logger.d(LOG_TAG, msg) in getWindowRegion()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DCommonUtils.java79 public static void println(String msg) { in println() argument
81 streamResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, msg + "\n"); in println()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java198 UiObject2 msg = mDevice.wait(Until.findObject( in initialSetups() local
200 if (msg != null) { in initialSetups()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DTvLauncherStrategy.java118 TvLauncherUnsupportedOperationException(String msg) { in TvLauncherUnsupportedOperationException() argument
119 super(msg); in TvLauncherUnsupportedOperationException()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DTvLauncherStrategy.java131 TvLauncherUnsupportedOperationException(String msg) { in TvLauncherUnsupportedOperationException() argument
132 super(msg); in TvLauncherUnsupportedOperationException()