Home
last modified time | relevance | path

Searched refs:failure (Results 1 – 25 of 29) 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/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/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java230 public void testFailure(Failure failure) throws Exception { in testFailure() argument
232 if (failure.getException() instanceof MultiConstellationNotSupportedException) { in testFailure()
234 mTestsResults.append(failure.getException()); in testFailure()
238 + failure.getDescription().getMethodName() in testFailure()
239 + "\n\n Error: " + failure.toString() + "\n"); in testFailure()
243 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure() argument
/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/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() argument
917 mFailure = failure; in failure()
/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/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseInstallMultiple.java125 void runExpectingFailure(String failure) throws DeviceNotAvailableException { in runExpectingFailure() argument
126 run(false, failure); in runExpectingFailure()
129 private void run(boolean expectingSuccess, String failure) throws DeviceNotAvailableException { in run() argument
195 if (failure == null) { in run()
202 TestCase.assertTrue(result, result.contains(failure)); in run()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java157 public void testFailure(Failure failure) { in testFailure() argument
163 setTestResult(failure.getDescription().getMethodName(), in testFailure()
168 String failureMessage = failure.getMessage(); in testFailure()
169 String failureTrace = failure.getTrace(); in testFailure()
185 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/
DTestStepBase.java133 protected void appendFailureDetails(String failure) { in appendFailureDetails() argument
134 String details = String.format("Failure: %s", failure); in appendFailureDetails()
/cts/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java161 for (String failure: failures) { in testDumpProtected()
162 msg.append(failure).append('\n'); in testDumpProtected()
/cts/tests/tests/assist/service/src/android/assist/service/
DMainInteractionSession.java154 public void onAssistStructureFailure(Throwable failure) { in onAssistStructureFailure() argument
155 Log.e(TAG, "onAssistStructureFailure(): D'OH!!!", failure); in onAssistStructureFailure()
/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/camera/libctscamera2jni/
Dnative-camera-jni.cpp404 ACaptureRequest* /*request*/, ACameraCaptureFailure* failure) { in onCaptureFailed() argument
406 if ((obj == nullptr) || (failure == nullptr)) { in onCaptureFailed()
411 thiz->mFailedFrameNumbers.insert(failure->frameNumber); in onCaptureFailed()
416 ACaptureRequest* /*request*/, ALogicalCameraCaptureFailure* failure) { in onLogicalCameraCaptureFailed() argument
418 if ((obj == nullptr) || (failure == nullptr)) { in onLogicalCameraCaptureFailed()
421 if (failure->physicalCameraId != nullptr) { in onLogicalCameraCaptureFailed()
422 ALOGV("%s: physicalCameraId: %s", __FUNCTION__, failure->physicalCameraId); in onLogicalCameraCaptureFailed()
426 thiz->mFailedFrameNumbers.insert(failure->captureFailure.frameNumber); in onLogicalCameraCaptureFailed()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java1020 for (CaptureFailure failure : failures) { in checkForLastFrameInSequence()
1021 if (lastFrameNumber < failure.getFrameNumber()) { in checkForLastFrameInSequence()
1022 lastFrameNumber = failure.getFrameNumber(); in checkForLastFrameInSequence()
DRobustnessTest.java1430 for (CaptureFailure failure : failures) { in testAbandonRepeatingRequestSurface()
1431 if (lastFrameNumber < failure.getFrameNumber()) { in testAbandonRepeatingRequestSurface()
1432 lastFrameNumber = failure.getFrameNumber(); in testAbandonRepeatingRequestSurface()
DReprocessCaptureTest.java881 for (CaptureFailure failure : failures) { in testReprocessAbort()
882 failedRequests.add(failure.getRequest()); in testReprocessAbort()
DLogicalCameraDeviceTest.java1158 for (CaptureFailure failure : failures) { in testBasicPhysicalStreamingForCamera()
1159 String physicalCameraId = failure.getPhysicalCameraId(); in testBasicPhysicalStreamingForCamera()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
Dverify.rscript199 rsDebug("verify failure at xy", errorLoc);
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java447 CaptureFailure failure) { in onCaptureFailed() argument
449 mFailureQueue.put(failure); in onCaptureFailed()
619 CaptureFailure failure = mFailureQueue.poll(CAPTURE_RESULT_TIMEOUT_MS, in getCaptureFailures() local
621 if (failure == null) { in getCaptureFailures()
625 failures.add(failure); in getCaptureFailures()

12