UserStopActionDetectWatcher.smali
.class public Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
.super Ljava/lang/Object;
.source "UserStopActionDetectWatcher.java"
# static fields
.field private static mInstance:Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
# instance fields
.field private mContext:Landroid/content/Context;
.field private mMonitorUserStopActionThread:Ljava/lang/Thread;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 11
const/4 v0, 0x0
sput-object v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mInstance:Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
return-void
.end method
.method public constructor <init>()V
.registers 2
.prologue
const/4 v0, 0x0
.line 14
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 12
iput-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mContext:Landroid/content/Context;
.line 13
iput-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mMonitorUserStopActionThread:Ljava/lang/Thread;
.line 16
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v0
iput-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mContext:Landroid/content/Context;
.line 17
return-void
.end method
.method public static getInstance()Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
.registers 1
.prologue
.line 19
sget-object v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mInstance:Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
if-nez v0, :cond_b
.line 20
new-instance v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;-><init>()V
sput-object v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mInstance:Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
.line 22
:cond_b
sget-object v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mInstance:Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;
return-object v0
.end method
# virtual methods
.method public start(Ljava/lang/String;ZZLjava/lang/Class;)V
.registers 12
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"ZZ",
"Ljava/lang/Class",
"<*>;)V"
}
.end annotation
.prologue
.line 26
new-instance v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread;
iget-object v1, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mContext:Landroid/content/Context;
const/4 v6, 0x0
move-object v2, p1
move v3, p2
move v4, p3
move-object v5, p4
invoke-direct/range {v0 .. v6}, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread;-><init>(Landroid/content/Context;Ljava/lang/String;ZZLjava/lang/Class;Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread$UserStopActionDetectThreadCallback;)V
iput-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mMonitorUserStopActionThread:Ljava/lang/Thread;
.line 27
iget-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mMonitorUserStopActionThread:Ljava/lang/Thread;
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
.line 28
return-void
.end method
.method public start(Ljava/lang/String;ZZZLjava/lang/Class;Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread$UserStopActionDetectThreadCallback;)V
.registers 17
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"ZZZ",
"Ljava/lang/Class",
"<*>;",
"Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread$UserStopActionDetectThreadCallback;",
")V"
}
.end annotation
.prologue
.line 35
new-instance v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread;
iget-object v1, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mContext:Landroid/content/Context;
const/4 v5, 0x1
const/4 v7, 0x1
move-object v2, p1
move v3, p2
move v4, p3
move v6, p4
move-object v8, p5
move-object/from16 v9, p6
invoke-direct/range {v0 .. v9}, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread;-><init>(Landroid/content/Context;Ljava/lang/String;ZZZZZLjava/lang/Class;Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread$UserStopActionDetectThreadCallback;)V
iput-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mMonitorUserStopActionThread:Ljava/lang/Thread;
.line 37
iget-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mMonitorUserStopActionThread:Ljava/lang/Thread;
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
.line 38
return-void
.end method
.method public startCheckForceStop(Ljava/lang/String;Ljava/lang/Class;Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread$UserStopActionDetectThreadCallback;)V
.registers 14
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/lang/Class",
"<*>;",
"Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread$UserStopActionDetectThreadCallback;",
")V"
}
.end annotation
.prologue
const/4 v3, 0x1
.line 45
new-instance v0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread;
iget-object v1, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mContext:Landroid/content/Context;
const/4 v7, 0x0
move-object v2, p1
move v4, v3
move v5, v3
move v6, v3
move-object v8, p2
move-object v9, p3
invoke-direct/range {v0 .. v9}, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread;-><init>(Landroid/content/Context;Ljava/lang/String;ZZZZZLjava/lang/Class;Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectThread$UserStopActionDetectThreadCallback;)V
iput-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mMonitorUserStopActionThread:Ljava/lang/Thread;
.line 48
iget-object v0, p0, Lcom/cleanmaster/hpsharelib/ui/app/UserStopActionDetectWatcher;->mMonitorUserStopActionThread:Ljava/lang/Thread;
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
.line 49
return-void
.end method