DisposeOnCancel.smali
1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.class final Lio/reactivex/internal/schedulers/DisposeOnCancel;
.super Ljava/lang/Object;
.source "DisposeOnCancel.java"
# interfaces
.implements Ljava/util/concurrent/Future;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Future<",
"Ljava/lang/Object;",
">;"
}
.end annotation
# instance fields
.field final d:Lio/reactivex/disposables/Disposable;
# direct methods
.method constructor <init>(Lio/reactivex/disposables/Disposable;)V
.locals 0
.line 27
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 28
iput-object p1, p0, Lio/reactivex/internal/schedulers/DisposeOnCancel;->d:Lio/reactivex/disposables/Disposable;
return-void
.end method
# virtual methods
.method public cancel(Z)Z
.locals 0
.line 33
iget-object p1, p0, Lio/reactivex/internal/schedulers/DisposeOnCancel;->d:Lio/reactivex/disposables/Disposable;
invoke-interface {p1}, Lio/reactivex/disposables/Disposable;->dispose()V
const/4 p1, 0x0
return p1
.end method
.method public get()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public get(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/InterruptedException;,
Ljava/util/concurrent/ExecutionException;,
Ljava/util/concurrent/TimeoutException;
}
.end annotation
const/4 p1, 0x0
return-object p1
.end method
.method public isCancelled()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public isDone()Z
.locals 1
const/4 v0, 0x0
return v0
.end method