PathOperFunc$TaskCtrlObserver.smali
.class Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;
.super Ljava/lang/Object;
.source "PathOperFunc.java"
# interfaces
.implements Lcom/cleanmaster/junk/scan/IScanTaskControllerObserver;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/cleanmaster/util/path/PathOperFunc;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "TaskCtrlObserver"
.end annotation
# instance fields
.field private mPauseTime:J
.field private mStartPauseTime:J
# direct methods
.method private constructor <init>()V
.registers 3
.prologue
const-wide/16 v0, 0x0
.line 266
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 268
iput-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mPauseTime:J
.line 269
iput-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mStartPauseTime:J
return-void
.end method
.method synthetic constructor <init>(Lcom/cleanmaster/util/path/PathOperFunc$1;)V
.registers 2
.prologue
.line 266
invoke-direct {p0}, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;-><init>()V
return-void
.end method
# virtual methods
.method public getAllPauseTime()J
.registers 3
.prologue
.line 302
iget-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mPauseTime:J
return-wide v0
.end method
.method public pause(J)V
.registers 6
.prologue
.line 293
const-wide/16 v0, 0x0
cmp-long v0, p1, v0
if-lez v0, :cond_c
.line 294
iget-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mPauseTime:J
add-long/2addr v0, p1
iput-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mPauseTime:J
.line 299
:goto_b
return-void
.line 298
:cond_c
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mStartPauseTime:J
goto :goto_b
.end method
.method public reset()V
.registers 1
.prologue
.line 289
return-void
.end method
.method public resume()V
.registers 9
.prologue
const-wide/16 v6, 0x0
.line 281
iget-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mStartPauseTime:J
cmp-long v0, v0, v6
if-lez v0, :cond_16
.line 282
iget-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mPauseTime:J
invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
move-result-wide v2
iget-wide v4, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mStartPauseTime:J
sub-long/2addr v2, v4
add-long/2addr v0, v2
iput-wide v0, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mPauseTime:J
.line 283
iput-wide v6, p0, Lcom/cleanmaster/util/path/PathOperFunc$TaskCtrlObserver;->mStartPauseTime:J
.line 285
:cond_16
return-void
.end method
.method public stop()V
.registers 1
.prologue
.line 277
return-void
.end method
.method public timeout()V
.registers 1
.prologue
.line 273
return-void
.end method