/external/skqp/include/private/ |
SkAtomics.h | 41 sk_memory_order failure = sk_memory_order_seq_cst); 85 sk_memory_order failure = default_memory_order) { 86 return sk_atomic_compare_exchange(&fVal, expected, desired, success, failure); 130 sk_memory_order failure) { 132 SkASSERT(failure == sk_memory_order_relaxed || 133 failure == sk_memory_order_seq_cst || 134 failure == sk_memory_order_acquire || 135 failure == sk_memory_order_consume); 136 SkASSERT(failure <= success); 140 (std::memory_order)failure); [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractService.java | 305 IllegalStateException failure = new IllegalStateException( 307 notifyFailed(failure); 308 throw failure; 340 IllegalStateException failure = new IllegalStateException( 342 notifyFailed(failure); 343 throw failure; 513 final Throwable failure; 520 State internalState, boolean shutdownWhenStartupFinishes, @Nullable Throwable failure) { 524 checkArgument(!(failure != null ^ internalState == FAILED), 525 "A failure cause should be set if and only if the state is failed. Got %s and %s [all...] |
/art/test/106-exceptions2/src/ |
Main.java | 199 boolean failure = false; 207 failure = true; 215 failure = true; 223 failure = true; 231 failure = true; 233 System.exit(failure ? 1 : 0);
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
BaseDroidDriverTest.java | 38 * instead of crash. Also supports other features, including taking screenshot on failure. It is NOT 105 fail("Skipped due to prior failure"); 110 * Hook for handling failure, for example, taking a screenshot. 112 protected void onFailure(Throwable failure) throws Throwable { 113 // If skipRemainingTests is true, the failure has already been reported. 117 if (shouldSkipRemainingTests(failure)) { 123 failure = uncaughtException; 127 if (failure instanceof OutOfMemoryError) { 136 // throw the original failure. 138 if (e instanceof OutOfMemoryError && !(failure instanceof OutOfMemoryError)) [all...] |
/external/testng/src/main/java/org/testng/internal/ |
TestMethodWithDataProviderMethodWorker.java | 72 final Invoker.FailureContext failure = new Invoker.FailureContext(); local 73 failure.count = m_failureCount; 85 failure)); 88 m_failureCount = failure.count; 89 if (failure.instances.isEmpty()) { 92 for (Object instance : failure.instances) { 106 // If we have a failure, skip all the
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
JUnit4ResultForwarder.java | 26 import org.junit.runner.notification.Failure; 49 public void testFailure(Failure failure) throws Exception { 50 Description description = failure.getDescription(); 53 mListener.testRunFailed(String.format("Failed with trace: %s", failure.getTrace())); 56 mTestCaseFailures.add(failure.getException()); 60 public void testAssumptionFailure(Failure failure) { 61 mTestCaseFailures.add(failure.getException()); 119 * Handle all the failure received from the JUnit4 tests, if a singl [all...] |
/art/test/107-int-math2/src/ |
Main.java | 897 boolean failure = false; 906 failure = true; 913 failure = true; 920 failure = true; 927 failure = true; 934 failure = true; 941 failure = true; 948 failure = true; 955 failure = true; 962 failure = true [all...] |
/art/test/105-invoke/src/ |
Main.java | 90 boolean failure = false; 96 failure = true; 98 System.exit(failure ? 1 : 0);
|
/external/junit/src/main/java/junit/framework/ |
JUnit4TestAdapterCache.java | 9 import org.junit.runner.notification.Failure; 48 public void testFailure(Failure failure) throws Exception { 49 result.addError(asTest(failure.getDescription()), failure.getException());
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
5-2.c | 54 int unresolved = 0, failure = 0; local 83 failure = 1; 95 if (failure == 1 || blocking == 1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
2-1.c | 43 int sig, i, failure = 0, timeelapsed, delta; local 124 failure = 1; 136 if (failure) {
|
9-1.c | 46 int failure = 0; local 117 failure = 1; 126 if (failure) {
|
9-2.c | 53 int failure = 0; local 131 failure = 1; 138 failure = 1; 148 if (failure) {
|
/external/mockito/src/main/java/org/mockito/internal/junit/util/ |
JUnitFailureHacker.java | 8 import org.junit.runner.notification.Failure; 14 public void appendWarnings(Failure failure, String warnings) { 19 Throwable throwable = (Throwable) getInternalState(failure, "fThrownException"); 21 String newMessage = "contains both: actual test failure *and* Mockito warnings.\n" + 22 warnings + "\n *** The actual failure is because of: ***\n"; 26 setInternalState(failure, "fThrownException", e);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MessengerTest.java | 75 failure(new RuntimeException( method 80 failure(new RuntimeException( method 85 failure(new RuntimeException( method
|
IdleHandlerTest.java | 77 failure(new RuntimeException( 113 failure(new RuntimeException( 148 failure(new RuntimeException( 184 failure(new RuntimeException(
|
/packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/ |
RepeatFailureDetector.java | 31 * Listens for repeated capture failure and invokes recovery strategies, 43 * Indicates the number of consecutive times repeat failure has been 53 * The frame number of the failure which resulted in a recovery strategy 68 * consider a "repeat failure". 70 * handle (in other ways) a repeat failure. Strategies are 109 public void onFailed(CaptureFailure failure) { 110 if (failure.getReason() == CaptureFailure.REASON_ERROR) { 116 mFailureFrameNumber = failure.getFrameNumber(); 118 mLog.e(String.format("onCaptureFailed() REASON_ERROR: Repeat failure " +
|
/external/autotest/client/deps/lansim/src/ |
run_unittests | 28 -f force running all unit test modules, regardless of failure
|
/external/icu/icu4c/source/test/intltest/ |
msfmrgts.h | 51 UBool failure(UErrorCode status, const char* msg, UBool possibleDataError=FALSE);
|
/external/mockito/src/main/java/org/mockito/ |
MockitoSession.java | 131 * When a {@linkplain Throwable failure} is specified, certain checks are disabled to avoid 139 * @param failure the exception that caused the test to fail; passing {@code null} is permitted 144 void finishMocking(Throwable failure);
|
/external/vogar/test/vogar/target/junit3/ |
TestRunnerJUnit3Test.java | 131 .failure("testSimple5", 185 .failure("testFail", 188 .failure("testThrowException", "java.lang.RuntimeException: exception\n") 199 .failure("testSuccess", "" 229 .failure("test", "java.util.concurrent.TimeoutException\n") 270 .failure(methodName, 300 .failure("test", "java.util.concurrent.TimeoutException\n") 328 .failure("suite", 365 .failure("suite", ""
|
/external/wpa_supplicant_8/src/eap_server/ |
tncs.h | 41 int *failure);
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
CropAndSetWallpaperTask.java | 78 boolean failure = false; 93 failure = true; 97 failure = true; 99 return !failure; // True if any of the operations failed
|
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
split_i386_3.s | 1 # split_i386_3.s: i386 specific, adjustment failure
|
split_i386_4.s | 1 # split_i386_4.s: i386 specific, permitted adjustment failure
|