cek.smali

.class public Ldxoptimizer/cek;
.super Ljava/lang/Object;
.source "OsUtils.java"


# direct methods
.method public static a(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/ComponentName;
    .registers 3

    .prologue
    .line 78
    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Ldxoptimizer/cek;->a(Landroid/content/Context;Landroid/content/Intent;Z)Landroid/content/ComponentName;

    move-result-object v0

    return-object v0
.end method

.method public static a(Landroid/content/Context;Landroid/content/Intent;Z)Landroid/content/ComponentName;
    .registers 6

    .prologue
    .line 83
    const/4 v0, 0x0

    .line 85
    if-eqz p2, :cond_e

    :try_start_3
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x1a

    if-lt v1, v2, :cond_e

    .line 86
    invoke-virtual {p0, p1}, Landroid/content/Context;->startForegroundService(Landroid/content/Intent;)Landroid/content/ComponentName;

    move-result-object v0

    .line 96
    :goto_d
    return-object v0

    .line 88
    :cond_e
    invoke-virtual {p0, p1}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
    :try_end_11
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_11} :catch_13

    move-result-object v0

    goto :goto_d

    .line 91
    :catch_13
    move-exception v1

    goto :goto_d
.end method

.method public static a(J)V
    .registers 2

    .prologue
    .line 61
    invoke-static {p0, p1}, Landroid/os/SystemClock;->sleep(J)V

    .line 62
    return-void
.end method

.method public static a(Ljava/lang/Process;)Z
    .registers 2

    .prologue
    .line 24
    :try_start_0
    invoke-virtual {p0}, Ljava/lang/Process;->exitValue()I
    :try_end_3
    .catch Ljava/lang/IllegalThreadStateException; {:try_start_0 .. :try_end_3} :catch_5

    .line 25
    const/4 v0, 0x0

    .line 27
    :goto_4
    return v0

    .line 26
    :catch_5
    move-exception v0

    .line 27
    const/4 v0, 0x1

    goto :goto_4
.end method