granularity level: instruction
.class public Lcom/google/android/gms/cloudmessaging/Rpc;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-cloud-messaging@@17.0.0"
.field private static zza:I
.field private static zzb:Landroid/app/PendingIntent;
.field private static final zzc:Ljava/util/concurrent/Executor;
.field private static final zzd:Ljava/util/regex/Pattern;
.field private final zze:Landroidx/collection/SimpleArrayMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/collection/SimpleArrayMap<",
"Ljava/lang/String;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"Landroid/os/Bundle;",
">;>;"
}
.end annotation
.end field
.field private final zzf:Landroid/content/Context;
.field private final zzg:Lcom/google/android/gms/cloudmessaging/zzt;
.field private final zzh:Ljava/util/concurrent/ScheduledExecutorService;
.field private zzi:Landroid/os/Messenger;
.field private zzj:Landroid/os/Messenger;
.field private zzk:Lcom/google/android/gms/cloudmessaging/zzd;
.method static constructor <clinit>()V
.locals 1
sget-object v0, Lcom/google/android/gms/cloudmessaging/zzz;->zza:Lcom/google/android/gms/cloudmessaging/zzz;
sput-object v0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzc:Ljava/util/concurrent/Executor;
const-string v0, "\\|ID\\|([^|]+)\\|:?+(.*)"
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
sput-object v0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzd:Ljava/util/regex/Pattern;
return-void
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Landroidx/collection/SimpleArrayMap;
invoke-direct {v0}, Landroidx/collection/SimpleArrayMap;-><init>()V
iput-object v0, p0, Lcom/google/android/gms/cloudmessaging/Rpc;->zze:Landroidx/collection/SimpleArrayMap;
iput-object p1, p0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzf:Landroid/content/Context;
new-instance v0, Lcom/google/android/gms/cloudmessaging/zzt;
invoke-direct {v0, p1}, Lcom/google/android/gms/cloudmessaging/zzt;-><init>(Landroid/content/Context;)V
iput-object v0, p0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzg:Lcom/google/android/gms/cloudmessaging/zzt;
new-instance p1, Landroid/os/Messenger;
new-instance v0, Lcom/google/android/gms/cloudmessaging/zzaa;
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v0, p0, v1}, Lcom/google/android/gms/cloudmessaging/zzaa;-><init>(Lcom/google/android/gms/cloudmessaging/Rpc;Landroid/os/Looper;)V
invoke-direct {p1, v0}, Landroid/os/Messenger;-><init>(Landroid/os/Handler;)V
iput-object p1, p0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzi:Landroid/os/Messenger;
new-instance p1, Ljava/util/concurrent/ScheduledThreadPoolExecutor;
const/4 v0, 0x1
invoke-direct {p1, v0}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;-><init>(I)V
sget-object v1, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
const-wide/16 v2, 0x3c
invoke-virtual {p1, v2, v3, v1}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->setKeepAliveTime(JLjava/util/concurrent/TimeUnit;)V
invoke-virtual {p1, v0}, Ljava/util/concurrent/ScheduledThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
iput-object p1, p0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzh:Ljava/util/concurrent/ScheduledExecutorService;
return-void
.end method
.method static synthetic zza(Landroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method static bridge synthetic zzc(Lcom/google/android/gms/cloudmessaging/Rpc;Landroid/os/Message;)V
.locals 7
return-void
.end method
.method private final zze(Landroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/os/Bundle;",
")",
"Lcom/google/android/gms/tasks/Task<",
"Landroid/os/Bundle;",
">;"
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method private static declared-synchronized zzf()Ljava/lang/String;
.locals 3
const/4 v0, 0x0
return-object v0
.end method
.method private static declared-synchronized zzg(Landroid/content/Context;Landroid/content/Intent;)V
.locals 4
return-void
.end method
.method private final zzh(Ljava/lang/String;Landroid/os/Bundle;)V
.locals 3
return-void
.end method
.method private static zzi(Landroid/os/Bundle;)Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public send(Landroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/os/Bundle;",
")",
"Lcom/google/android/gms/tasks/Task<",
"Landroid/os/Bundle;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzg:Lcom/google/android/gms/cloudmessaging/zzt;
invoke-virtual {v0}, Lcom/google/android/gms/cloudmessaging/zzt;->zza()I
move-result v0
const v1, 0xb71b00
iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzf:Landroid/content/Context;
invoke-static {v0}, Lcom/google/android/gms/cloudmessaging/zzs;->zzb(Landroid/content/Context;)Lcom/google/android/gms/cloudmessaging/zzs;
move-result-object v0
const/4 v1, 0x1
invoke-virtual {v0, v1, p1}, Lcom/google/android/gms/cloudmessaging/zzs;->zzd(ILandroid/os/Bundle;)Lcom/google/android/gms/tasks/Task;
move-result-object p1
sget-object v0, Lcom/google/android/gms/cloudmessaging/Rpc;->zzc:Ljava/util/concurrent/Executor;
sget-object v1, Lcom/google/android/gms/cloudmessaging/zzv;->zza:Lcom/google/android/gms/cloudmessaging/zzv;
invoke-virtual {p1, v0, v1}, Lcom/google/android/gms/tasks/Task;->continueWith(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/Continuation;)Lcom/google/android/gms/tasks/Task;
move-result-object p1
return-object p1
.end method
.method public final synthetic zzb(Landroid/os/Bundle;Lcom/google/android/gms/tasks/Task;)Lcom/google/android/gms/tasks/Task;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const/4 v0, 0x0
return-object v0
.end method
.method public final synthetic zzd(Ljava/lang/String;Ljava/util/concurrent/ScheduledFuture;Lcom/google/android/gms/tasks/Task;)V
.locals 1
return-void
.end method