229 lines
5.7 KiB
Smali
229 lines
5.7 KiB
Smali
.class public final Lcom/google/android/gms/analytics/AnalyticsJobService;
|
|
.super Landroid/app/job/JobService;
|
|
|
|
# interfaces
|
|
.implements Lf/h/a/f/h/i/c1;
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroid/annotation/TargetApi;
|
|
value = 0x18
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public d:Lf/h/a/f/h/i/y0;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lf/h/a/f/h/i/y0<",
|
|
"Lcom/google/android/gms/analytics/AnalyticsJobService;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Landroid/app/job/JobService;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Landroid/app/job/JobParameters;Z)V
|
|
.locals 0
|
|
.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 final b(I)Z
|
|
.locals 0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/app/job/JobService;->stopSelfResult(I)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final c()Lf/h/a/f/h/i/y0;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lf/h/a/f/h/i/y0<",
|
|
"Lcom/google/android/gms/analytics/AnalyticsJobService;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/analytics/AnalyticsJobService;->d:Lf/h/a/f/h/i/y0;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Lf/h/a/f/h/i/y0;
|
|
|
|
invoke-direct {v0, p0}, Lf/h/a/f/h/i/y0;-><init>(Landroid/content/Context;)V
|
|
|
|
iput-object v0, p0, Lcom/google/android/gms/analytics/AnalyticsJobService;->d:Lf/h/a/f/h/i/y0;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/android/gms/analytics/AnalyticsJobService;->d:Lf/h/a/f/h/i/y0;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final onCreate()V
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/RequiresPermission;
|
|
allOf = {
|
|
"android.permission.INTERNET",
|
|
"android.permission.ACCESS_NETWORK_STATE"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-super {p0}, Landroid/app/job/JobService;->onCreate()V
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/analytics/AnalyticsJobService;->c()Lf/h/a/f/h/i/y0;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/h/a/f/h/i/y0;->b:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lf/h/a/f/h/i/h;->b(Landroid/content/Context;)Lf/h/a/f/h/i/h;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lf/h/a/f/h/i/h;->c()Lf/h/a/f/h/i/r0;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Local AnalyticsService is starting up"
|
|
|
|
invoke-virtual {v0, v1}, Lf/h/a/f/h/i/e;->w(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onDestroy()V
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/RequiresPermission;
|
|
allOf = {
|
|
"android.permission.INTERNET",
|
|
"android.permission.ACCESS_NETWORK_STATE"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/analytics/AnalyticsJobService;->c()Lf/h/a/f/h/i/y0;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lf/h/a/f/h/i/y0;->b:Landroid/content/Context;
|
|
|
|
invoke-static {v0}, Lf/h/a/f/h/i/h;->b(Landroid/content/Context;)Lf/h/a/f/h/i/h;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lf/h/a/f/h/i/h;->c()Lf/h/a/f/h/i/r0;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Local AnalyticsService is shutting down"
|
|
|
|
invoke-virtual {v0, v1}, Lf/h/a/f/h/i/e;->w(Ljava/lang/String;)V
|
|
|
|
invoke-super {p0}, Landroid/app/job/JobService;->onDestroy()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onStartCommand(Landroid/content/Intent;II)I
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresPermission;
|
|
allOf = {
|
|
"android.permission.INTERNET",
|
|
"android.permission.ACCESS_NETWORK_STATE"
|
|
}
|
|
.end annotation
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/analytics/AnalyticsJobService;->c()Lf/h/a/f/h/i/y0;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-virtual {p2, p1, p3}, Lf/h/a/f/h/i/y0;->a(Landroid/content/Intent;I)I
|
|
|
|
const/4 p1, 0x2
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final onStartJob(Landroid/app/job/JobParameters;)Z
|
|
.locals 4
|
|
|
|
invoke-virtual {p0}, Lcom/google/android/gms/analytics/AnalyticsJobService;->c()Lf/h/a/f/h/i/y0;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, v0, Lf/h/a/f/h/i/y0;->b:Landroid/content/Context;
|
|
|
|
invoke-static {v1}, Lf/h/a/f/h/i/h;->b(Landroid/content/Context;)Lf/h/a/f/h/i/h;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lf/h/a/f/h/i/h;->c()Lf/h/a/f/h/i/r0;
|
|
|
|
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
|
|
|
|
const-string v3, "Local AnalyticsJobService called. action"
|
|
|
|
invoke-virtual {v1, v3, v2}, Lf/h/a/f/h/i/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
|
|
|
|
const-string v3, "com.google.android.gms.analytics.ANALYTICS_DISPATCH"
|
|
|
|
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
new-instance v2, Lf/h/a/f/h/i/a1;
|
|
|
|
invoke-direct {v2, v0, v1, p1}, Lf/h/a/f/h/i/a1;-><init>(Lf/h/a/f/h/i/y0;Lf/h/a/f/h/i/r0;Landroid/app/job/JobParameters;)V
|
|
|
|
invoke-virtual {v0, v2}, Lf/h/a/f/h/i/y0;->b(Ljava/lang/Runnable;)V
|
|
|
|
:cond_0
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final onStopJob(Landroid/app/job/JobParameters;)Z
|
|
.locals 0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|