.class public final Lcom/google/android/gms/measurement/AppMeasurementJobService;
.super Landroid/app/job/JobService;
.source ""

# interfaces
.implements Lj6/o5;


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0x18
.end annotation


# instance fields
.field public r:Lj6/p5;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lj6/p5<",
            "Lcom/google/android/gms/measurement/AppMeasurementJobService;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Landroid/app/job/JobService;-><init>()V

    return-void
.end method


# virtual methods
.method public final a()Lj6/p5;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lj6/p5<",
            "Lcom/google/android/gms/measurement/AppMeasurementJobService;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurementJobService;->r:Lj6/p5;

    if-nez v0, :cond_b

    new-instance v0, Lj6/p5;

    invoke-direct {v0, p0}, Lj6/p5;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurementJobService;->r:Lj6/p5;

    :cond_b
    iget-object v0, p0, Lcom/google/android/gms/measurement/AppMeasurementJobService;->r:Lj6/p5;

    return-object v0
.end method

.method public final e(I)Z
    .registers 2

    new-instance p1, Ljava/lang/UnsupportedOperationException;

    invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V

    throw p1
.end method

.method public final f(Landroid/content/Intent;)V
    .registers 2

    return-void
.end method

.method public final g(Landroid/app/job/JobParameters;Z)V
    .registers 3
    .annotation build Landroid/annotation/TargetApi;
        value = 0x18
    .end annotation

    const/4 p2, 0x0

    invoke-virtual {p0, p1, p2}, Landroid/app/job/JobService;->jobFinished(Landroid/app/job/JobParameters;Z)V

    return-void
.end method

.method public onCreate()V
    .registers 3

    invoke-super {p0}, Landroid/app/Service;->onCreate()V

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/AppMeasurementJobService;->a()Lj6/p5;

    move-result-object v0

    .line 1
    iget-object v0, v0, Lj6/p5;->a:Landroid/content/Context;

    const/4 v1, 0x0

    invoke-static {v0, v1, v1}, Lcom/google/android/gms/measurement/internal/d;->u(Landroid/content/Context;Lg6/y0;Ljava/lang/Long;)Lcom/google/android/gms/measurement/internal/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 2
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v1, "Local AppMeasurementService is starting up"

    .line 3
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    return-void
.end method

.method public onDestroy()V
    .registers 3

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/AppMeasurementJobService;->a()Lj6/p5;

    move-result-object v0

    .line 1
    iget-object v0, v0, Lj6/p5;->a:Landroid/content/Context;

    const/4 v1, 0x0

    invoke-static {v0, v1, v1}, Lcom/google/android/gms/measurement/internal/d;->u(Landroid/content/Context;Lg6/y0;Ljava/lang/Long;)Lcom/google/android/gms/measurement/internal/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v0

    .line 2
    iget-object v0, v0, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v1, "Local AppMeasurementService is shutting down"

    .line 3
    invoke-virtual {v0, v1}, Lj6/e3;->c(Ljava/lang/String;)V

    .line 4
    invoke-super {p0}, Landroid/app/Service;->onDestroy()V

    return-void
.end method

.method public onRebind(Landroid/content/Intent;)V
    .registers 3

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/AppMeasurementJobService;->a()Lj6/p5;

    move-result-object v0

    invoke-virtual {v0, p1}, Lj6/p5;->a(Landroid/content/Intent;)V

    return-void
.end method

.method public onStartJob(Landroid/app/job/JobParameters;)Z
    .registers 7

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/AppMeasurementJobService;->a()Lj6/p5;

    move-result-object v0

    .line 1
    iget-object v1, v0, Lj6/p5;->a:Landroid/content/Context;

    const/4 v2, 0x0

    invoke-static {v1, v2, v2}, Lcom/google/android/gms/measurement/internal/d;->u(Landroid/content/Context;Lg6/y0;Ljava/lang/Long;)Lcom/google/android/gms/measurement/internal/d;

    move-result-object v1

    invoke-virtual {v1}, Lcom/google/android/gms/measurement/internal/d;->s()Lcom/google/android/gms/measurement/internal/b;

    move-result-object v1

    invoke-virtual {p1}, Landroid/app/job/JobParameters;->getExtras()Landroid/os/PersistableBundle;

    move-result-object v2

    const-string v3, "action"

    invoke-virtual {v2, v3}, Landroid/os/PersistableBundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 2
    iget-object v3, v1, Lcom/google/android/gms/measurement/internal/b;->n:Lj6/e3;

    const-string v4, "Local AppMeasurementJobService called. action"

    .line 3
    invoke-virtual {v3, v4, v2}, Lj6/e3;->d(Ljava/lang/String;Ljava/lang/Object;)V

    const-string v3, "com.google.android.gms.measurement.UPLOAD"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3f

    new-instance v2, Lz5/i3;

    invoke-direct {v2, v0, v1, p1}, Lz5/i3;-><init>(Lj6/p5;Lcom/google/android/gms/measurement/internal/b;Landroid/app/job/JobParameters;)V

    .line 4
    iget-object p1, v0, Lj6/p5;->a:Landroid/content/Context;

    invoke-static {p1}, Lj6/b6;->O(Landroid/content/Context;)Lj6/b6;

    move-result-object p1

    invoke-virtual {p1}, Lj6/b6;->c()Lj6/d4;

    move-result-object v0

    new-instance v1, Lz5/j2;

    invoke-direct {v1, p1, v2}, Lz5/j2;-><init>(Lj6/b6;Ljava/lang/Runnable;)V

    invoke-virtual {v0, v1}, Lj6/d4;->r(Ljava/lang/Runnable;)V

    :cond_3f
    const/4 p1, 0x1

    return p1
.end method

.method public onStopJob(Landroid/app/job/JobParameters;)Z
    .registers 2

    const/4 p1, 0x0

    return p1
.end method

.method public onUnbind(Landroid/content/Intent;)Z
    .registers 3

    invoke-virtual {p0}, Lcom/google/android/gms/measurement/AppMeasurementJobService;->a()Lj6/p5;

    move-result-object v0

    invoke-virtual {v0, p1}, Lj6/p5;->b(Landroid/content/Intent;)Z

    const/4 p1, 0x1

    return p1
.end method
