2022-06-10 21:38:30 +09:00

283 lines
6.6 KiB
Smali

.class public final Lio/reactivex/internal/operators/flowable/x$a;
.super Ljava/lang/Object;
.source "FlowableDoOnLifecycle.java"
# interfaces
.implements Lkh/o;
.implements Lok/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/reactivex/internal/operators/flowable/x;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lkh/o<",
"TT;>;",
"Lok/e;"
}
.end annotation
# instance fields
.field public final a:Lok/d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lok/d<",
"-TT;>;"
}
.end annotation
.end field
.field public final b:Lph/g;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lph/g<",
"-",
"Lok/e;",
">;"
}
.end annotation
.end field
.field public final c:Lph/q;
.field public final d:Lph/a;
.field public e:Lok/e;
# direct methods
.method public constructor <init>(Lok/d;Lph/g;Lph/q;Lph/a;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lok/d<",
"-TT;>;",
"Lph/g<",
"-",
"Lok/e;",
">;",
"Lph/q;",
"Lph/a;",
")V"
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/x$a;->a:Lok/d;
.line 3
iput-object p2, p0, Lio/reactivex/internal/operators/flowable/x$a;->b:Lph/g;
.line 4
iput-object p4, p0, Lio/reactivex/internal/operators/flowable/x$a;->d:Lph/a;
.line 5
iput-object p3, p0, Lio/reactivex/internal/operators/flowable/x$a;->c:Lph/q;
return-void
.end method
# virtual methods
.method public cancel()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
.line 2
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-eq v0, v1, :cond_0
.line 3
iput-object v1, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
.line 4
:try_start_0
iget-object v1, p0, Lio/reactivex/internal/operators/flowable/x$a;->d:Lph/a;
invoke-interface {v1}, Lph/a;->run()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v1
.line 5
invoke-static {v1}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-static {v1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
.line 7
:goto_0
invoke-interface {v0}, Lok/e;->cancel()V
:cond_0
return-void
.end method
.method public onComplete()V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-eq v0, v1, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->a:Lok/d;
invoke-interface {v0}, Lok/d;->onComplete()V
:cond_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 2
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
sget-object v1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
if-eq v0, v1, :cond_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->a:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onError(Ljava/lang/Throwable;)V
goto :goto_0
.line 3
:cond_0
invoke-static {p1}, Lwh/a;->Y(Ljava/lang/Throwable;)V
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->a:Lok/d;
invoke-interface {v0, p1}, Lok/d;->onNext(Ljava/lang/Object;)V
return-void
.end method
.method public onSubscribe(Lok/e;)V
.locals 1
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->b:Lph/g;
invoke-interface {v0, p1}, Lph/g;->accept(Ljava/lang/Object;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 2
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->validate(Lok/e;Lok/e;)Z
move-result v0
if-eqz v0, :cond_0
.line 3
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
.line 4
iget-object p1, p0, Lio/reactivex/internal/operators/flowable/x$a;->a:Lok/d;
invoke-interface {p1, p0}, Lok/d;->onSubscribe(Lok/e;)V
:cond_0
return-void
:catchall_0
move-exception v0
.line 5
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 6
invoke-interface {p1}, Lok/e;->cancel()V
.line 7
sget-object p1, Lio/reactivex/internal/subscriptions/SubscriptionHelper;->CANCELLED:Lio/reactivex/internal/subscriptions/SubscriptionHelper;
iput-object p1, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
.line 8
iget-object p1, p0, Lio/reactivex/internal/operators/flowable/x$a;->a:Lok/d;
invoke-static {v0, p1}, Lio/reactivex/internal/subscriptions/EmptySubscription;->error(Ljava/lang/Throwable;Lok/d;)V
return-void
.end method
.method public request(J)V
.locals 1
.line 1
:try_start_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->c:Lph/q;
invoke-interface {v0, p1, p2}, Lph/q;->a(J)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 2
invoke-static {v0}, Lio/reactivex/exceptions/a;->b(Ljava/lang/Throwable;)V
.line 3
invoke-static {v0}, Lwh/a;->Y(Ljava/lang/Throwable;)V
.line 4
:goto_0
iget-object v0, p0, Lio/reactivex/internal/operators/flowable/x$a;->e:Lok/e;
invoke-interface {v0, p1, p2}, Lok/e;->request(J)V
return-void
.end method