/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/ |
D | TestHelperException.java | 24 public TestHelperException(String message) { in TestHelperException() argument 25 super(message); in TestHelperException() 32 public TestHelperException(String message, Throwable cause) { in TestHelperException() argument 33 super(message, cause); in TestHelperException()
|
D | MappedMultiException.java | 33 public MappedMultiException(String message, Map<Object, Throwable> throwables) { in MappedMultiException() argument 34 super(message); in MappedMultiException() 36 mMessage = message; in MappedMultiException()
|
/platform_testing/libraries/tradefed-python-lib/tradefed_py/ |
D | android_device.py | 48 def _printHostLog(self, message): argument 49 self._logging.write('%s \n' % message) 55 def __init__(self, cmd, message): argument 57 self.message = message 61 ) % (self.cmd, self.message)
|
/platform_testing/libraries/metrics-helper/tests/src/android/support/test/metricshelper/ |
D | MetricsAssertsTest.java | 90 final String message = "foo"; in testHasActionLogFalse() local 92 MetricsAsserts.assertHasActionLog(message, mReader, mOpenView); in testHasActionLogFalse() 94 assertEquals(message, e.getMessage()); in testHasActionLogFalse() 106 final String message = "foo"; in testHasVisibleLogFalse() local 108 MetricsAsserts.assertHasVisibilityLog(message, mReader, mActionView, true); in testHasVisibleLogFalse() 110 assertEquals(message, e.getMessage()); in testHasVisibleLogFalse() 122 final String message = "foo"; in testHasHiddenLogFalse() local 124 MetricsAsserts.assertHasVisibilityLog(message, mReader, mOpenView, false); in testHasHiddenLogFalse() 126 assertEquals(message, e.getMessage()); in testHasHiddenLogFalse() 154 final String message = "foo"; in testDoesNotHaveTemplateLog() local [all …]
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | ReportLog.java | 64 Metric(String source, String message, double value, ResultType type, ResultUnit unit) { in Metric() argument 65 this(source, message, new double[] { value }, type, unit); in Metric() 79 Metric(String source, String message, double[] values, ResultType type, ResultUnit unit) { in Metric() argument 87 int messageLength = message.length(); in Metric() 90 mMessage = message.substring(0, MAX_MESSAGE_LENGTH); in Metric() 92 mMessage = message; in Metric() 144 String message = parser.getAttributeValue(null, MESSAGE_ATTR); in parse() local 161 return new Metric(source, message, values, type, unit); in parse() 177 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() argument 184 public void addValues(String source, String message, double[] values, ResultType type, in addValues() argument [all …]
|
D | CommonTestUtils.java | 30 String message, long timeoutSeconds, BooleanSupplierWithThrow<E> predicate) in waitUntil() argument 40 fail(message); in waitUntil()
|
D | ITestResult.java | 56 void setMessage(String message); in setMessage() argument
|
D | TestResult.java | 91 public void setMessage(String message) { in setMessage() argument 92 mMessage = message; in setMessage()
|
/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/ |
D | MetricsAsserts.java | 38 public static void assertHasActionLog(String message, MetricsReader reader, int view) { in assertHasActionLog() argument 40 assertHasActionLog(message, new ReaderQueue(reader), view); in assertHasActionLog() 45 public static void assertHasActionLog(String message, Queue<LogMaker> queue, int view) { in assertHasActionLog() argument 49 assertTrue(message, !logs.isEmpty()); in assertHasActionLog() 55 public static void assertHasVisibilityLog(String message, MetricsReader reader, in assertHasVisibilityLog() argument 58 assertHasVisibilityLog(message, new ReaderQueue(reader), view, visible); in assertHasVisibilityLog() 64 public static void assertHasVisibilityLog(String message, Queue<LogMaker> queue, in assertHasVisibilityLog() argument 69 assertTrue(message, !logs.isEmpty()); in assertHasVisibilityLog() 100 public static void assertHasLog(String message, MetricsReader reader, LogMaker expected) { in assertHasLog() argument 102 assertHasLog(message, new ReaderQueue(reader), expected); in assertHasLog() [all …]
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/ |
D | TestCaseLogger.java | 32 String message = in testStarted() local 36 Log.d(getTag(), message); in testStarted() local 41 String message = in testFinished() local 45 Log.d(getTag(), message); in testFinished() local
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | LandscapeOrientationRule.java | 46 String message = "RemoteException when forcing landscape rotation on the device"; in starting() 47 throw new RuntimeException(message, e); in starting() 59 String message = "RemoteException when restoring natural rotation of the device"; in finished() 60 throw new RuntimeException(message, e); in finished()
|
/platform_testing/libraries/health/runners/longevity/host/src/android/host/test/longevity/listener/ |
D | RunTerminator.java | 43 protected void print(String message) { in print() argument 44 System.err.println(message); in print()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/assertions/ |
D | FlickerAssertionError.kt | 34 override val message: String constant 57 cause.cause?.message?.let { append(it) } in <lambda>() 59 cause?.message?.let { append(it) } in <lambda>()
|
D | FlickerSubject.kt | 97 fun verify(message: String): StandardSubjectBuilder = check(message)
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/ |
D | Condition.kt | 54 private var message: String = "", variable in com.android.server.wm.traces.parser.Condition 146 message: String, in waitFor() 151 val condition = Condition<T>(message, satisfier, retryLimit, retryIntervalMs) in waitFor() 196 fun <T> waitForResult(message: String, setup: (Condition<T>) -> Any): T? { in waitForResult() 197 val condition = Condition<T>(message) in waitForResult()
|
/platform_testing/libraries/junitxml/src/com/android/junitxml/ |
D | XmlRunListener.java | 197 final String message = failure.getMessage(); in formatError() local 198 if (message != null && message.length() > 0) { in formatError() 199 failureOrError.setAttribute(ATTR_FAILURE_MESSAGE, message); in formatError() 262 private void formatSkip(Description description, String message) throws Exception { in formatSkip() argument 266 if (message != null) { in formatSkip() 267 skippedElement.setAttribute(ATTR_SKIPPED_MESSAGE, message); in formatSkip()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | profile.proto | 22 message Configuration { 32 message Scenario { 40 message ExtraArg {
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/sample/ |
D | SampleTest.java | 122 String message = String.format("Failed %s", location); in failIfRequested() local 123 Log.d(LOG_TAG, message); in failIfRequested() 124 throw new RuntimeException(message); in failIfRequested()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | AutoJsonUtility.java | 442 String message = in throwJsonArrayException() local 447 throw new RuntimeException(message); in throwJsonArrayException() 452 String message = in throwJsonStringException() local 456 throw new RuntimeException(message); in throwJsonStringException() 461 String message = in throwJsonObjectException() local 466 throw new RuntimeException(message); in throwJsonObjectException() 471 String message = in throwUnknownObjectException() local 474 throw new RuntimeException(message); in throwUnknownObjectException()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | FlickerDSLTest.kt | 176 .that(e.cause?.message) in preventInvalidTagNames() 208 .that(e.message) in detectEmptyResults() 224 .that(e.message) in detectCrashedTransition() 227 .that(e.cause?.message) in detectCrashedTransition()
|
/platform_testing/libraries/audio-test-harness/proto/ |
D | audio_test_harness_service.proto | 37 message CaptureRequest {} 40 message CaptureChunk {
|
D | audio_device.proto | 24 message AudioDevice {
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/ |
D | FlickerResult.kt | 49 Truth.assertWithMessage(error?.message).that(error).isNull() in <lambda>()
|
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/ |
D | CaptureChunkStreamObserverOutputStreamTests.java | 286 String message, List<byte[]> expected, List<byte[]> actual) { in assertListsContainSameByteArrays() argument 288 String.format("Failure, Written Data Size does not match Expected: %s", message), in assertListsContainSameByteArrays() 297 "Failure, Payload at Index %d does not match Expected: %s", i, message), in assertListsContainSameByteArrays()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/windowmanager/ |
D | WindowManagerStateHelper.kt | 305 message: String in waitWindowingModeTopFocus() 306 ): Boolean = waitFor(message) { in waitWindowingModeTopFocus() 313 message: String = "", in waitFor() 315 ): Boolean = Condition.waitFor<Dump>(message, retryLimit = numRetries, in waitFor()
|