2020-05-11 19:22:21 +00:00
|
|
|
.class public Lf/c/a/y1;
|
2019-12-06 03:29:40 +00:00
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "TimerCycle.java"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-05-11 19:22:21 +00:00
|
|
|
.field public a:Lf/c/a/p0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
.field public b:Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
|
|
|
|
.field public c:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public d:Ljava/lang/Runnable;
|
|
|
|
|
|
|
|
.field public e:J
|
|
|
|
|
|
|
|
.field public f:J
|
|
|
|
|
|
|
|
.field public g:Z
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
.field public h:Lf/c/a/u0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/lang/Runnable;JJLjava/lang/String;)V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
new-instance v0, Lf/c/a/p0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-direct {v0, p6, v1}, Lf/c/a/p0;-><init>(Ljava/lang/String;Z)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iput-object v0, p0, Lf/c/a/y1;->a:Lf/c/a/p0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iput-object p6, p0, Lf/c/a/y1;->c:Ljava/lang/String;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iput-object p1, p0, Lf/c/a/y1;->d:Ljava/lang/Runnable;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iput-wide p2, p0, Lf/c/a/y1;->e:J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iput-wide p4, p0, Lf/c/a/y1;->f:J
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iput-boolean v1, p0, Lf/c/a/y1;->g:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-static {}, Lf/c/a/z;->a()Lf/c/a/u0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iput-object p1, p0, Lf/c/a/y1;->h:Lf/c/a/u0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object p1, Lf/c/a/a2;->a:Ljava/text/DecimalFormat;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
long-to-double p4, p4
|
|
|
|
|
|
|
|
const-wide v2, 0x408f400000000000L # 1000.0
|
|
|
|
|
|
|
|
div-double/2addr p4, v2
|
|
|
|
|
|
|
|
invoke-virtual {p1, p4, p5}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
sget-object p4, Lf/c/a/a2;->a:Ljava/text/DecimalFormat;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
long-to-double p2, p2
|
|
|
|
|
|
|
|
div-double/2addr p2, v2
|
|
|
|
|
|
|
|
invoke-virtual {p4, p2, p3}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
iget-object p3, p0, Lf/c/a/y1;->h:Lf/c/a/u0;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 p4, 0x3
|
|
|
|
|
|
|
|
new-array p4, p4, [Ljava/lang/Object;
|
|
|
|
|
|
|
|
const/4 p5, 0x0
|
|
|
|
|
|
|
|
aput-object p6, p4, p5
|
|
|
|
|
|
|
|
aput-object p2, p4, v1
|
|
|
|
|
|
|
|
const/4 p2, 0x2
|
|
|
|
|
|
|
|
aput-object p1, p4, p2
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
check-cast p3, Lf/c/a/b1;
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const-string p1, "%s configured to fire after %s seconds of starting and cycles every %s seconds"
|
|
|
|
|
2020-05-11 19:22:21 +00:00
|
|
|
invoke-virtual {p3, p1, p4}, Lf/c/a/b1;->d(Ljava/lang/String;[Ljava/lang/Object;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|