OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CancellationException
(Results
26 - 50
of
122
) sorted by null
1
2
3
4
5
/external/guava/guava-tests/test/com/google/common/util/concurrent/
AsyncSettableFutureTest.java
21
import java.util.concurrent.
CancellationException
;
131
fail("Expected
CancellationException
");
132
} catch (
CancellationException
expected) { /* expected */ }
144
fail("Expected
CancellationException
");
145
} catch (
CancellationException
expected) { /* expected */ }
157
fail("Expected
CancellationException
");
158
} catch (
CancellationException
expected) { /* expected */ }
FutureCallbackTest.java
25
import java.util.concurrent.
CancellationException
;
76
assertTrue(t instanceof
CancellationException
);
FuturesTest.java
57
import java.util.concurrent.
CancellationException
;
140
CancellationException
exception = new
CancellationException
();
733
} catch (
CancellationException
expected) {}
737
} catch (
CancellationException
expected) {}
[
all
...]
/external/dagger2/producers/src/test/java/dagger/producers/internal/
ProducersTest.java
24
import java.util.concurrent.
CancellationException
;
68
.isInstanceOf(
CancellationException
.class);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAsyncTask.java
5
import java.util.concurrent.
CancellationException
;
43
} catch (
CancellationException
e) {
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
StatusSmsFetcher.java
42
import java.util.concurrent.
CancellationException
;
82
throws InterruptedException, ExecutionException, TimeoutException,
CancellationException
{
/libcore/jsr166-tests/src/test/java/jsr166/
RecursiveActionTest.java
13
import java.util.concurrent.
CancellationException
;
116
assertTrue(a.getException() instanceof
CancellationException
);
122
} catch (
CancellationException
success) {
128
} catch (
CancellationException
success) {
134
} catch (
CancellationException
success) {
284
} catch (
CancellationException
success) {
384
} catch (
CancellationException
success) {
633
} catch (
CancellationException
success) {
652
} catch (
CancellationException
success) {
671
} catch (
CancellationException
success)
[
all
...]
ForkJoinPool8Test.java
13
import java.util.concurrent.
CancellationException
;
127
assertTrue(a.getException() instanceof
CancellationException
);
133
} catch (
CancellationException
success) {
139
} catch (
CancellationException
success) {
145
} catch (
CancellationException
success) {
295
} catch (
CancellationException
success) {
522
} catch (
CancellationException
success) {
541
} catch (
CancellationException
success) {
560
} catch (
CancellationException
success) {
579
} catch (
CancellationException
success)
[
all
...]
ForkJoinTaskTest.java
16
import java.util.concurrent.
CancellationException
;
135
assertTrue(a.getException() instanceof
CancellationException
);
144
} catch (
CancellationException
success) {
157
} catch (
CancellationException
success) {
163
} catch (
CancellationException
success) {
628
} catch (
CancellationException
success) {
647
} catch (
CancellationException
success) {
666
} catch (
CancellationException
success) {
685
} catch (
CancellationException
success) {
[
all
...]
FutureTaskTest.java
19
import java.util.concurrent.
CancellationException
;
56
} catch (
CancellationException
t) {
57
exInfo =
CancellationException
.class;
71
} catch (
CancellationException
t) {
72
assertSame(exInfo,
CancellationException
.class);
129
} catch (
CancellationException
success) {
135
} catch (
CancellationException
success) {
622
*
CancellationException
648
Thread t1 = new ThreadShouldThrow(
CancellationException
.class) {
653
Thread t2 = new ThreadShouldThrow(
CancellationException
.class)
[
all
...]
RecursiveTaskTest.java
12
import java.util.concurrent.
CancellationException
;
133
assertTrue(a.getException() instanceof
CancellationException
);
139
} catch (
CancellationException
success) {
145
} catch (
CancellationException
success) {
151
} catch (
CancellationException
success) {
466
} catch (
CancellationException
success) {
486
} catch (
CancellationException
success) {
506
} catch (
CancellationException
success) {
526
} catch (
CancellationException
success) {
[
all
...]
CountedCompleterTest.java
13
import java.util.concurrent.
CancellationException
;
129
assertTrue(a.getException() instanceof
CancellationException
);
138
} catch (
CancellationException
success) {
151
} catch (
CancellationException
success) {
157
} catch (
CancellationException
success) {
863
} catch (
CancellationException
success) {
882
} catch (
CancellationException
success) {
901
} catch (
CancellationException
success) {
920
} catch (
CancellationException
success) {
[
all
...]
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
AsyncTask.java
27
import java.util.concurrent.
CancellationException
;
327
} catch (
CancellationException
e) {
502
* @throws java.util.concurrent.
CancellationException
If the computation was cancelled.
520
* @throws java.util.concurrent.
CancellationException
If the computation was cancelled.
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
AsyncTask.java
27
import java.util.concurrent.
CancellationException
;
327
} catch (
CancellationException
e) {
502
* @throws java.util.concurrent.
CancellationException
If the computation was cancelled.
520
* @throws java.util.concurrent.
CancellationException
If the computation was cancelled.
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
AsyncTask.java
27
import java.util.concurrent.
CancellationException
;
327
} catch (
CancellationException
e) {
502
* @throws java.util.concurrent.
CancellationException
If the computation was cancelled.
520
* @throws java.util.concurrent.
CancellationException
If the computation was cancelled.
/external/guava/guava-bootstrap/src/java/util/concurrent/
AbstractExecutorService.java
136
} catch (
CancellationException
ignore) {
180
} catch (
CancellationException
ignore) {
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
FuturesCombineBenchmark.java
27
import java.util.concurrent.
CancellationException
;
48
} catch (
CancellationException
e) {
/external/libmojo/base/android/java/src/org/chromium/base/
ResourceExtractor.java
23
import java.util.concurrent.
CancellationException
;
214
} catch (
CancellationException
e) {
/frameworks/base/core/java/android/os/
AsyncTask.java
25
import java.util.concurrent.
CancellationException
;
355
} catch (
CancellationException
e) {
536
* @throws
CancellationException
If the computation was cancelled.
554
* @throws
CancellationException
If the computation was cancelled.
/frameworks/support/loader/src/main/java/androidx/loader/content/
ModernAsyncTask.java
31
import java.util.concurrent.
CancellationException
;
163
} catch (
CancellationException
e) {
340
* @throws
CancellationException
If the computation was cancelled.
358
* @throws
CancellationException
If the computation was cancelled.
/libcore/ojluni/src/main/java/java/util/concurrent/
AbstractExecutorService.java
248
catch (
CancellationException
ignore) {}
286
catch (
CancellationException
ignore) {}
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
ZslImageCaptureCommand.java
39
import java.util.concurrent.
CancellationException
;
136
} catch (ExecutionException |
CancellationException
e) {
/external/guava/guava/src/com/google/common/util/concurrent/
Futures.java
46
import java.util.concurrent.
CancellationException
;
84
* {@link InterruptedException}, a {@link
CancellationException
}, or an
196
private final
CancellationException
thrown;
199
this.thrown = new
CancellationException
("Immediate cancelled future.");
[
all
...]
Uninterruptibles.java
25
import java.util.concurrent.
CancellationException
;
129
* @throws
CancellationException
if the computation was cancelled
159
* @throws
CancellationException
if the computation was cancelled
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherModel.java
74
import java.util.concurrent.
CancellationException
;
539
private LoaderTransaction(LoaderTask task) throws
CancellationException
{
542
throw new
CancellationException
("Loader already stopped");
569
public LoaderTransaction beginLoader(LoaderTask task) throws
CancellationException
{
Completed in 935 milliseconds
1
2
3
4
5