/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/ |
D | LayersTraceEntryTest.kt | 56 val msg = "Visible Layers:\n" + visibleLayers.joinToString("\n") { "\t" + it.name } in canParseVisibleLayersLauncher() constant 57 Truth.assertWithMessage(msg).that(visibleLayers).hasSize(6) in canParseVisibleLayersLauncher() 58 Truth.assertThat(msg).contains("ScreenDecorOverlay#0") in canParseVisibleLayersLauncher() 59 Truth.assertThat(msg).contains("ScreenDecorOverlayBottom#0") in canParseVisibleLayersLauncher() 60 Truth.assertThat(msg).contains("NavigationBar0#0") in canParseVisibleLayersLauncher() 61 Truth.assertThat(msg).contains("ImageWallpaper#0") in canParseVisibleLayersLauncher() 62 Truth.assertThat(msg).contains("StatusBar#0") in canParseVisibleLayersLauncher() 63 Truth.assertThat(msg).contains("NexusLauncherActivity#0") in canParseVisibleLayersLauncher() 74 val msg = "Visible Layers:\n" + visibleLayers.joinToString("\n") { "\t" + it.name } in canParseVisibleLayersSplitScreen() constant 75 Truth.assertWithMessage(msg).that(visibleLayers).hasSize(7) in canParseVisibleLayersSplitScreen() [all …]
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/ |
D | UiTimeoutException.java | 28 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()
|
D | AccountException.java | 28 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()
|
D | UnknownUiException.java | 30 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()
|
/platform_testing/libraries/flag-helpers/junit/src_util/android/platform/test/flag/util/ |
D | FlagSetException.java | 21 public FlagSetException(String flag, String msg) { in FlagSetException() argument 22 super(String.format("Flag %s set error: %s", flag, msg)); in FlagSetException() 29 public FlagSetException(String flag, String msg, Throwable cause) { in FlagSetException() argument 30 super(String.format("Flag %s set error: %s", flag, msg), cause); in FlagSetException()
|
D | FlagReadException.java | 21 public FlagReadException(String flag, String msg) { in FlagReadException() argument 22 super(String.format("Flag %s read error: %s", flag, msg)); in FlagReadException() 25 public FlagReadException(String flag, String msg, Throwable cause) { in FlagReadException() argument 26 super(String.format("Flag %s read error: %s", flag, msg), cause); in FlagReadException()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | Utils.kt | 53 msg: String, in notifyRunnerProgress() 56 notifyRunnerProgress(scenario.key, msg, instrumentation) in notifyRunnerProgress() 61 msg: String, in notifyRunnerProgress() 64 Log.d(FLICKER_RUNNER_TAG, "$scenarioName - $msg") in notifyRunnerProgress() 66 results.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "$msg\n") in notifyRunnerProgress()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/exceptions/ |
D | MissingUiElementException.java | 21 public MissingUiElementException(String msg) { in MissingUiElementException() argument 22 super(msg); in MissingUiElementException()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | BusinessLogic.java | 137 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/ |
D | ConditionalIgnoreRule.java | 39 String msg = in apply() local 45 throw new IllegalArgumentException(String.format(msg, conditionType.getName())); in apply()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceTracesCollector.kt | 70 private fun <T : Any> reportErrorsBlock(msg: String, block: () -> T): T { in reportErrorsBlock() 74 Log.e(LOG_TAG, msg, e) in reportErrorsBlock()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | ProcessStatusTracker.java | 164 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/ |
D | RootcanalUtils.java | 474 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/health/rules/src/android/platform/test/rule/ |
D | DeviceTypeRule.kt | 53 val msg = in getAnnotationClearly() constant 56 throw RuntimeException(msg) in getAnnotationClearly()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/ |
D | WindowManagerStateHelper.kt | 115 .onLog { msg, isError -> in getWindowRegion() method 116 lastMessage = msg in getWindowRegion() 118 Log.e(LOG_TAG, msg) in getWindowRegion() 120 Log.d(LOG_TAG, msg) in getWindowRegion()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ |
D | CommonUtils.java | 80 public static void println(String msg) { in println() argument 82 streamResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, msg + "\n"); in println()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityScannerHelper.java | 198 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/ |
D | TvLauncherStrategy.java | 118 TvLauncherUnsupportedOperationException(String msg) { in TvLauncherUnsupportedOperationException() argument 119 super(msg); in TvLauncherUnsupportedOperationException()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | TvLauncherStrategy.java | 131 TvLauncherUnsupportedOperationException(String msg) { in TvLauncherUnsupportedOperationException() argument 132 super(msg); in TvLauncherUnsupportedOperationException()
|