/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
DesugarTryWithResourcesFunctionalTest.java | 37 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(false); local 38 assertThat(suppressed).isEmpty(); 45 assertThat(trace.toLowerCase()).contains("suppressed"); 47 assertThat(trace.toLowerCase()).contains("suppressed"); 49 assertThat(trace.toLowerCase()).doesNotContain("suppressed"); 57 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(true); local 60 assertThat(suppressed).hasLength(1); 62 assertThat(suppressed).hasLength(1); 64 assertThat(suppressed).isEmpty();
|
TryWithResourcesRewriterTest.java | 87 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(false); local 88 assertThat(suppressed).isEmpty(); 91 Throwable[] suppressed = local 96 assertThat(suppressed).isEmpty(); 107 assertThat(trace.toLowerCase()).contains("suppressed"); 114 assertThat(trace.toLowerCase()).contains("suppressed"); 116 assertThat(trace.toLowerCase()).contains("suppressed"); 118 assertThat(trace.toLowerCase()).doesNotContain("suppressed"); 131 Throwable[] suppressed = ClassUsingTryWithResources.checkSuppressedExceptions(true); local 132 assertThat(suppressed).hasLength(1) 135 Throwable[] suppressed = local [all...] |
/libcore/dalvik/test-rules/src/test/java/libcore/dalvik/system/ |
CloseGuardSupportTest.java | 129 + " see suppressed exceptions for details", 178 Throwable[] suppressed = exception.getSuppressed(); local 179 assertEquals("Suppressed count", 1, suppressed.length); 180 exception = suppressed[0];
|
/external/desugar/java/com/google/devtools/build/android/desugar/runtime/ |
ThrowableExtension.java | 83 public static void addSuppressed(Throwable receiver, Throwable suppressed) { 84 STRATEGY.addSuppressed(receiver, suppressed); 176 * exception in terms of suppressed exceptions and stack trace printing. 182 public abstract void addSuppressed(Throwable receiver, Throwable suppressed); 197 public void addSuppressed(Throwable receiver, Throwable suppressed) { 198 receiver.addSuppressed(suppressed); 222 /** This strategy mimics the behavior of suppressed exceptions with a map. */ 225 static final String SUPPRESSED_PREFIX = "Suppressed: "; 229 * Suppress an exception. If the exception to be suppressed is {@receiver} or {@null}, an 233 public void addSuppressed(Throwable receiver, Throwable suppressed) { [all...] |
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/ |
ConcurrentWeakIdentityHashMapTest.java | 107 Exception suppressed = new ExceptionWithLatch("suppressed-" + j + "-main-" + i, latch); local 108 suppressedList.add(suppressed); 221 final Throwable suppressed; field in class:ConcurrentWeakIdentityHashMapTest.Pair 223 public Pair(Throwable throwable, Throwable suppressed) { 225 this.suppressed = suppressed; 256 List<Throwable> suppressed = map.get(pair.throwable, true); local 257 System.out.printf("add suppressed %s to %s\n", pair.suppressed, pair.throwable) [all...] |
ThrowableExtensionTest.java | 193 * <p>suppressed exceptions are printed only once. 199 FileNotFoundException suppressed = new FileNotFoundException(); local 200 strategy.addSuppressed(receiver, suppressed); 211 FileNotFoundException suppressed = new FileNotFoundException(); local 212 strategy.addSuppressed(receiver, suppressed); 230 FileNotFoundException suppressed = new FileNotFoundException(); local 231 ThrowableExtension.addSuppressed(receiver, suppressed); 288 FileNotFoundException suppressed = new FileNotFoundException(); local 289 strategy.addSuppressed(receiver, suppressed); 292 strategy.addSuppressed(receiver, suppressed); 311 FileNotFoundException suppressed = new FileNotFoundException(); local 336 FileNotFoundException suppressed = new FileNotFoundException(); local 357 FileNotFoundException suppressed = new FileNotFoundException(); local [all...] |
/external/opencv/cv/src/ |
cvdominants.cpp | 291 int suppressed = 0; local 295 for( j = 1; (j <= ptInf[i].right_neigh) && (suppressed == 0); j++ ) 298 suppressed = 1; 301 for( j = -1; (j >= ptInf[i].left_neigh) && (suppressed == 0); j-- ) 307 suppressed = 1; 310 if( !suppressed )
|
cvsurf.cpp | 203 bool suppressed = false; local 225 suppressed = true; 229 if( !suppressed )
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ThrowableTest.java | 148 throwable.addSuppressed(newThrowable("Suppressed", "A", "B", "E", "F")); 149 throwable.addSuppressed(newThrowable("Suppressed", "A", "B", "G", "H")); 154 + "\tSuppressed: java.lang.Throwable: Suppressed\n" 158 + "\tSuppressed: java.lang.Throwable: Suppressed\n" 171 Throwable suppressed = newThrowable("Suppressed", "A", "B", "E", "F"); local 173 throwable.addSuppressed(suppressed); 174 suppressed.addSuppressed(newThrowable("Suppressed/Suppressed", "A", "B", "E", "G")) 311 Throwable suppressed = newThrowable("Suppressed"); local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
CloserTest.java | 352 ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(getSuppressed(thrownException)); local 353 assertEquals(2, suppressed.size()); 355 assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed); local 375 * each such exception was suppressed because of the given thrown exception. 389 public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) { 390 suppressions.add(new Suppression(closeable, thrown, suppressed)); 400 private final Throwable suppressed; field in class:CloserTest.Suppression 402 private Suppression(Closeable closeable, Throwable thrown, Throwable suppressed) { 405 this.suppressed = suppressed; [all...] |
ByteSourceTest.java | 362 // test that exceptions are suppressed 365 int suppressed = runSuppressionFailureTest(in, newNormalByteSink()); local 366 assertEquals(0, suppressed); 368 suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK); 369 assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed); 373 int suppressed = runSuppressionFailureTest(newNormalByteSource(), out); local 374 assertEquals(0, suppressed); 376 suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out); 377 assertEquals(1, suppressed); 382 int suppressed = runSuppressionFailureTest(in, out) local [all...] |
CharSourceTest.java | 286 // test that exceptions are suppressed 289 int suppressed = runSuppressionFailureTest(in, newNormalCharSink()); local 290 assertEquals(0, suppressed); 292 suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK); 293 assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed); 297 int suppressed = runSuppressionFailureTest(newNormalCharSource(), out); local 298 assertEquals(0, suppressed); 300 suppressed = runSuppressionFailureTest(BROKEN_CLOSE_SOURCE, out); 301 assertEquals(1, suppressed); 306 int suppressed = runSuppressionFailureTest(in, out) local [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
Throwable.java | 211 * The list of suppressed exceptions, as returned by {@link 231 /** Caption for labeling suppressed exception stack traces */ 232 private static final String SUPPRESSED_CAPTION = "Suppressed: "; 315 * suppressed list will have no effect. If the writable stack 580 * <i>suppressed exceptions</i> (in conjunction with the {@code 582 * suppressed in order to deliver an exception are printed out 591 * Suppressed: Resource$CloseFailException: Resource ID = 0 596 * Note that the "... n more" notation is used on suppressed exceptions 597 * just at it is used on causes. Unlike causes, suppressed exceptions are 600 * <p>An exception can have both a cause and one or more suppressed 909 List<Throwable> suppressed = null; local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_report.cc | 50 bool OnReport(const ReportDesc *rep, bool suppressed); 53 bool OnReport(const ReportDesc *rep, bool suppressed) { 55 return suppressed; 520 bool suppressed = OnReport(rep, pc_or_addr != 0); local 522 if (suppressed) {
|
/external/conscrypt/openjdk/src/main/java/org/conscrypt/ |
Platform.java | 105 IOException suppressed = null; local 119 suppressed = e; 122 if (suppressed != null) { 123 throw suppressed; 144 static void addSuppressed(Throwable t, Throwable suppressed) { 146 Java7PlatformUtil.addSuppressed(t, suppressed);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NotificationGroupManager.java | 265 boolean prevSuppressed = group.suppressed; 266 group.suppressed = group.summary != null && !group.expanded 271 if (prevSuppressed != group.suppressed) { 272 if (group.suppressed) { 355 return group != null && group.suppressed; 369 // Because notifications can become isolated when the group becomes suppressed it can 390 if (group == null || group.summary == null || group.suppressed) { 528 // The parent of a suppressed group got huned, lets hun the child! 632 * Is this notification group suppressed, i.e its summary is hidden 634 public boolean suppressed; field in class:NotificationGroupManager.NotificationGroup [all...] |
/frameworks/base/core/java/android/service/notification/ |
NotificationListenerService.java | 151 * Whether notification suppressed by DND should not interruption visually when the screen is 160 * Whether notification suppressed by DND should not interruption visually when the screen is 1721 Integer suppressed = mSuppressedVisualEffects.get(key); local [all...] |
/prebuilts/tools/common/m2/repository/net/java/dev/javacc/javacc/5.0/ |
javacc-5.0.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/ |
okhttp-2.5.0.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.2/ |
okhttp-2.7.2.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.3.0/ |
okhttp-3.3.0.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.4.1/ |
okhttp-3.4.1.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/ |
okhttp-2.7.4.jar | |
/prebuilts/gradle-plugin/com/android/tools/build/builder/3.2.0-alpha16/ |
builder-3.2.0-alpha16.jar | |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-7.0.0_r1-robolectric-r1.jar | |