Searched refs:mayInterruptIfRunning (Results 1 – 15 of 15) sorted by relevance
120 boolean cancel(boolean mayInterruptIfRunning); in cancel() argument
165 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument168 mayInterruptIfRunning ? INTERRUPTING : CANCELLED))) in cancel()171 if (mayInterruptIfRunning) { in cancel()
283 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument287 boolean cancelled = super.cancel(mayInterruptIfRunning); in cancel()
879 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument
226 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument243 if (mayInterruptIfRunning) { in cancel()
93 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument
248 for (boolean mayInterruptIfRunning : new boolean[] { true, false })252 assertTrue(f.cancel(mayInterruptIfRunning));253 assertTrue(f.cancel(mayInterruptIfRunning));254 assertTrue(f.cancel(!mayInterruptIfRunning));354 for (boolean mayInterruptIfRunning : new boolean[] { true, false }) {356 assertTrue(f.cancel(mayInterruptIfRunning));970 for (boolean mayInterruptIfRunning : new boolean[] { true, false }) in testWhenComplete_sourceCancelled()975 if (!createIncomplete) assertTrue(f.cancel(mayInterruptIfRunning)); in testWhenComplete_sourceCancelled()984 if (createIncomplete) assertTrue(f.cancel(mayInterruptIfRunning)); in testWhenComplete_sourceCancelled()1118 for (boolean mayInterruptIfRunning : new boolean[] { true, false }) in testHandle_sourceCancelled()[all …]
142 for (boolean mayInterruptIfRunning : new boolean[] { true, false }) { in tryToConfuseDoneTask()143 pf.cancel(mayInterruptIfRunning); in tryToConfuseDoneTask()286 for (boolean mayInterruptIfRunning : new boolean[] { true, false }) { in testRunAndResetAfterCancel()288 assertTrue(task.cancel(mayInterruptIfRunning)); in testRunAndResetAfterCancel()630 public void testTimedGet_Cancellation(final boolean mayInterruptIfRunning) { in testTimedGet_Cancellation() argument637 if (mayInterruptIfRunning) { in testTimedGet_Cancellation()663 task.cancel(mayInterruptIfRunning); in testTimedGet_Cancellation()
250 public boolean cancel(boolean mayInterruptIfRunning) {251 if (super.cancel(mayInterruptIfRunning)) {
263 public boolean cancel(boolean mayInterruptIfRunning) {264 if (super.cancel(mayInterruptIfRunning)) {
65 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument66 return task.cancel(mayInterruptIfRunning); in cancel()
63 public boolean cancel(boolean mayInterruptIfRunning) { in cancel() argument
273 public boolean cancel(boolean mayInterruptIfRunning) {274 if (super.cancel(mayInterruptIfRunning)) {
285 public boolean cancel(boolean mayInterruptIfRunning) {286 if (super.cancel(mayInterruptIfRunning)) {
150 public boolean cancel(boolean mayInterruptIfRunning) { throw new RuntimeException("Stub!"); } in cancel() argument