Home
last modified time | relevance | path

Searched refs:failure (Results 1 – 25 of 34) sorted by relevance

12

/cts/tools/utils/
Drerun.py37 for failure in parseSuite(child, parentName + child.getAttribute("name")):
38 failedCases.append(failure)
77 for failure in failedCases:
78 print " " + failure
79 for failure in failedCases:
80 [className, methodName] = failure.split('#')
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseInstallMultiple.java199 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() argument
200 run(false, failure); in runExpectingFailure()
203 private void run(boolean expectingSuccess, String failure) throws DeviceNotAvailableException { in run() argument
205 runIncremental(expectingSuccess, failure); in run()
207 runNonIncremental(expectingSuccess, failure); in run()
212 private void runNonIncremental(boolean expectingSuccess, String failure) in runNonIncremental() argument
285 if (failure == null) { in runNonIncremental()
292 TestCase.assertTrue(result, result.contains(failure)); in runNonIncremental()
296 …private void runIncremental(boolean expectingSuccess, String failure) throws DeviceNotAvailableExc… in runIncremental() argument
333 if (failure == null) { in runIncremental()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java198 public void testFailure(Failure failure) throws Exception { in testFailure() argument
201 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testFailure()
204 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure() argument
207 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testAssumptionFailure()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java119 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() argument
120 run(false, failure); in runExpectingFailure()
123 private void run(boolean expectingSuccess, String failure) throws DeviceNotAvailableException { in run() argument
177 if (failure == null) { in run()
184 TestCase.assertTrue(result, result.contains(failure)); in run()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java119 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() argument
120 run(false, failure); in runExpectingFailure()
123 private void run(boolean expectingSuccess, String failure) throws DeviceNotAvailableException { in run() argument
177 if (failure == null) { in run()
184 TestCase.assertTrue(result, result.contains(failure)); in run()
/cts/tests/tests/os/src/android/os/cts/
DMessengerTest.java198 failure(new RuntimeException("Message.arg1 is not " + MSG_ARG1 + ", it's " in handleMessage()
203 failure(new RuntimeException("Message.arg2 is not " + MSG_ARG2 + ", it's " in handleMessage()
208 failure(new RuntimeException("Message.replyTo is not me, it's " + msg.replyTo)); in handleMessage()
248 public void failure(RuntimeException failure) { in failure() argument
251 mFailure = failure; in failure()
DMessageQueueTest.java848 failure(new RuntimeException("Expected message #" + mCount + ", received #" in handleMessage()
856 failure(new RuntimeException("Message received after done, #" + msg.what)); in handleMessage()
914 public void failure(RuntimeException failure) { in failure() method in MessageQueueTest.OrderTestHelper
917 mFailure = failure; in failure()
/cts/tests/tests/jni/libjnitest/
Dmacroized_tests.c80 failure("expected " printfType " but got " printfType, \
94 return failure("could not find StaticFromNative"); in initializeVariables()
101 return failure("could not find InstanceFromNative"); in initializeVariables()
109 return failure("could not find InstanceFromNative.theOne"); in initializeVariables()
116 return failure("could not construct string"); in initializeVariables()
141 *errorMsg = failure("could not find static test method %s:%s", in findStaticMethod()
156 *errorMsg = failure("could not find instance test method %s:%s", in findInstanceMethod()
246 return failure("shouldn't happen"); in help_CallBooleanMethod()
351 return failure("shouldn't happen"); in help_CallByteMethod()
456 return failure("shouldn't happen"); in help_CallShortMethod()
[all …]
Dhelper.h50 char *failure(const char *format, ...) __attribute__((format(printf, 1, 2)));
Dhelper.c28 char *failure(const char *format, ...) { in failure() function
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java153 public void testFailure(Failure failure) { in testFailure() argument
159 setTestResult(failure.getDescription().getMethodName(), in testFailure()
164 String failureMessage = failure.getMessage(); in testFailure()
165 String failureTrace = failure.getTrace(); in testFailure()
181 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTestStepBase.java105 protected void appendFailureDetails(String failure) { in appendFailureDetails() argument
106 String details = String.format("Failure: %s", failure); in appendFailureDetails()
/cts/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java159 for (String failure: failures) { in testDumpProtected()
160 msg.append(failure).append('\n'); in testDumpProtected()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingSessionTest.java37 MbmsStreamingSession failure = MbmsStreamingSession.create( in testDuplicateSession() local
DMbmsGroupCallSessionTest.java37 MbmsGroupCallSession failure = MbmsGroupCallSession.create( in testDuplicateSession() local
DMbmsDownloadSessionTest.java44 MbmsDownloadSession failure = MbmsDownloadSession.create( in testDuplicateSession() local
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DAbstractApiTest.java119 for (String failure: expectedFailures) { in initExpectedFailures()
120 Log.d(tag, "Expected failure: \"" + failure + "\""); in initExpectedFailures()
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java182 public void onAssistStructureFailure(Throwable failure) { in onAssistStructureFailure() argument
183 Log.e(TAG, "onAssistStructureFailure(): D'OH!!!", failure); in onAssistStructureFailure()
/cts/tests/tests/media/src/android/media/cts/
DMediaFormatTest.java822 for (String failure : failures) { in logFailures()
823 Log.w(TAG, failure); in logFailures()
824 log.addValue("failure_" + i++, failure, ResultType.NEUTRAL, ResultUnit.NONE); in logFailures()
825 sb.append("[" + failure + "] "); in logFailures()
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java776 CaptureFailure failure) { in onCaptureFailed() argument
778 mFailureQueue.put(failure); in onCaptureFailed()
969 CaptureFailure failure = mFailureQueue.poll(CAPTURE_RESULT_TIMEOUT_MS, in getCaptureFailures() local
971 if (failure == null) { in getCaptureFailures()
975 failures.add(failure); in getCaptureFailures()
998 Pair<Surface, Long> failure = mBufferLostQueue.poll(CAPTURE_RESULT_TIMEOUT_MS, in getLostBuffers() local
1000 if (failure == null) { in getLostBuffers()
1004 failures.add(failure); in getLostBuffers()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureResultTest.java469 for (CaptureFailure failure : failures) { in validateCaptureResult()
470 String failedPhysicalId = failure.getPhysicalCameraId(); in validateCaptureResult()
471 Long failedFrameNumber = failure.getFrameNumber(); in validateCaptureResult()
DMultiViewTest.java1028 for (CaptureFailure failure : failures) { in checkForLastFrameInSequence()
1029 if (lastFrameNumber < failure.getFrameNumber()) { in checkForLastFrameInSequence()
1030 lastFrameNumber = failure.getFrameNumber(); in checkForLastFrameInSequence()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
Dverify.rscript199 rsDebug("verify failure at xy", errorLoc);
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp448 ACaptureRequest* /*request*/, ACameraCaptureFailure* failure) { in onCaptureFailed() argument
450 if ((obj == nullptr) || (failure == nullptr)) { in onCaptureFailed()
455 thiz->mFailedFrameNumbers.insert(failure->frameNumber); in onCaptureFailed()
460 ACaptureRequest* /*request*/, ALogicalCameraCaptureFailure* failure) { in onLogicalCameraCaptureFailed() argument
462 if ((obj == nullptr) || (failure == nullptr)) { in onLogicalCameraCaptureFailed()
465 if (failure->physicalCameraId != nullptr) { in onLogicalCameraCaptureFailed()
466 ALOGV("%s: physicalCameraId: %s", __FUNCTION__, failure->physicalCameraId); in onLogicalCameraCaptureFailed()
470 thiz->mFailedFrameNumbers.insert(failure->captureFailure.frameNumber); in onLogicalCameraCaptureFailed()

12