apkfuckery/com.discord/smali_classes2/l0/l/a/j0$b.smali

288 lines
6.6 KiB
Smali
Raw Normal View History

2020-10-05 23:18:16 +00:00
.class public final Ll0/l/a/j0$b;
2020-05-17 12:40:10 +00:00
.super Lrx/Subscriber;
.source "OnSubscribeTimeoutTimedWithFallback.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-10-05 23:18:16 +00:00
value = Ll0/l/a/j0;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-10-05 23:18:16 +00:00
Ll0/l/a/j0$b$a;
2020-05-17 12:40:10 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lrx/Subscriber<",
"TT;>;"
}
.end annotation
# instance fields
.field public final d:Lrx/Subscriber;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Subscriber<",
"-TT;>;"
}
.end annotation
.end field
.field public final e:J
.field public final f:Ljava/util/concurrent/TimeUnit;
.field public final g:Lrx/Scheduler$Worker;
.field public final h:Lrx/Observable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable<",
"+TT;>;"
}
.end annotation
.end field
2020-10-05 23:18:16 +00:00
.field public final i:Ll0/l/b/a;
2020-05-17 12:40:10 +00:00
.field public final j:Ljava/util/concurrent/atomic/AtomicLong;
2020-10-05 23:18:16 +00:00
.field public final k:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
.field public final l:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
.field public m:J
# direct methods
.method public constructor <init>(Lrx/Subscriber;JLjava/util/concurrent/TimeUnit;Lrx/Scheduler$Worker;Lrx/Observable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TT;>;J",
"Ljava/util/concurrent/TimeUnit;",
"Lrx/Scheduler$Worker;",
"Lrx/Observable<",
"+TT;>;)V"
}
.end annotation
invoke-direct {p0}, Lrx/Subscriber;-><init>()V
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Ll0/l/a/j0$b;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput-wide p2, p0, Ll0/l/a/j0$b;->e:J
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput-object p4, p0, Ll0/l/a/j0$b;->f:Ljava/util/concurrent/TimeUnit;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput-object p5, p0, Ll0/l/a/j0$b;->g:Lrx/Scheduler$Worker;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput-object p6, p0, Ll0/l/a/j0$b;->h:Lrx/Observable;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
new-instance p1, Ll0/l/b/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {p1}, Ll0/l/b/a;-><init>()V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Ll0/l/a/j0$b;->i:Ll0/l/b/a;
2020-05-17 12:40:10 +00:00
new-instance p1, Ljava/util/concurrent/atomic/AtomicLong;
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Ll0/l/a/j0$b;->j:Ljava/util/concurrent/atomic/AtomicLong;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
new-instance p1, Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {p1}, Ll0/l/d/a;-><init>()V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Ll0/l/a/j0$b;->k:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
new-instance p1, Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {p1, p0}, Ll0/l/d/a;-><init>(Lrx/Subscription;)V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iput-object p1, p0, Ll0/l/a/j0$b;->l:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
invoke-virtual {p0, p5}, Lrx/Subscriber;->add(Lrx/Subscription;)V
2020-10-05 23:18:16 +00:00
iget-object p1, p0, Ll0/l/a/j0$b;->k:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
invoke-virtual {p0, p1}, Lrx/Subscriber;->add(Lrx/Subscription;)V
return-void
.end method
# virtual methods
.method public onCompleted()V
.locals 5
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->j:Ljava/util/concurrent/atomic/AtomicLong;
2020-05-17 12:40:10 +00:00
const-wide v1, 0x7fffffffffffffffL
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;->getAndSet(J)J
move-result-wide v3
cmp-long v0, v3, v1
if-eqz v0, :cond_0
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->k:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0}, Ll0/l/d/a;->unsubscribe()V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0}, Ll0/g;->onCompleted()V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->g:Lrx/Scheduler$Worker;
2020-05-17 12:40:10 +00:00
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
:cond_0
return-void
.end method
.method public onError(Ljava/lang/Throwable;)V
.locals 5
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->j:Ljava/util/concurrent/atomic/AtomicLong;
2020-05-17 12:40:10 +00:00
const-wide v1, 0x7fffffffffffffffL
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicLong;->getAndSet(J)J
move-result-wide v3
cmp-long v0, v3, v1
if-eqz v0, :cond_0
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->k:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0}, Ll0/l/d/a;->unsubscribe()V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0, p1}, Ll0/g;->onError(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object p1, p0, Ll0/l/a/j0$b;->g:Lrx/Scheduler$Worker;
2020-05-17 12:40:10 +00:00
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
goto :goto_0
:cond_0
2020-10-05 23:18:16 +00:00
invoke-static {p1}, Ll0/o/l;->b(Ljava/lang/Throwable;)V
2020-05-17 12:40:10 +00:00
:goto_0
return-void
.end method
.method public onNext(Ljava/lang/Object;)V
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->j:Ljava/util/concurrent/atomic/AtomicLong;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v0
const-wide v2, 0x7fffffffffffffffL
cmp-long v4, v0, v2
if-eqz v4, :cond_2
2020-10-05 23:18:16 +00:00
iget-object v2, p0, Ll0/l/a/j0$b;->j:Ljava/util/concurrent/atomic/AtomicLong;
2020-05-17 12:40:10 +00:00
const-wide/16 v3, 0x1
add-long v5, v0, v3
invoke-virtual {v2, v0, v1, v5, v6}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
move-result v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->k:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lrx/Subscription;
if-eqz v0, :cond_1
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
:cond_1
2020-10-05 23:18:16 +00:00
iget-wide v0, p0, Ll0/l/a/j0$b;->m:J
2020-05-17 12:40:10 +00:00
add-long/2addr v0, v3
2020-10-05 23:18:16 +00:00
iput-wide v0, p0, Ll0/l/a/j0$b;->m:J
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->d:Lrx/Subscriber;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-interface {v0, p1}, Ll0/g;->onNext(Ljava/lang/Object;)V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object p1, p0, Ll0/l/a/j0$b;->k:Ll0/l/d/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->g:Lrx/Scheduler$Worker;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
new-instance v1, Ll0/l/a/j0$b$a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-direct {v1, p0, v5, v6}, Ll0/l/a/j0$b$a;-><init>(Ll0/l/a/j0$b;J)V
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-wide v2, p0, Ll0/l/a/j0$b;->e:J
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
iget-object v4, p0, Ll0/l/a/j0$b;->f:Ljava/util/concurrent/TimeUnit;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-virtual {v0, v1, v2, v3, v4}, Lrx/Scheduler$Worker;->b(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-10-05 23:18:16 +00:00
invoke-virtual {p1, v0}, Ll0/l/d/a;->b(Lrx/Subscription;)Z
2020-05-17 12:40:10 +00:00
:cond_2
:goto_0
return-void
.end method
.method public setProducer(Lrx/Producer;)V
.locals 1
2020-10-05 23:18:16 +00:00
iget-object v0, p0, Ll0/l/a/j0$b;->i:Ll0/l/b/a;
2020-05-17 12:40:10 +00:00
2020-10-05 23:18:16 +00:00
invoke-virtual {v0, p1}, Ll0/l/b/a;->c(Lrx/Producer;)V
2020-05-17 12:40:10 +00:00
return-void
.end method