Home
last modified time | relevance | path

Searched refs:errorMessage (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DSoftAssert.java57 String errorMessage = "At time = " + eventTimeInNs + " ns, " + message + in assertTrue() local
60 Log.e(mTag, errorMessage); in assertTrue()
61 mErrorList.add(errorMessage); in assertTrue()
120 String errorMessage = "(Test: FAIL) " + message; in assertOrWarnTrue() local
121 Log.i(mTag, errorMessage); in assertOrWarnTrue()
123 mErrorList.add(errorMessage); in assertOrWarnTrue()
125 failAsWarning(mTag, errorMessage); in assertOrWarnTrue()
/cts/tests/tests/widget/src/android/widget/cts/
DPositionTesterContextMenuListener.java35 private String errorMessage; field in PositionTesterContextMenuListener
54 errorMessage = null; in onCreateContextMenu()
94 errorMessage = String.format(message + " (%d vs %d", expected, actual); in areEqual()
102 errorMessage = message; in isTrue()
109 return errorMessage; in getErrorMessage()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestIlogb.java80 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloatInt() local
81 boolean valid = errorMessage == null; in verifyResultsIlogbFloatInt()
91 message.append(errorMessage); in verifyResultsIlogbFloatInt()
141 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloat2Int2() local
142 boolean valid = errorMessage == null; in verifyResultsIlogbFloat2Int2()
152 message.append(errorMessage); in verifyResultsIlogbFloat2Int2()
202 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloat3Int3() local
203 boolean valid = errorMessage == null; in verifyResultsIlogbFloat3Int3()
213 message.append(errorMessage); in verifyResultsIlogbFloat3Int3()
263 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloat4Int4() local
[all …]
DTestRemquo.java98 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloatFloatIntFloat() local
99 boolean valid = errorMessage == null; in verifyResultsRemquoFloatFloatIntFloat()
115 message.append(errorMessage); in verifyResultsRemquoFloatFloatIntFloat()
181 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloat2Float2Int2Float2() local
182 boolean valid = errorMessage == null; in verifyResultsRemquoFloat2Float2Int2Float2()
198 message.append(errorMessage); in verifyResultsRemquoFloat2Float2Int2Float2()
264 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloat3Float3Int3Float3() local
265 boolean valid = errorMessage == null; in verifyResultsRemquoFloat3Float3Int3Float3()
281 message.append(errorMessage); in verifyResultsRemquoFloat3Float3Int3Float3()
347 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloat4Float4Int4Float4() local
[all …]
DTestNativeTan.java366 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalfHalf() local
367 boolean valid = errorMessage == null; in verifyResultsNativeTanHalfHalf()
381 message.append(errorMessage); in verifyResultsNativeTanHalfHalf()
434 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalf2Half2() local
435 boolean valid = errorMessage == null; in verifyResultsNativeTanHalf2Half2()
449 message.append(errorMessage); in verifyResultsNativeTanHalf2Half2()
502 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalf3Half3() local
503 boolean valid = errorMessage == null; in verifyResultsNativeTanHalf3Half3()
517 message.append(errorMessage); in verifyResultsNativeTanHalf3Half3()
570 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalf4Half4() local
[all …]
DTestNativeExpm1.java366 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1HalfHalf() local
367 boolean valid = errorMessage == null; in verifyResultsNativeExpm1HalfHalf()
381 message.append(errorMessage); in verifyResultsNativeExpm1HalfHalf()
434 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1Half2Half2() local
435 boolean valid = errorMessage == null; in verifyResultsNativeExpm1Half2Half2()
449 message.append(errorMessage); in verifyResultsNativeExpm1Half2Half2()
502 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1Half3Half3() local
503 boolean valid = errorMessage == null; in verifyResultsNativeExpm1Half3Half3()
517 message.append(errorMessage); in verifyResultsNativeExpm1Half3Half3()
570 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1Half4Half4() local
[all …]
DTestNativeTanpi.java366 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalfHalf() local
367 boolean valid = errorMessage == null; in verifyResultsNativeTanpiHalfHalf()
381 message.append(errorMessage); in verifyResultsNativeTanpiHalfHalf()
434 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalf2Half2() local
435 boolean valid = errorMessage == null; in verifyResultsNativeTanpiHalf2Half2()
449 message.append(errorMessage); in verifyResultsNativeTanpiHalf2Half2()
502 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalf3Half3() local
503 boolean valid = errorMessage == null; in verifyResultsNativeTanpiHalf3Half3()
517 message.append(errorMessage); in verifyResultsNativeTanpiHalf3Half3()
570 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalf4Half4() local
[all …]
DTestLgamma.java371 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloatIntFloat() local
372 boolean valid = errorMessage == null; in verifyResultsLgammaFloatIntFloat()
385 message.append(errorMessage); in verifyResultsLgammaFloatIntFloat()
444 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloat2Int2Float2() local
445 boolean valid = errorMessage == null; in verifyResultsLgammaFloat2Int2Float2()
458 message.append(errorMessage); in verifyResultsLgammaFloat2Int2Float2()
517 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloat3Int3Float3() local
518 boolean valid = errorMessage == null; in verifyResultsLgammaFloat3Int3Float3()
531 message.append(errorMessage); in verifyResultsLgammaFloat3Int3Float3()
590 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloat4Int4Float4() local
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DModuleListener.java133 public void testRunFailed(String errorMessage) { in testRunFailed() argument
134 CLog.d("ModuleListener.testRunFailed(%s)", errorMessage); in testRunFailed()
135 mListener.testRunFailed(errorMessage); in testRunFailed()
DConsoleReporter.java137 public void testRunFailed(String errorMessage) { in testRunFailed() argument
138 logMessage(errorMessage); in testRunFailed()
DResultReporter.java362 public void testRunFailed(String errorMessage) { in testRunFailed() argument
/cts/tools/dex-tools/test/dex/reader/util/
DJavaSourceToDexUtil.java97 StringBuilder errorMessage = new StringBuilder(); in compileToByteCode() local
99 errorMessage.append(dia); in compileToByteCode()
101 throw new IllegalStateException(errorMessage.toString()); in compileToByteCode()
/cts/tests/signature/src/android/signature/cts/
DResultObserver.java29 void notifyFailure(FailureType type, String name, String errorMessage); in notifyFailure() argument
DJDiffClassDescription.java89 public void notifyFailure(FailureType type, String name, String errorMessage) { in JDiffClassDescription()
995 private void logMismatchInterfaceSignature(String classFullName, String errorMessage) { in logMismatchInterfaceSignature() argument
999 errorMessage); in logMismatchInterfaceSignature()
1003 errorMessage); in logMismatchInterfaceSignature()
DSignatureTest.java84 public void notifyFailure(FailureType type, String name, String errorMessage) { in notifyFailure() argument
91 mErrorString.append(errorMessage); in notifyFailure()
/cts/tests/deviceadmin/uninstalltest/src/android/devicepolicy/cts/uiautomatertest/
DDeviceAdminUninstallTest.java156 String errorMessage = "No exception in UI Automation"; in automateUninstallThroughUi() local
172 errorMessage = generateStackTrace(exc); in automateUninstallThroughUi()
175 + errorMessage, packageExists()); in automateUninstallThroughUi()
/cts/tests/app/src/android/app/cts/
DServiceTest.java189 String errorMessage = null; in assertNotification() local
191 errorMessage = null; in assertNotification()
202 errorMessage = String.format("Wrong title for notification #%d: " in assertNotification()
204 Log.w(TAG, errorMessage); in assertNotification()
214 if (errorMessage != null) { in assertNotification()
215 fail(errorMessage); in assertNotification()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DNoOpTestInvocationListener.java106 public void testRunFailed(String errorMessage) {} in testRunFailed() argument
/cts/tests/tests/animation/src/android/animation/cts/
DValueAnimatorTest.java321 assertTrue(errorMessage(fractions), fractions[j + 1] >= fractions[j]); in testGetAnimatedFraction()
332 assertTrue(errorMessage(animatedValues), animatedValues[j + 1] >= animatedValues[j]); in testGetAnimatedValue()
344 assertTrue(errorMessage(animatedValues), animatedValues[j + 1] >= animatedValues[j]); in testGetAnimatedValue_PropertyName()
476 private String errorMessage(float[] values) { in errorMessage() method in ValueAnimatorTest
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java421 String errorMessage) throws DeviceNotAvailableException { in setDeviceAdminExpectingFailure() argument
423 if (!commandOutput.contains(errorMessage)) { in setDeviceAdminExpectingFailure()
424 fail(commandOutput + " expected to contain \"" + errorMessage + "\""); in setDeviceAdminExpectingFailure()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java358 ActivityInfo expectedForwarderActivityInfo, String errorMessage, boolean canResolve) { in checkForIntentsNotHandled() argument
363 Log.e(TAG, intent + " " + errorMessage); in checkForIntentsNotHandled()
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java127 public void onError(String errorMessage) {
128 fail(errorMessage);
261 public void onError(String errorMessage) { in doTestRenderingOutput()
262 fail(errorMessage); in doTestRenderingOutput()
474 public void onError(String errorMessage); in onError() argument
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java374 public void abortTest(TestIdentifier testId, String errorMessage) { in abortTest() argument
377 CLog.i("Test %s aborted with message %s", testId, errorMessage); in abortTest()
381 result.errorMessages.put(mRunConfig, errorMessage); in abortTest()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DCtsXmlResultReporter.java510 public void testRunFailed(String errorMessage) { in testRunFailed() argument