apkfuckery/com.discord/smali_classes2/rx/Scheduler$Worker.smali

104 lines
2.3 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public abstract Lrx/Scheduler$Worker;
.super Ljava/lang/Object;
.source "Scheduler.java"
# interfaces
.implements Lrx/Subscription;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lrx/Scheduler;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Worker"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public abstract a(Lrx/functions/Action0;)Lrx/Subscription;
.end method
.method public abstract b(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
.end method
.method public c(Lrx/functions/Action0;JJLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
2020-11-16 22:05:17 +00:00
.locals 17
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-wide/from16 v0, p2
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-object/from16 v2, p6
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
sget v3, Lh0/l/c/i;->b:I
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-wide/from16 v4, p4
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-virtual {v2, v4, v5}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-wide v13
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
sget-object v3, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
move-result-wide v4
invoke-virtual {v3, v4, v5}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
move-result-wide v5
invoke-virtual {v2, v0, v1}, Ljava/util/concurrent/TimeUnit;->toNanos(J)J
move-result-wide v3
add-long v7, v3, v5
new-instance v3, Lh0/l/d/a;
invoke-direct {v3}, Lh0/l/d/a;-><init>()V
new-instance v15, Lh0/l/d/a;
invoke-direct {v15, v3}, Lh0/l/d/a;-><init>(Lrx/Subscription;)V
new-instance v12, Lh0/l/c/h;
const/4 v11, 0x0
move-object v4, v12
move-object/from16 v9, p1
move-object v10, v15
move-object/from16 v16, v12
move-object/from16 v12, p0
invoke-direct/range {v4 .. v14}, Lh0/l/c/h;-><init>(JJLrx/functions/Action0;Lh0/l/d/a;Lh0/l/c/i$a;Lrx/Scheduler$Worker;J)V
move-object/from16 v4, p0
move-object/from16 v5, v16
invoke-virtual {v4, v5, v0, v1, v2}, Lrx/Scheduler$Worker;->b(Lrx/functions/Action0;JLjava/util/concurrent/TimeUnit;)Lrx/Subscription;
move-result-object v0
invoke-virtual {v3, v0}, Lh0/l/d/a;->a(Lrx/Subscription;)Z
return-object v15
2020-11-12 02:11:44 +00:00
.end method