101 lines
2.3 KiB
Smali
101 lines
2.3 KiB
Smali
.class public final Lcom/adjust/sdk/ax;
|
|
.super Ljava/lang/Object;
|
|
.source "TimerCycle.java"
|
|
|
|
|
|
# instance fields
|
|
.field cg:Lcom/adjust/sdk/x;
|
|
|
|
.field fq:Lcom/adjust/sdk/s;
|
|
|
|
.field fr:Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
.field fs:Ljava/lang/Runnable;
|
|
|
|
.field ft:J
|
|
|
|
.field fu:Z
|
|
|
|
.field initialDelay:J
|
|
|
|
.field name:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/Runnable;JJLjava/lang/String;)V
|
|
.locals 4
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
new-instance v0, Lcom/adjust/sdk/s;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, p6, v1}, Lcom/adjust/sdk/s;-><init>(Ljava/lang/String;Z)V
|
|
|
|
iput-object v0, p0, Lcom/adjust/sdk/ax;->fq:Lcom/adjust/sdk/s;
|
|
|
|
iput-object p6, p0, Lcom/adjust/sdk/ax;->name:Ljava/lang/String;
|
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/ax;->fs:Ljava/lang/Runnable;
|
|
|
|
iput-wide p2, p0, Lcom/adjust/sdk/ax;->initialDelay:J
|
|
|
|
iput-wide p4, p0, Lcom/adjust/sdk/ax;->ft:J
|
|
|
|
iput-boolean v1, p0, Lcom/adjust/sdk/ax;->fu:Z
|
|
|
|
invoke-static {}, Lcom/adjust/sdk/j;->X()Lcom/adjust/sdk/x;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/adjust/sdk/ax;->cg:Lcom/adjust/sdk/x;
|
|
|
|
sget-object p1, Lcom/adjust/sdk/az;->fx:Ljava/text/DecimalFormat;
|
|
|
|
long-to-double p4, p4
|
|
|
|
const-wide v2, 0x408f400000000000L # 1000.0
|
|
|
|
invoke-static {p4, p5}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
div-double/2addr p4, v2
|
|
|
|
invoke-virtual {p1, p4, p5}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object p4, Lcom/adjust/sdk/az;->fx:Ljava/text/DecimalFormat;
|
|
|
|
long-to-double p2, p2
|
|
|
|
invoke-static {p2, p3}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
div-double/2addr p2, v2
|
|
|
|
invoke-virtual {p4, p2, p3}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
iget-object p3, p0, Lcom/adjust/sdk/ax;->cg:Lcom/adjust/sdk/x;
|
|
|
|
const-string p4, "%s configured to fire after %s seconds of starting and cycles every %s seconds"
|
|
|
|
const/4 p5, 0x3
|
|
|
|
new-array p5, p5, [Ljava/lang/Object;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
aput-object p6, p5, v0
|
|
|
|
aput-object p2, p5, v1
|
|
|
|
const/4 p2, 0x2
|
|
|
|
aput-object p1, p5, p2
|
|
|
|
invoke-interface {p3, p4, p5}, Lcom/adjust/sdk/x;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|