1575 lines
31 KiB
Smali
1575 lines
31 KiB
Smali
.class public Lf/c/a/a;
|
|
.super Ljava/lang/Object;
|
|
.source "ActivityHandler.java"
|
|
|
|
# interfaces
|
|
.implements Lf/c/a/o0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lf/c/a/a$m;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static o:J
|
|
|
|
.field public static p:J
|
|
|
|
.field public static q:J
|
|
|
|
.field public static r:J
|
|
|
|
.field public static s:J
|
|
|
|
|
|
# instance fields
|
|
.field public a:Lf/c/a/l0;
|
|
|
|
.field public b:Lf/c/a/r0;
|
|
|
|
.field public c:Lf/c/a/q;
|
|
|
|
.field public d:Lf/c/a/q0;
|
|
|
|
.field public e:Lf/c/a/t1;
|
|
|
|
.field public f:Lf/c/a/u1;
|
|
|
|
.field public g:Lf/c/a/u1;
|
|
|
|
.field public h:Lf/c/a/a$m;
|
|
|
|
.field public i:Lf/c/a/m0;
|
|
|
|
.field public j:Lf/c/a/r;
|
|
|
|
.field public k:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
.field public l:Lf/c/a/p0;
|
|
|
|
.field public m:Lf/c/a/u0;
|
|
|
|
.field public n:Lf/c/a/p1;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lf/c/a/r;)V
|
|
.locals 4
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
invoke-static {}, Lf/c/a/v;->a()Lf/c/a/q0;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
check-cast v0, Lf/c/a/x0;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, v0, Lf/c/a/x0;->b:Z
|
|
|
|
new-instance v0, Lf/c/a/l0;
|
|
|
|
const-string v2, "ActivityHandler"
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-direct {v0, v2, v3}, Lf/c/a/l0;-><init>(Ljava/lang/String;Z)V
|
|
|
|
iput-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v0, Lf/c/a/a$m;
|
|
|
|
invoke-direct {v0, p0}, Lf/c/a/a$m;-><init>(Lf/c/a/a;)V
|
|
|
|
iput-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-object v2, p1, Lf/c/a/r;->v:Ljava/lang/Boolean;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x1
|
|
|
|
:goto_0
|
|
iput-boolean v2, v0, Lf/c/a/a$m;->a:Z
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean p1, p1, Lf/c/a/r;->w:Z
|
|
|
|
iput-boolean p1, v0, Lf/c/a/a$m;->b:Z
|
|
|
|
iput-boolean v1, v0, Lf/c/a/a$m;->c:Z
|
|
|
|
iput-boolean v3, v0, Lf/c/a/a$m;->d:Z
|
|
|
|
iput-boolean v3, v0, Lf/c/a/a$m;->e:Z
|
|
|
|
iput-boolean v3, v0, Lf/c/a/a$m;->g:Z
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v0, Lf/c/a/a$e;
|
|
|
|
invoke-direct {v0, p0}, Lf/c/a/a$e;-><init>(Lf/c/a/a;)V
|
|
|
|
iget-object p1, p1, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static m(Lf/c/a/a;)V
|
|
.locals 11
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, v0, Lf/c/a/q;->enabled:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lf/c/a/a;->D()V
|
|
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
iget-object v2, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
new-instance v2, Lf/c/a/q;
|
|
|
|
invoke-direct {v2}, Lf/c/a/q;-><init>()V
|
|
|
|
iput-object v2, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
new-instance v2, Lf/c/a/r1;
|
|
|
|
iget-object v6, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-object v6, v6, Lf/c/a/r;->a:Landroid/content/Context;
|
|
|
|
invoke-direct {v2, v6}, Lf/c/a/r1;-><init>(Landroid/content/Context;)V
|
|
|
|
iget-object v6, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
invoke-virtual {v2}, Lf/c/a/r1;->a()Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
iput-object v7, v6, Lf/c/a/q;->pushToken:Ljava/lang/String;
|
|
|
|
iget-object v6, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean v6, v6, Lf/c/a/a$m;->a:Z
|
|
|
|
if-eqz v6, :cond_1
|
|
|
|
iget-object v6, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iput v5, v6, Lf/c/a/q;->sessionCount:I
|
|
|
|
invoke-virtual {p0, v0, v1}, Lf/c/a/a;->z(J)V
|
|
|
|
:cond_1
|
|
iget-object v6, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iput v5, v6, Lf/c/a/q;->subsessionCount:I
|
|
|
|
iput-wide v3, v6, Lf/c/a/q;->sessionLength:J
|
|
|
|
iput-wide v3, v6, Lf/c/a/q;->timeSpent:J
|
|
|
|
iput-wide v0, v6, Lf/c/a/q;->lastActivity:J
|
|
|
|
const-wide/16 v0, -0x1
|
|
|
|
iput-wide v0, v6, Lf/c/a/q;->lastInterval:J
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean v1, v0, Lf/c/a/a$m;->a:Z
|
|
|
|
iput-boolean v1, v6, Lf/c/a/q;->enabled:Z
|
|
|
|
iget-boolean v0, v0, Lf/c/a/a$m;->e:Z
|
|
|
|
iput-boolean v0, v6, Lf/c/a/q;->updatePackages:Z
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->G()V
|
|
|
|
invoke-virtual {v2}, Lf/c/a/r1;->f()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-wide v6, v2, Lf/c/a/q;->lastActivity:J
|
|
|
|
sub-long v6, v0, v6
|
|
|
|
const/4 v8, 0x0
|
|
|
|
cmp-long v9, v6, v3
|
|
|
|
if-gez v9, :cond_3
|
|
|
|
iget-object v2, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
new-array v3, v8, [Ljava/lang/Object;
|
|
|
|
check-cast v2, Lf/c/a/x0;
|
|
|
|
const-string v4, "Time travel!"
|
|
|
|
invoke-virtual {v2, v4, v3}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v2, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iput-wide v0, v2, Lf/c/a/q;->lastActivity:J
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->G()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
sget-wide v3, Lf/c/a/a;->r:J
|
|
|
|
cmp-long v9, v6, v3
|
|
|
|
if-lez v9, :cond_4
|
|
|
|
invoke-virtual {p0, v0, v1}, Lf/c/a/a;->y(J)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
sget-wide v3, Lf/c/a/a;->s:J
|
|
|
|
cmp-long v9, v6, v3
|
|
|
|
if-lez v9, :cond_5
|
|
|
|
iget v3, v2, Lf/c/a/q;->subsessionCount:I
|
|
|
|
add-int/2addr v3, v5
|
|
|
|
iput v3, v2, Lf/c/a/q;->subsessionCount:I
|
|
|
|
iget-wide v9, v2, Lf/c/a/q;->sessionLength:J
|
|
|
|
add-long/2addr v9, v6
|
|
|
|
iput-wide v9, v2, Lf/c/a/q;->sessionLength:J
|
|
|
|
iput-wide v0, v2, Lf/c/a/q;->lastActivity:J
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
aput-object v2, v1, v8
|
|
|
|
iget-object v2, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget v2, v2, Lf/c/a/q;->sessionCount:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
aput-object v2, v1, v5
|
|
|
|
check-cast v0, Lf/c/a/x0;
|
|
|
|
const-string v2, "Started subsession %d of session %d"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lf/c/a/x0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->G()V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
iget-object v0, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
new-array v1, v8, [Ljava/lang/Object;
|
|
|
|
check-cast v0, Lf/c/a/x0;
|
|
|
|
const-string v2, "Time span since last activity too short for a new subsession"
|
|
|
|
invoke-virtual {v0, v2, v1}, Lf/c/a/x0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
invoke-virtual {p0, v0}, Lf/c/a/a;->n(Lf/c/a/q;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_6
|
|
|
|
goto :goto_1
|
|
|
|
:cond_6
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean v1, v0, Lf/c/a/a$m;->f:Z
|
|
|
|
if-eqz v1, :cond_7
|
|
|
|
iget-boolean v0, v0, Lf/c/a/a$m;->g:Z
|
|
|
|
xor-int/2addr v0, v5
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
goto :goto_1
|
|
|
|
:cond_7
|
|
iget-object v0, p0, Lf/c/a/a;->k:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget-boolean v0, v0, Lf/c/a/q;->askingAttribution:Z
|
|
|
|
if-nez v0, :cond_8
|
|
|
|
goto :goto_1
|
|
|
|
:cond_8
|
|
iget-object p0, p0, Lf/c/a/a;->l:Lf/c/a/p0;
|
|
|
|
check-cast p0, Lf/c/a/c0;
|
|
|
|
iget-object v0, p0, Lf/c/a/c0;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/d0;
|
|
|
|
invoke-direct {v1, p0}, Lf/c/a/d0;-><init>(Lf/c/a/c0;)V
|
|
|
|
iget-object p0, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p0, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
:goto_1
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final A(J)Z
|
|
.locals 7
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
invoke-virtual {p0, v0}, Lf/c/a/a;->n(Lf/c/a/q;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget-wide v2, v0, Lf/c/a/q;->lastActivity:J
|
|
|
|
sub-long v2, p1, v2
|
|
|
|
sget-wide v4, Lf/c/a/a;->r:J
|
|
|
|
cmp-long v6, v2, v4
|
|
|
|
if-lez v6, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
iput-wide p1, v0, Lf/c/a/q;->lastActivity:J
|
|
|
|
const-wide/16 p1, 0x0
|
|
|
|
cmp-long v4, v2, p1
|
|
|
|
if-gez v4, :cond_2
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
new-array p2, v1, [Ljava/lang/Object;
|
|
|
|
check-cast p1, Lf/c/a/x0;
|
|
|
|
const-string v0, "Time travel!"
|
|
|
|
invoke-virtual {p1, v0, p2}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-wide p1, v0, Lf/c/a/q;->sessionLength:J
|
|
|
|
add-long/2addr p1, v2
|
|
|
|
iput-wide p1, v0, Lf/c/a/q;->sessionLength:J
|
|
|
|
iget-wide p1, v0, Lf/c/a/q;->timeSpent:J
|
|
|
|
add-long/2addr p1, v2
|
|
|
|
iput-wide p1, v0, Lf/c/a/q;->timeSpent:J
|
|
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final B(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget-object v0, v0, Lf/c/a/q;->adid:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iput-object p1, v0, Lf/c/a/q;->adid:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->G()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public C(Lcom/adjust/sdk/AdjustAttribution;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lf/c/a/a;->k:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
invoke-virtual {p1, v1}, Lcom/adjust/sdk/AdjustAttribution;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
iput-object p1, p0, Lf/c/a/a;->k:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
const-class p1, Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
monitor-enter p1
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lf/c/a/a;->k:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
monitor-exit p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lf/c/a/a;->k:Lcom/adjust/sdk/AdjustAttribution;
|
|
|
|
iget-object v1, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-object v1, v1, Lf/c/a/r;->a:Landroid/content/Context;
|
|
|
|
const-string v2, "AdjustAttribution"
|
|
|
|
const-string v3, "Attribution"
|
|
|
|
invoke-static {v0, v1, v2, v3}, Lf/c/a/v1;->E(Ljava/lang/Object;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
monitor-exit p1
|
|
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
monitor-exit p1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final D()V
|
|
.locals 3
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->w()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->q()V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/c/a/a;->l:Lf/c/a/p0;
|
|
|
|
check-cast v0, Lf/c/a/c0;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Lf/c/a/c0;->f:Z
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->b:Lf/c/a/r0;
|
|
|
|
invoke-interface {v0}, Lf/c/a/r0;->g()V
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->m:Lf/c/a/u0;
|
|
|
|
check-cast v0, Lf/c/a/k1;
|
|
|
|
iput-boolean v1, v0, Lf/c/a/k1;->a:Z
|
|
|
|
iget-object v1, v0, Lf/c/a/k1;->e:Lf/c/a/l0;
|
|
|
|
new-instance v2, Lf/c/a/m1;
|
|
|
|
invoke-direct {v2, v0}, Lf/c/a/m1;-><init>(Lf/c/a/k1;)V
|
|
|
|
iget-object v0, v1, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean v1, v0, Lf/c/a/a$m;->f:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-boolean v0, v0, Lf/c/a/a$m;->g:Z
|
|
|
|
xor-int/lit8 v0, v0, 0x1
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->b:Lf/c/a/r0;
|
|
|
|
invoke-interface {v0}, Lf/c/a/r0;->b()V
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-boolean v0, v0, Lf/c/a/r;->f:Z
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->b:Lf/c/a/r0;
|
|
|
|
invoke-interface {v0}, Lf/c/a/r0;->b()V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final E()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->b:Lf/c/a/r0;
|
|
|
|
iget-object v1, p0, Lf/c/a/a;->n:Lf/c/a/p1;
|
|
|
|
invoke-interface {v0, v1}, Lf/c/a/r0;->e(Lf/c/a/p1;)V
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Lf/c/a/a$m;->e:Z
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iput-boolean v1, v0, Lf/c/a/q;->updatePackages:Z
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->G()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final F(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
new-array p3, v0, [Ljava/lang/Object;
|
|
|
|
check-cast p1, Lf/c/a/x0;
|
|
|
|
invoke-virtual {p1, p2, p3}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
invoke-virtual {p0, v0}, Lf/c/a/a;->r(Z)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-virtual {p0, p1}, Lf/c/a/a;->r(Z)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
new-array p2, v0, [Ljava/lang/Object;
|
|
|
|
check-cast p1, Lf/c/a/x0;
|
|
|
|
invoke-virtual {p1, p3, p2}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
const-string p2, ", except the Sdk Click Handler"
|
|
|
|
invoke-static {p3, p2}, Lf/e/b/a/a;->p(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
new-array p3, v0, [Ljava/lang/Object;
|
|
|
|
check-cast p1, Lf/c/a/x0;
|
|
|
|
invoke-virtual {p1, p2, p3}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
iget-object p1, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
new-array p2, v0, [Ljava/lang/Object;
|
|
|
|
check-cast p1, Lf/c/a/x0;
|
|
|
|
invoke-virtual {p1, p4, p2}, Lf/c/a/x0;->c(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Lf/c/a/a;->D()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final G()V
|
|
.locals 5
|
|
|
|
const-class v0, Lf/c/a/q;
|
|
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget-object v2, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-object v2, v2, Lf/c/a/r;->a:Landroid/content/Context;
|
|
|
|
const-string v3, "AdjustIoActivityState"
|
|
|
|
const-string v4, "Activity state"
|
|
|
|
invoke-static {v1, v2, v3, v4}, Lf/c/a/v1;->E(Ljava/lang/Object;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public a()Lf/c/a/p1;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->n:Lf/c/a/p1;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public b(Lf/c/a/j1;)V
|
|
.locals 3
|
|
|
|
instance-of v0, p1, Lf/c/a/q1;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->l:Lf/c/a/p0;
|
|
|
|
check-cast p1, Lf/c/a/q1;
|
|
|
|
check-cast v0, Lf/c/a/c0;
|
|
|
|
iget-object v1, v0, Lf/c/a/c0;->a:Lf/c/a/l0;
|
|
|
|
new-instance v2, Lf/c/a/e0;
|
|
|
|
invoke-direct {v2, v0, p1}, Lf/c/a/e0;-><init>(Lf/c/a/c0;Lf/c/a/q1;)V
|
|
|
|
iget-object p1, v1, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
instance-of v0, p1, Lf/c/a/o1;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
check-cast p1, Lf/c/a/o1;
|
|
|
|
iget-boolean v0, p1, Lf/c/a/o1;->h:Z
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget-wide v1, p1, Lf/c/a/o1;->i:J
|
|
|
|
iput-wide v1, v0, Lf/c/a/q;->clickTime:J
|
|
|
|
iget-wide v1, p1, Lf/c/a/o1;->j:J
|
|
|
|
iput-wide v1, v0, Lf/c/a/q;->installBegin:J
|
|
|
|
iget-object v1, p1, Lf/c/a/o1;->k:Ljava/lang/String;
|
|
|
|
iput-object v1, v0, Lf/c/a/q;->installReferrer:Ljava/lang/String;
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->G()V
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Lf/c/a/a;->l:Lf/c/a/p0;
|
|
|
|
check-cast v0, Lf/c/a/c0;
|
|
|
|
iget-object v1, v0, Lf/c/a/c0;->a:Lf/c/a/l0;
|
|
|
|
new-instance v2, Lf/c/a/f0;
|
|
|
|
invoke-direct {v2, v0, p1}, Lf/c/a/f0;-><init>(Lf/c/a/c0;Lf/c/a/o1;)V
|
|
|
|
iget-object p1, v1, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
instance-of v0, p1, Lf/c/a/n0;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
check-cast p1, Lf/c/a/n0;
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/b;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/c/a/b;-><init>(Lf/c/a/a;Lf/c/a/n0;)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
:cond_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public c()Lf/c/a/m0;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->i:Lf/c/a/m0;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public d()Lf/c/a/q;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e(Lf/c/a/q1;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$c;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/c/a/a$c;-><init>(Lf/c/a/a;Lf/c/a/q1;)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public f()Lf/c/a/r;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g(Lf/c/a/i0;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$d;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/c/a/a$d;-><init>(Lf/c/a/a;Lf/c/a/i0;)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getContext()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-object v0, v0, Lf/c/a/r;->a:Landroid/content/Context;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public h()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$l;
|
|
|
|
invoke-direct {v1, p0}, Lf/c/a/a$l;-><init>(Lf/c/a/a;)V
|
|
|
|
iget-object v0, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public i(JJLjava/lang/String;)V
|
|
.locals 9
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v8, Lf/c/a/a$a;
|
|
|
|
move-object v1, v8
|
|
|
|
move-object v2, p0
|
|
|
|
move-wide v3, p1
|
|
|
|
move-wide v5, p3
|
|
|
|
move-object v7, p5
|
|
|
|
invoke-direct/range {v1 .. v7}, Lf/c/a/a$a;-><init>(Lf/c/a/a;JJLjava/lang/String;)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v8}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public isEnabled()Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->o()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public j(Lf/c/a/o1;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$b;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/c/a/a$b;-><init>(Lf/c/a/a;Lf/c/a/o1;)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public k(Z)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$k;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/c/a/a$k;-><init>(Lf/c/a/a;Z)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public l(Lf/c/a/s;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$j;
|
|
|
|
invoke-direct {v1, p0, p1}, Lf/c/a/a$j;-><init>(Lf/c/a/a;Lf/c/a/s;)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final n(Lf/c/a/q;)Z
|
|
.locals 3
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->d:Lf/c/a/q0;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [Ljava/lang/Object;
|
|
|
|
check-cast p1, Lf/c/a/x0;
|
|
|
|
const-string v2, "Missing activity state"
|
|
|
|
invoke-virtual {p1, v2, v1}, Lf/c/a/x0;->b(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final o()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, v0, Lf/c/a/q;->enabled:Z
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean v0, v0, Lf/c/a/a$m;->a:Z
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public onPause()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, v0, Lf/c/a/a$m;->c:Z
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$i;
|
|
|
|
invoke-direct {v1, p0}, Lf/c/a/a$i;-><init>(Lf/c/a/a;)V
|
|
|
|
iget-object v0, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onResume()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Lf/c/a/a$m;->c:Z
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$g;
|
|
|
|
invoke-direct {v1, p0}, Lf/c/a/a$g;-><init>(Lf/c/a/a;)V
|
|
|
|
iget-object v0, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final p(Landroid/os/Handler;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-object v0, v0, Lf/c/a/r;->h:Lf/c/a/y0;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance v0, Lf/c/a/a$h;
|
|
|
|
invoke-direct {v0, p0}, Lf/c/a/a$h;-><init>(Lf/c/a/a;)V
|
|
|
|
invoke-virtual {p1, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final q()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->l:Lf/c/a/p0;
|
|
|
|
check-cast v0, Lf/c/a/c0;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
iput-boolean v1, v0, Lf/c/a/c0;->f:Z
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->b:Lf/c/a/r0;
|
|
|
|
invoke-interface {v0}, Lf/c/a/r0;->a()V
|
|
|
|
invoke-virtual {p0, v1}, Lf/c/a/a;->x(Z)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->m:Lf/c/a/u0;
|
|
|
|
check-cast v0, Lf/c/a/k1;
|
|
|
|
iput-boolean v1, v0, Lf/c/a/k1;->a:Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/c/a/a;->m:Lf/c/a/u0;
|
|
|
|
check-cast v0, Lf/c/a/k1;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iput-boolean v1, v0, Lf/c/a/k1;->a:Z
|
|
|
|
iget-object v1, v0, Lf/c/a/k1;->e:Lf/c/a/l0;
|
|
|
|
new-instance v2, Lf/c/a/m1;
|
|
|
|
invoke-direct {v2, v0}, Lf/c/a/m1;-><init>(Lf/c/a/k1;)V
|
|
|
|
iget-object v0, v1, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final r(Z)Z
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean p1, p1, Lf/c/a/a$m;->b:Z
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->o()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return v0
|
|
|
|
:cond_2
|
|
iget-object p1, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean p1, p1, Lf/c/a/a$m;->b:Z
|
|
|
|
if-nez p1, :cond_4
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->o()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean p1, p1, Lf/c/a/a$m;->d:Z
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const/4 v0, 0x0
|
|
|
|
:cond_4
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public final s()V
|
|
.locals 3
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->o()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lf/c/a/a;->m:Lf/c/a/u0;
|
|
|
|
check-cast v0, Lf/c/a/k1;
|
|
|
|
iget-object v1, v0, Lf/c/a/k1;->e:Lf/c/a/l0;
|
|
|
|
new-instance v2, Lf/c/a/l1;
|
|
|
|
invoke-direct {v2, v0}, Lf/c/a/l1;-><init>(Lf/c/a/k1;)V
|
|
|
|
iget-object v0, v1, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public t(Ljava/lang/String;Z)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->a:Lf/c/a/l0;
|
|
|
|
new-instance v1, Lf/c/a/a$f;
|
|
|
|
invoke-direct {v1, p0, p2, p1}, Lf/c/a/a$f;-><init>(Lf/c/a/a;ZLjava/lang/String;)V
|
|
|
|
iget-object p1, v0, Lf/c/a/l0;->a:Ljava/util/concurrent/ScheduledThreadPoolExecutor;
|
|
|
|
invoke-virtual {p1, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final u()V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->f:Lf/c/a/u1;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-virtual {p0}, Lf/c/a/a;->w()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lf/c/a/a;->f:Lf/c/a/u1;
|
|
|
|
invoke-virtual {v0}, Lf/c/a/u1;->b()J
|
|
|
|
move-result-wide v0
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
if-lez v4, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lf/c/a/a;->f:Lf/c/a/u1;
|
|
|
|
sget-wide v1, Lf/c/a/a;->q:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Lf/c/a/u1;->c(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final v()V
|
|
.locals 8
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->e:Lf/c/a/t1;
|
|
|
|
iget-boolean v1, v0, Lf/c/a/t1;->g:Z
|
|
|
|
const/4 v2, 0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
iget-object v1, v0, Lf/c/a/t1;->h:Lf/c/a/q0;
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
iget-object v0, v0, Lf/c/a/t1;->c:Ljava/lang/String;
|
|
|
|
aput-object v0, v2, v3
|
|
|
|
check-cast v1, Lf/c/a/x0;
|
|
|
|
const-string v0, "%s is already suspended"
|
|
|
|
invoke-virtual {v1, v0, v2}, Lf/c/a/x0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, v0, Lf/c/a/t1;->b:Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
sget-object v4, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
invoke-interface {v1, v4}, Ljava/util/concurrent/ScheduledFuture;->getDelay(Ljava/util/concurrent/TimeUnit;)J
|
|
|
|
move-result-wide v4
|
|
|
|
iput-wide v4, v0, Lf/c/a/t1;->e:J
|
|
|
|
iget-object v1, v0, Lf/c/a/t1;->b:Ljava/util/concurrent/ScheduledFuture;
|
|
|
|
invoke-interface {v1, v3}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z
|
|
|
|
sget-object v1, Lf/c/a/v1;->a:Ljava/text/DecimalFormat;
|
|
|
|
iget-wide v4, v0, Lf/c/a/t1;->e:J
|
|
|
|
long-to-double v4, v4
|
|
|
|
const-wide v6, 0x408f400000000000L # 1000.0
|
|
|
|
div-double/2addr v4, v6
|
|
|
|
invoke-virtual {v1, v4, v5}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v4, v0, Lf/c/a/t1;->h:Lf/c/a/q0;
|
|
|
|
const/4 v5, 0x2
|
|
|
|
new-array v5, v5, [Ljava/lang/Object;
|
|
|
|
iget-object v6, v0, Lf/c/a/t1;->c:Ljava/lang/String;
|
|
|
|
aput-object v6, v5, v3
|
|
|
|
aput-object v1, v5, v2
|
|
|
|
check-cast v4, Lf/c/a/x0;
|
|
|
|
const-string v1, "%s suspended with %s seconds left"
|
|
|
|
invoke-virtual {v4, v1, v5}, Lf/c/a/x0;->d(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iput-boolean v2, v0, Lf/c/a/t1;->g:Z
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final w()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, v0}, Lf/c/a/a;->x(Z)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final x(Z)Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0, p1}, Lf/c/a/a;->r(Z)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
:cond_0
|
|
iget-object p1, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-boolean p1, p1, Lf/c/a/r;->p:Z
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
iget-object p1, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean p1, p1, Lf/c/a/a$m;->c:Z
|
|
|
|
xor-int/2addr p1, v0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final y(J)V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget-wide v1, v0, Lf/c/a/q;->lastActivity:J
|
|
|
|
sub-long v1, p1, v1
|
|
|
|
iget v3, v0, Lf/c/a/q;->sessionCount:I
|
|
|
|
const/4 v4, 0x1
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
iput v3, v0, Lf/c/a/q;->sessionCount:I
|
|
|
|
iput-wide v1, v0, Lf/c/a/q;->lastInterval:J
|
|
|
|
invoke-virtual {p0, p1, p2}, Lf/c/a/a;->z(J)V
|
|
|
|
iget-object v0, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iput v4, v0, Lf/c/a/q;->subsessionCount:I
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
iput-wide v1, v0, Lf/c/a/q;->sessionLength:J
|
|
|
|
iput-wide v1, v0, Lf/c/a/q;->timeSpent:J
|
|
|
|
iput-wide p1, v0, Lf/c/a/q;->lastActivity:J
|
|
|
|
const-wide/16 p1, -0x1
|
|
|
|
iput-wide p1, v0, Lf/c/a/q;->lastInterval:J
|
|
|
|
invoke-virtual {p0}, Lf/c/a/a;->G()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final z(J)V
|
|
.locals 8
|
|
|
|
new-instance v7, Lf/c/a/f1;
|
|
|
|
iget-object v1, p0, Lf/c/a/a;->j:Lf/c/a/r;
|
|
|
|
iget-object v2, p0, Lf/c/a/a;->i:Lf/c/a/m0;
|
|
|
|
iget-object v3, p0, Lf/c/a/a;->c:Lf/c/a/q;
|
|
|
|
iget-object v4, p0, Lf/c/a/a;->n:Lf/c/a/p1;
|
|
|
|
move-object v0, v7
|
|
|
|
move-wide v5, p1
|
|
|
|
invoke-direct/range {v0 .. v6}, Lf/c/a/f1;-><init>(Lf/c/a/r;Lf/c/a/m0;Lf/c/a/q;Lf/c/a/p1;J)V
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->h:Lf/c/a/a$m;
|
|
|
|
iget-boolean p1, p1, Lf/c/a/a$m;->d:Z
|
|
|
|
invoke-virtual {v7, p1}, Lf/c/a/f1;->j(Z)Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object p2, Lf/c/a/o;->e:Lf/c/a/o;
|
|
|
|
invoke-virtual {v7, p2}, Lf/c/a/f1;->k(Lf/c/a/o;)Lf/c/a/p;
|
|
|
|
move-result-object p2
|
|
|
|
const-string v0, "/session"
|
|
|
|
iput-object v0, p2, Lf/c/a/p;->path:Ljava/lang/String;
|
|
|
|
const-string v0, ""
|
|
|
|
iput-object v0, p2, Lf/c/a/p;->suffix:Ljava/lang/String;
|
|
|
|
iput-object p1, p2, Lf/c/a/p;->parameters:Ljava/util/Map;
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->b:Lf/c/a/r0;
|
|
|
|
invoke-interface {p1, p2}, Lf/c/a/r0;->d(Lf/c/a/p;)V
|
|
|
|
iget-object p1, p0, Lf/c/a/a;->b:Lf/c/a/r0;
|
|
|
|
invoke-interface {p1}, Lf/c/a/r0;->b()V
|
|
|
|
return-void
|
|
.end method
|