granularity level: instruction
.class public abstract Lcom/google/android/gms/common/internal/BaseGmsClient;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-basement@@18.1.0"
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;,
Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;,
Lcom/google/android/gms/common/internal/BaseGmsClient$LegacyClientCallbackAdapter;,
Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;,
Lcom/google/android/gms/common/internal/BaseGmsClient$SignOutCallbacks;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Landroid/os/IInterface;",
">",
"Ljava/lang/Object;"
}
.end annotation
.field public static final CONNECT_STATE_CONNECTED:I = 0x4
.field public static final CONNECT_STATE_DISCONNECTED:I = 0x1
.field public static final CONNECT_STATE_DISCONNECTING:I = 0x5
.field public static final DEFAULT_ACCOUNT:Ljava/lang/String; = "<>"
.field public static final GOOGLE_PLUS_REQUIRED_FEATURES:[Ljava/lang/String;
.field public static final KEY_PENDING_INTENT:Ljava/lang/String; = "pendingIntent"
.field private static final zze:[Lcom/google/android/gms/common/Feature;
.field private volatile zzA:Ljava/lang/String;
.field private zzB:Lcom/google/android/gms/common/ConnectionResult;
.field private zzC:Z
.field private volatile zzD:Lcom/google/android/gms/common/internal/zzj;
.field zza:Lcom/google/android/gms/common/internal/zzu;
.field final zzb:Landroid/os/Handler;
.field protected zzc:Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;
.field protected zzd:Ljava/util/concurrent/atomic/AtomicInteger;
.field private zzf:I
.field private zzg:J
.field private zzh:J
.field private zzi:I
.field private zzj:J
.field private volatile zzk:Ljava/lang/String;
.field private final zzl:Landroid/content/Context;
.field private final zzm:Landroid/os/Looper;
.field private final zzn:Lcom/google/android/gms/common/internal/GmsClientSupervisor;
.field private final zzo:Lcom/google/android/gms/common/GoogleApiAvailabilityLight;
.field private final zzp:Ljava/lang/Object;
.field private final zzq:Ljava/lang/Object;
.field private zzr:Lcom/google/android/gms/common/internal/IGmsServiceBroker;
.field private zzs:Landroid/os/IInterface;
.field private final zzt:Ljava/util/ArrayList;
.field private zzu:Lcom/google/android/gms/common/internal/zze;
.field private zzv:I
.field private final zzw:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;
.field private final zzx:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;
.field private final zzy:I
.field private final zzz:Ljava/lang/String;
.method static constructor <clinit>()V
.locals 2
const/4 v0, 0x0
new-array v0, v0, [Lcom/google/android/gms/common/Feature;
sput-object v0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zze:[Lcom/google/android/gms/common/Feature;
const-string v0, "service_esmobile"
const-string v1, "service_googleme"
filled-new-array {v0, v1}, [Ljava/lang/String;
move-result-object v0
sput-object v0, Lcom/google/android/gms/common/internal/BaseGmsClient;->GOOGLE_PLUS_REQUIRED_FEATURES:[Ljava/lang/String;
return-void
.end method
.method protected constructor <init>(Landroid/content/Context;Landroid/os/Handler;Lcom/google/android/gms/common/internal/GmsClientSupervisor;Lcom/google/android/gms/common/GoogleApiAvailabilityLight;ILcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;)V
.locals 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzk:Ljava/lang/String;
new-instance v1, Ljava/lang/Object;
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
iput-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
new-instance v1, Ljava/lang/Object;
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
iput-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzq:Ljava/lang/Object;
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzt:Ljava/util/ArrayList;
const/4 v1, 0x1
iput v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzB:Lcom/google/android/gms/common/ConnectionResult;
const/4 v1, 0x0
iput-boolean v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzC:Z
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzD:Lcom/google/android/gms/common/internal/zzj;
new-instance v2, Ljava/util/concurrent/atomic/AtomicInteger;
invoke-direct {v2, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
iput-object v2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
const-string v1, "Context must not be null"
invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl:Landroid/content/Context;
const-string p1, "Handler must not be null"
invoke-static {p2, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
invoke-virtual {p2}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object p1
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzm:Landroid/os/Looper;
const-string p1, "Supervisor must not be null"
invoke-static {p3, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p3, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzn:Lcom/google/android/gms/common/internal/GmsClientSupervisor;
const-string p1, "API availability must not be null"
invoke-static {p4, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzo:Lcom/google/android/gms/common/GoogleApiAvailabilityLight;
iput p5, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzy:I
iput-object p6, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzw:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;
iput-object p7, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzx:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzz:Ljava/lang/String;
return-void
.end method
.method protected constructor <init>(Landroid/content/Context;Landroid/os/Looper;ILcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;Ljava/lang/String;)V
.locals 9
invoke-static {p1}, Lcom/google/android/gms/common/internal/GmsClientSupervisor;->getInstance(Landroid/content/Context;)Lcom/google/android/gms/common/internal/GmsClientSupervisor;
move-result-object v3
invoke-static {}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->getInstance()Lcom/google/android/gms/common/GoogleApiAvailabilityLight;
move-result-object v4
invoke-static {p4}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
invoke-static {p5}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-object v0, p0
move-object v1, p1
move-object v2, p2
move v5, p3
move-object v6, p4
move-object v7, p5
move-object v8, p6
invoke-direct/range {v0 .. v8}, Lcom/google/android/gms/common/internal/BaseGmsClient;-><init>(Landroid/content/Context;Landroid/os/Looper;Lcom/google/android/gms/common/internal/GmsClientSupervisor;Lcom/google/android/gms/common/GoogleApiAvailabilityLight;ILcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;Ljava/lang/String;)V
return-void
.end method
.method protected constructor <init>(Landroid/content/Context;Landroid/os/Looper;Lcom/google/android/gms/common/internal/GmsClientSupervisor;Lcom/google/android/gms/common/GoogleApiAvailabilityLight;ILcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;Ljava/lang/String;)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzk:Ljava/lang/String;
new-instance v1, Ljava/lang/Object;
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
iput-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
new-instance v1, Ljava/lang/Object;
invoke-direct {v1}, Ljava/lang/Object;-><init>()V
iput-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzq:Ljava/lang/Object;
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
iput-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzt:Ljava/util/ArrayList;
const/4 v1, 0x1
iput v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzB:Lcom/google/android/gms/common/ConnectionResult;
const/4 v1, 0x0
iput-boolean v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzC:Z
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzD:Lcom/google/android/gms/common/internal/zzj;
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
const-string v0, "Context must not be null"
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl:Landroid/content/Context;
const-string p1, "Looper must not be null"
invoke-static {p2, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzm:Landroid/os/Looper;
const-string p1, "Supervisor must not be null"
invoke-static {p3, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p3, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzn:Lcom/google/android/gms/common/internal/GmsClientSupervisor;
const-string p1, "API availability must not be null"
invoke-static {p4, p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzo:Lcom/google/android/gms/common/GoogleApiAvailabilityLight;
new-instance p1, Lcom/google/android/gms/common/internal/zzb;
invoke-direct {p1, p0, p2}, Lcom/google/android/gms/common/internal/zzb;-><init>(Lcom/google/android/gms/common/internal/BaseGmsClient;Landroid/os/Looper;)V
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
iput p5, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzy:I
iput-object p6, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzw:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;
iput-object p7, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzx:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;
iput-object p8, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzz:Ljava/lang/String;
return-void
.end method
.method static bridge synthetic zza(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/ConnectionResult;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzB:Lcom/google/android/gms/common/ConnectionResult;
return-object p0
.end method
.method static bridge synthetic zzb(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzw:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseConnectionCallbacks;
return-object p0
.end method
.method static bridge synthetic zzc(Lcom/google/android/gms/common/internal/BaseGmsClient;)Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzx:Lcom/google/android/gms/common/internal/BaseGmsClient$BaseOnConnectionFailedListener;
return-object p0
.end method
.method static bridge synthetic zzd(Lcom/google/android/gms/common/internal/BaseGmsClient;)Ljava/lang/Object;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzq:Ljava/lang/Object;
return-object p0
.end method
.method static bridge synthetic zzf(Lcom/google/android/gms/common/internal/BaseGmsClient;)Ljava/util/ArrayList;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzt:Ljava/util/ArrayList;
return-object p0
.end method
.method static bridge synthetic zzg(Lcom/google/android/gms/common/internal/BaseGmsClient;Lcom/google/android/gms/common/ConnectionResult;)V
.locals 0
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzB:Lcom/google/android/gms/common/ConnectionResult;
return-void
.end method
.method static bridge synthetic zzh(Lcom/google/android/gms/common/internal/BaseGmsClient;Lcom/google/android/gms/common/internal/IGmsServiceBroker;)V
.locals 0
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzr:Lcom/google/android/gms/common/internal/IGmsServiceBroker;
return-void
.end method
.method static bridge synthetic zzi(Lcom/google/android/gms/common/internal/BaseGmsClient;ILandroid/os/IInterface;)V
.locals 0
const/4 p2, 0x0
invoke-direct {p0, p1, p2}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp(ILandroid/os/IInterface;)V
return-void
.end method
.method static bridge synthetic zzj(Lcom/google/android/gms/common/internal/BaseGmsClient;Lcom/google/android/gms/common/internal/zzj;)V
.locals 0
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzD:Lcom/google/android/gms/common/internal/zzj;
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->usesClientTelemetry()Z
move-result p0
if-eqz p0, :cond_1
iget-object p0, p1, Lcom/google/android/gms/common/internal/zzj;->zzd:Lcom/google/android/gms/common/internal/ConnectionTelemetryConfiguration;
invoke-static {}, Lcom/google/android/gms/common/internal/RootTelemetryConfigManager;->getInstance()Lcom/google/android/gms/common/internal/RootTelemetryConfigManager;
move-result-object p1
if-nez p0, :cond_0
const/4 p0, 0x0
goto :goto_0
:cond_0
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/ConnectionTelemetryConfiguration;->zza()Lcom/google/android/gms/common/internal/RootTelemetryConfiguration;
move-result-object p0
:goto_0
invoke-virtual {p1, p0}, Lcom/google/android/gms/common/internal/RootTelemetryConfigManager;->zza(Lcom/google/android/gms/common/internal/RootTelemetryConfiguration;)V
:cond_1
return-void
.end method
.method static bridge synthetic zzk(Lcom/google/android/gms/common/internal/BaseGmsClient;I)V
.locals 2
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
monitor-enter p1
:try_start_0
iget v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
const/4 p1, 0x3
if-ne v0, p1, :cond_0
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzC:Z
const/4 p1, 0x5
goto :goto_0
:cond_0
const/4 p1, 0x4
:goto_0
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
iget-object p0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result p0
const/16 v1, 0x10
invoke-virtual {v0, p1, p0, v1}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;
move-result-object p0
invoke-virtual {v0, p0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
return-void
:catchall_0
move-exception p0
:try_start_1
monitor-exit p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p0
.end method
.method static bridge synthetic zzm(Lcom/google/android/gms/common/internal/BaseGmsClient;)Z
.locals 0
iget-boolean p0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzC:Z
return p0
.end method
.method static bridge synthetic zzn(Lcom/google/android/gms/common/internal/BaseGmsClient;IILandroid/os/IInterface;)Z
.locals 2
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
monitor-enter v0
:try_start_0
iget v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
if-eq v1, p1, :cond_0
monitor-exit v0
const/4 p0, 0x0
goto :goto_0
:cond_0
invoke-direct {p0, p2, p3}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp(ILandroid/os/IInterface;)V
monitor-exit v0
const/4 p0, 0x1
:goto_0
return p0
:catchall_0
move-exception p0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
.end method
.method static bridge synthetic zzo(Lcom/google/android/gms/common/internal/BaseGmsClient;)Z
.locals 2
iget-boolean v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzC:Z
const/4 v1, 0x0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getServiceDescriptor()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_1
goto :goto_0
:cond_1
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getLocalStartServiceAction()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_2
goto :goto_0
:try_start_0
:cond_2
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getServiceDescriptor()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
const/4 v1, 0x1
:goto_0
:catch_0
return v1
.end method
.method private final zzp(ILandroid/os/IInterface;)V
.locals 12
const/4 v0, 0x4
const/4 v1, 0x0
const/4 v2, 0x1
if-eq p1, v0, :cond_0
const/4 v3, 0x0
goto :goto_0
:cond_0
const/4 v3, 0x1
:goto_0
if-nez p2, :cond_1
const/4 v4, 0x0
goto :goto_1
:cond_1
const/4 v4, 0x1
:goto_1
if-ne v3, v4, :cond_2
const/4 v1, 0x1
:cond_2
invoke-static {v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkArgument(Z)V
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
monitor-enter v1
:try_start_0
iput p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
iput-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzs:Landroid/os/IInterface;
const/4 v3, 0x0
if-eq p1, v2, :cond_9
const/4 v2, 0x2
const/4 v4, 0x3
if-eq p1, v2, :cond_4
if-eq p1, v4, :cond_4
if-eq p1, v0, :cond_3
goto/16 :goto_4
:cond_3
invoke-static {p2}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
invoke-virtual {p0, p2}, Lcom/google/android/gms/common/internal/BaseGmsClient;->onConnectedLocked(Landroid/os/IInterface;)V
goto/16 :goto_4
:cond_4
iget-object v9, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzu:Lcom/google/android/gms/common/internal/zze;
if-eqz v9, :cond_5
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
if-eqz p1, :cond_5
const-string p2, "GmsClient"
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzc()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzb()Ljava/lang/String;
move-result-object p1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v5, "Calling connect() while still connected, missing disconnect() for "
invoke-virtual {v2, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, " on "
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
iget-object v5, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzn:Lcom/google/android/gms/common/internal/GmsClientSupervisor;
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzc()Ljava/lang/String;
move-result-object v6
invoke-static {v6}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzb()Ljava/lang/String;
move-result-object v7
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zza()I
move-result v8
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zze()Ljava/lang/String;
move-result-object v10
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzd()Z
move-result v11
invoke-virtual/range {v5 .. v11}, Lcom/google/android/gms/common/internal/GmsClientSupervisor;->zzb(Ljava/lang/String;Ljava/lang/String;ILandroid/content/ServiceConnection;Ljava/lang/String;Z)V
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
:cond_5
new-instance p1, Lcom/google/android/gms/common/internal/zze;
iget-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result p2
invoke-direct {p1, p0, p2}, Lcom/google/android/gms/common/internal/zze;-><init>(Lcom/google/android/gms/common/internal/BaseGmsClient;I)V
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzu:Lcom/google/android/gms/common/internal/zze;
iget p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
if-ne p2, v4, :cond_6
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getLocalStartServiceAction()Ljava/lang/String;
move-result-object p2
if-eqz p2, :cond_6
new-instance p2, Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v5
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getLocalStartServiceAction()Ljava/lang/String;
move-result-object v6
const/4 v7, 0x1
invoke-static {}, Lcom/google/android/gms/common/internal/GmsClientSupervisor;->getDefaultBindFlags()I
move-result v8
const/4 v9, 0x0
move-object v4, p2
invoke-direct/range {v4 .. v9}, Lcom/google/android/gms/common/internal/zzu;-><init>(Ljava/lang/String;Ljava/lang/String;ZIZ)V
goto :goto_2
:cond_6
new-instance p2, Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getStartServicePackage()Ljava/lang/String;
move-result-object v5
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getStartServiceAction()Ljava/lang/String;
move-result-object v6
const/4 v7, 0x0
invoke-static {}, Lcom/google/android/gms/common/internal/GmsClientSupervisor;->getDefaultBindFlags()I
move-result v8
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getUseDynamicLookup()Z
move-result v9
move-object v4, p2
invoke-direct/range {v4 .. v9}, Lcom/google/android/gms/common/internal/zzu;-><init>(Ljava/lang/String;Ljava/lang/String;ZIZ)V
:goto_2
iput-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p2}, Lcom/google/android/gms/common/internal/zzu;->zzd()Z
move-result p2
if-eqz p2, :cond_8
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getMinApkVersion()I
move-result p2
const v0, 0x1110e58
if-lt p2, v0, :cond_7
goto :goto_3
:cond_7
new-instance p1, Ljava/lang/IllegalStateException;
const-string p2, "Internal Error, the minimum apk version of this BaseGmsClient is too low to support dynamic lookup. Start service action: "
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {v0}, Lcom/google/android/gms/common/internal/zzu;->zzc()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {p2, v0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p1
:goto_3
:cond_8
iget-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzn:Lcom/google/android/gms/common/internal/GmsClientSupervisor;
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {v0}, Lcom/google/android/gms/common/internal/zzu;->zzc()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {v2}, Lcom/google/android/gms/common/internal/zzu;->zzb()Ljava/lang/String;
move-result-object v2
iget-object v4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {v4}, Lcom/google/android/gms/common/internal/zzu;->zza()I
move-result v4
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zze()Ljava/lang/String;
move-result-object v5
iget-object v6, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {v6}, Lcom/google/android/gms/common/internal/zzu;->zzd()Z
move-result v6
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getBindServiceExecutor()Ljava/util/concurrent/Executor;
move-result-object v7
new-instance v8, Lcom/google/android/gms/common/internal/zzn;
invoke-direct {v8, v0, v2, v4, v6}, Lcom/google/android/gms/common/internal/zzn;-><init>(Ljava/lang/String;Ljava/lang/String;IZ)V
invoke-virtual {p2, v8, p1, v5, v7}, Lcom/google/android/gms/common/internal/GmsClientSupervisor;->zzc(Lcom/google/android/gms/common/internal/zzn;Landroid/content/ServiceConnection;Ljava/lang/String;Ljava/util/concurrent/Executor;)Z
move-result p1
if-nez p1, :cond_a
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzc()Ljava/lang/String;
move-result-object p1
iget-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p2}, Lcom/google/android/gms/common/internal/zzu;->zzb()Ljava/lang/String;
move-result-object p2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "unable to connect to service: "
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, " on "
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, "GmsClient"
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-static {p1, p2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
const/16 p1, 0x10
iget-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result p2
invoke-virtual {p0, p1, v3, p2}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl(ILandroid/os/Bundle;I)V
goto :goto_4
:cond_9
iget-object v8, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzu:Lcom/google/android/gms/common/internal/zze;
if-eqz v8, :cond_a
iget-object v4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzn:Lcom/google/android/gms/common/internal/GmsClientSupervisor;
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzc()Ljava/lang/String;
move-result-object v5
invoke-static {v5}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzb()Ljava/lang/String;
move-result-object v6
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zza()I
move-result v7
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zze()Ljava/lang/String;
move-result-object v9
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
invoke-virtual {p1}, Lcom/google/android/gms/common/internal/zzu;->zzd()Z
move-result v10
invoke-virtual/range {v4 .. v10}, Lcom/google/android/gms/common/internal/GmsClientSupervisor;->zzb(Ljava/lang/String;Ljava/lang/String;ILandroid/content/ServiceConnection;Ljava/lang/String;Z)V
iput-object v3, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzu:Lcom/google/android/gms/common/internal/zze;
:goto_4
:cond_a
monitor-exit v1
return-void
:catchall_0
move-exception p1
monitor-exit v1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method
.method public checkAvailabilityAndConnect()V
.locals 3
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzo:Lcom/google/android/gms/common/GoogleApiAvailabilityLight;
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl:Landroid/content/Context;
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getMinApkVersion()I
move-result v2
invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->isGooglePlayServicesAvailable(Landroid/content/Context;I)I
move-result v0
if-eqz v0, :cond_0
const/4 v1, 0x1
const/4 v2, 0x0
invoke-direct {p0, v1, v2}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp(ILandroid/os/IInterface;)V
new-instance v1, Lcom/google/android/gms/common/internal/BaseGmsClient$LegacyClientCallbackAdapter;
invoke-direct {v1, p0}, Lcom/google/android/gms/common/internal/BaseGmsClient$LegacyClientCallbackAdapter;-><init>(Lcom/google/android/gms/common/internal/BaseGmsClient;)V
invoke-virtual {p0, v1, v0, v2}, Lcom/google/android/gms/common/internal/BaseGmsClient;->triggerNotAvailable(Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;ILandroid/app/PendingIntent;)V
return-void
:cond_0
new-instance v0, Lcom/google/android/gms/common/internal/BaseGmsClient$LegacyClientCallbackAdapter;
invoke-direct {v0, p0}, Lcom/google/android/gms/common/internal/BaseGmsClient$LegacyClientCallbackAdapter;-><init>(Lcom/google/android/gms/common/internal/BaseGmsClient;)V
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->connect(Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;)V
return-void
.end method
.method protected final checkConnected()V
.locals 2
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->isConnected()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Not connected. Call connect() and wait for onConnected() to be called."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public connect(Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;)V
.locals 1
const-string v0, "Connection progress callbacks cannot be null."
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzc:Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;
const/4 p1, 0x2
const/4 v0, 0x0
invoke-direct {p0, p1, v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp(ILandroid/os/IInterface;)V
return-void
.end method
.method protected abstract createServiceInterface(Landroid/os/IBinder;)Landroid/os/IInterface;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/os/IBinder;",
")TT;"
}
.end annotation
.end method
.method public disconnect()V
.locals 4
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzt:Ljava/util/ArrayList;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzt:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_0
iget-object v3, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzt:Ljava/util/ArrayList;
invoke-virtual {v3, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/google/android/gms/common/internal/zzc;
invoke-virtual {v3}, Lcom/google/android/gms/common/internal/zzc;->zzf()V
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzt:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->clear()V
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzq:Ljava/lang/Object;
monitor-enter v1
const/4 v0, 0x0
:try_start_1
iput-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzr:Lcom/google/android/gms/common/internal/IGmsServiceBroker;
monitor-exit v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
const/4 v1, 0x1
invoke-direct {p0, v1, v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp(ILandroid/os/IInterface;)V
return-void
:catchall_0
move-exception v0
:try_start_2
monitor-exit v1
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v0
:catchall_1
move-exception v1
:try_start_3
monitor-exit v0
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
throw v1
.end method
.method public disconnect(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzk:Ljava/lang/String;
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->disconnect()V
return-void
.end method
.method public dump(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V
.locals 9
iget-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
monitor-enter p2
:try_start_0
iget p4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzs:Landroid/os/IInterface;
monitor-exit p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzq:Ljava/lang/Object;
monitor-enter v1
:try_start_1
iget-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzr:Lcom/google/android/gms/common/internal/IGmsServiceBroker;
monitor-exit v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object v1
const-string v2, "mConnectState="
invoke-virtual {v1, v2}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
const/4 v1, 0x3
const/4 v2, 0x2
const/4 v3, 0x1
if-eq p4, v3, :cond_4
if-eq p4, v2, :cond_3
if-eq p4, v1, :cond_2
const/4 v4, 0x4
if-eq p4, v4, :cond_1
const/4 v4, 0x5
if-eq p4, v4, :cond_0
const-string p4, "UNKNOWN"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
goto :goto_0
:cond_0
const-string p4, "DISCONNECTING"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
goto :goto_0
:cond_1
const-string p4, "CONNECTED"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
goto :goto_0
:cond_2
const-string p4, "LOCAL_CONNECTING"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
goto :goto_0
:cond_3
const-string p4, "REMOTE_CONNECTING"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
goto :goto_0
:cond_4
const-string p4, "DISCONNECTED"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->print(Ljava/lang/String;)V
:goto_0
const-string p4, " mService="
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
if-nez v0, :cond_5
const-string p4, "null"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
goto :goto_1
:cond_5
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getServiceDescriptor()Ljava/lang/String;
move-result-object p4
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p4
const-string v4, "@"
invoke-virtual {p4, v4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p4
invoke-interface {v0}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder;
move-result-object v0
invoke-static {v0}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {p4, v0}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
:goto_1
const-string p4, " mServiceBroker="
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
if-nez p2, :cond_6
const-string p2, "null"
invoke-virtual {p3, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
goto :goto_2
:cond_6
const-string p4, "IGmsServiceBroker@"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p4
invoke-interface {p2}, Lcom/google/android/gms/common/internal/IGmsServiceBroker;->asBinder()Landroid/os/IBinder;
move-result-object p2
invoke-static {p2}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result p2
invoke-static {p2}, Ljava/lang/Integer;->toHexString(I)Ljava/lang/String;
move-result-object p2
invoke-virtual {p4, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
:goto_2
new-instance p2, Ljava/text/SimpleDateFormat;
const-string p4, "yyyy-MM-dd HH:mm:ss.SSS"
sget-object v0, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-direct {p2, p4, v0}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V
iget-wide v4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzh:J
const-wide/16 v6, 0x0
cmp-long p4, v4, v6
if-lez p4, :cond_7
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p4
const-string v0, "lastConnectedTime="
invoke-virtual {p4, v0}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p4
iget-wide v4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzh:J
new-instance v0, Ljava/util/Date;
invoke-direct {v0, v4, v5}, Ljava/util/Date;-><init>(J)V
invoke-virtual {p2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
move-result-object v0
new-instance v8, Ljava/lang/StringBuilder;
invoke-direct {v8}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v8, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v4, " "
invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {p4, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
:cond_7
iget-wide v4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzg:J
cmp-long p4, v4, v6
if-lez p4, :cond_b
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p4
const-string v0, "lastSuspendedCause="
invoke-virtual {p4, v0}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
iget p4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzf:I
if-eq p4, v3, :cond_a
if-eq p4, v2, :cond_9
if-eq p4, v1, :cond_8
invoke-static {p4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p4
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
goto :goto_3
:cond_8
const-string p4, "CAUSE_DEAD_OBJECT_EXCEPTION"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
goto :goto_3
:cond_9
const-string p4, "CAUSE_NETWORK_LOST"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
goto :goto_3
:cond_a
const-string p4, "CAUSE_SERVICE_DISCONNECTED"
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
:goto_3
const-string p4, " lastSuspendedTime="
invoke-virtual {p3, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p4
iget-wide v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzg:J
new-instance v2, Ljava/util/Date;
invoke-direct {v2, v0, v1}, Ljava/util/Date;-><init>(J)V
invoke-virtual {p2, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
move-result-object v2
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v3, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v0, " "
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {p4, v0}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
:cond_b
iget-wide v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzj:J
cmp-long p4, v0, v6
if-lez p4, :cond_c
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p1
const-string p4, "lastFailedStatus="
invoke-virtual {p1, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p1
iget p4, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzi:I
invoke-static {p4}, Lcom/google/android/gms/common/api/CommonStatusCodes;->getStatusCodeString(I)Ljava/lang/String;
move-result-object p4
invoke-virtual {p1, p4}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
const-string p1, " lastFailedTime="
invoke-virtual {p3, p1}, Ljava/io/PrintWriter;->append(Ljava/lang/CharSequence;)Ljava/io/PrintWriter;
move-result-object p1
iget-wide p3, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzj:J
new-instance v0, Ljava/util/Date;
invoke-direct {v0, p3, p4}, Ljava/util/Date;-><init>(J)V
invoke-virtual {p2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;
move-result-object p2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0, p3, p4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string p3, " "
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, p2}, Ljava/io/PrintWriter;->println(Ljava/lang/String;)V
:cond_c
return-void
:catchall_0
move-exception p1
:try_start_2
monitor-exit v1
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw p1
:catchall_1
move-exception p1
:try_start_3
monitor-exit p2
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
throw p1
.end method
.method protected enableLocalFallback()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public getAccount()Landroid/accounts/Account;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getApiFeatures()[Lcom/google/android/gms/common/Feature;
.locals 1
sget-object v0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zze:[Lcom/google/android/gms/common/Feature;
return-object v0
.end method
.method public final getAvailableFeatures()[Lcom/google/android/gms/common/Feature;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzD:Lcom/google/android/gms/common/internal/zzj;
if-nez v0, :cond_0
const/4 v0, 0x0
return-object v0
:cond_0
iget-object v0, v0, Lcom/google/android/gms/common/internal/zzj;->zzb:[Lcom/google/android/gms/common/Feature;
return-object v0
.end method
.method protected getBindServiceExecutor()Ljava/util/concurrent/Executor;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getConnectionHint()Landroid/os/Bundle;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public final getContext()Landroid/content/Context;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl:Landroid/content/Context;
return-object v0
.end method
.method public getEndpointPackageName()Ljava/lang/String;
.locals 2
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->isConnected()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zza:Lcom/google/android/gms/common/internal/zzu;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lcom/google/android/gms/common/internal/zzu;->zzb()Ljava/lang/String;
move-result-object v0
return-object v0
:cond_0
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Failed to connect when checking package"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getGCoreServiceId()I
.locals 1
iget v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzy:I
return v0
.end method
.method protected getGetServiceRequestExtraArgs()Landroid/os/Bundle;
.locals 1
new-instance v0, Landroid/os/Bundle;
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
return-object v0
.end method
.method public getLastDisconnectMessage()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzk:Ljava/lang/String;
return-object v0
.end method
.method protected getLocalStartServiceAction()Ljava/lang/String;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public final getLooper()Landroid/os/Looper;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzm:Landroid/os/Looper;
return-object v0
.end method
.method public getMinApkVersion()I
.locals 1
sget v0, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->GOOGLE_PLAY_SERVICES_VERSION_CODE:I
return v0
.end method
.method public getRemoteService(Lcom/google/android/gms/common/internal/IAccountAccessor;Ljava/util/Set;)V
.locals 21
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/internal/IAccountAccessor;",
"Ljava/util/Set<",
"Lcom/google/android/gms/common/api/Scope;",
">;)V"
}
.end annotation
move-object/from16 v1, p0
move-object/from16 v0, p2
invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getGetServiceRequestExtraArgs()Landroid/os/Bundle;
move-result-object v2
new-instance v15, Lcom/google/android/gms/common/internal/GetServiceRequest;
iget v5, v1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzy:I
iget-object v14, v1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzA:Ljava/lang/String;
sget v6, Lcom/google/android/gms/common/GoogleApiAvailabilityLight;->GOOGLE_PLAY_SERVICES_VERSION_CODE:I
sget-object v9, Lcom/google/android/gms/common/internal/GetServiceRequest;->zza:[Lcom/google/android/gms/common/api/Scope;
new-instance v10, Landroid/os/Bundle;
invoke-direct {v10}, Landroid/os/Bundle;-><init>()V
sget-object v13, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzb:[Lcom/google/android/gms/common/Feature;
const/4 v4, 0x6
const/4 v7, 0x0
const/4 v8, 0x0
const/4 v11, 0x0
const/16 v16, 0x1
const/16 v17, 0x0
const/16 v18, 0x0
move-object v3, v15
move-object v12, v13
move-object/from16 v19, v14
move/from16 v14, v16
move-object/from16 v20, v15
move/from16 v15, v17
move/from16 v16, v18
move-object/from16 v17, v19
invoke-direct/range {v3 .. v17}, Lcom/google/android/gms/common/internal/GetServiceRequest;-><init>(IIILjava/lang/String;Landroid/os/IBinder;[Lcom/google/android/gms/common/api/Scope;Landroid/os/Bundle;Landroid/accounts/Account;[Lcom/google/android/gms/common/Feature;[Lcom/google/android/gms/common/Feature;ZIZLjava/lang/String;)V
iget-object v3, v1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl:Landroid/content/Context;
invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v3
move-object/from16 v4, v20
iput-object v3, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzf:Ljava/lang/String;
iput-object v2, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzi:Landroid/os/Bundle;
if-eqz v0, :cond_0
const/4 v2, 0x0
new-array v2, v2, [Lcom/google/android/gms/common/api/Scope;
invoke-interface {v0, v2}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/android/gms/common/api/Scope;
iput-object v0, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzh:[Lcom/google/android/gms/common/api/Scope;
:cond_0
invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->requiresSignIn()Z
move-result v0
if-eqz v0, :cond_2
invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getAccount()Landroid/accounts/Account;
move-result-object v0
if-nez v0, :cond_1
new-instance v0, Landroid/accounts/Account;
const-string v2, "<<default account>>"
const-string v3, "com.google"
invoke-direct {v0, v2, v3}, Landroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V
:cond_1
iput-object v0, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzj:Landroid/accounts/Account;
if-eqz p1, :cond_3
invoke-interface/range {p1 .. p1}, Lcom/google/android/gms/common/internal/IAccountAccessor;->asBinder()Landroid/os/IBinder;
move-result-object v0
iput-object v0, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzg:Landroid/os/IBinder;
goto :goto_0
:cond_2
invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->requiresAccount()Z
move-result v0
if-eqz v0, :cond_3
invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getAccount()Landroid/accounts/Account;
move-result-object v0
iput-object v0, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzj:Landroid/accounts/Account;
:goto_0
:cond_3
sget-object v0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zze:[Lcom/google/android/gms/common/Feature;
iput-object v0, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzk:[Lcom/google/android/gms/common/Feature;
invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getApiFeatures()[Lcom/google/android/gms/common/Feature;
move-result-object v0
iput-object v0, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzl:[Lcom/google/android/gms/common/Feature;
invoke-virtual/range {p0 .. p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->usesClientTelemetry()Z
move-result v0
if-eqz v0, :cond_4
const/4 v0, 0x1
iput-boolean v0, v4, Lcom/google/android/gms/common/internal/GetServiceRequest;->zzo:Z
:try_start_0
:cond_4
iget-object v2, v1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzq:Ljava/lang/Object;
monitor-enter v2
:try_end_0
.catch Landroid/os/DeadObjectException; {:try_start_0 .. :try_end_0} :catch_3
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_2
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
:try_start_1
iget-object v0, v1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzr:Lcom/google/android/gms/common/internal/IGmsServiceBroker;
if-eqz v0, :cond_5
new-instance v3, Lcom/google/android/gms/common/internal/zzd;
iget-object v5, v1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v5}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v5
invoke-direct {v3, v1, v5}, Lcom/google/android/gms/common/internal/zzd;-><init>(Lcom/google/android/gms/common/internal/BaseGmsClient;I)V
invoke-interface {v0, v3, v4}, Lcom/google/android/gms/common/internal/IGmsServiceBroker;->getService(Lcom/google/android/gms/common/internal/IGmsCallbacks;Lcom/google/android/gms/common/internal/GetServiceRequest;)V
goto :goto_1
:cond_5
const-string v0, "GmsClient"
const-string v3, "mServiceBroker is null, client disconnected"
invoke-static {v0, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
:goto_1
monitor-exit v2
return-void
:catchall_0
move-exception v0
monitor-exit v2
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
throw v0
:try_end_2
.catch Landroid/os/DeadObjectException; {:try_start_2 .. :try_end_2} :catch_3
.catch Ljava/lang/SecurityException; {:try_start_2 .. :try_end_2} :catch_2
.catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_2} :catch_1
.catch Ljava/lang/RuntimeException; {:try_start_2 .. :try_end_2} :catch_0
:catch_0
move-exception v0
goto :goto_2
:catch_1
move-exception v0
:goto_2
const-string v2, "GmsClient"
const-string v3, "IGmsServiceBroker.getService failed"
invoke-static {v2, v3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
const/16 v0, 0x8
iget-object v2, v1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v2
const/4 v3, 0x0
invoke-virtual {v1, v0, v3, v3, v2}, Lcom/google/android/gms/common/internal/BaseGmsClient;->onPostInitHandler(ILandroid/os/IBinder;Landroid/os/Bundle;I)V
return-void
:catch_2
move-exception v0
throw v0
:catch_3
move-exception v0
const-string v2, "GmsClient"
const-string v3, "IGmsServiceBroker.getService failed"
invoke-static {v2, v3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
const/4 v0, 0x3
invoke-virtual {v1, v0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->triggerConnectionSuspended(I)V
return-void
.end method
.method protected getScopes()Ljava/util/Set;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Set<",
"Lcom/google/android/gms/common/api/Scope;",
">;"
}
.end annotation
invoke-static {}, Ljava/util/Collections;->emptySet()Ljava/util/Set;
move-result-object v0
return-object v0
.end method
.method public final getService()Landroid/os/IInterface;
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/DeadObjectException;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
monitor-enter v0
:try_start_0
iget v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
const/4 v2, 0x5
if-eq v1, v2, :cond_0
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->checkConnected()V
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzs:Landroid/os/IInterface;
const-string v2, "Client is connected but service is null"
invoke-static {v1, v2}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
monitor-exit v0
return-object v1
:cond_0
new-instance v1, Landroid/os/DeadObjectException;
invoke-direct {v1}, Landroid/os/DeadObjectException;-><init>()V
throw v1
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public getServiceBrokerBinder()Landroid/os/IBinder;
.locals 2
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzq:Ljava/lang/Object;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzr:Lcom/google/android/gms/common/internal/IGmsServiceBroker;
if-nez v1, :cond_0
monitor-exit v0
const/4 v0, 0x0
return-object v0
:cond_0
invoke-interface {v1}, Lcom/google/android/gms/common/internal/IGmsServiceBroker;->asBinder()Landroid/os/IBinder;
move-result-object v1
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method protected abstract getServiceDescriptor()Ljava/lang/String;
.end method
.method public getSignInIntent()Landroid/content/Intent;
.locals 2
new-instance v0, Ljava/lang/UnsupportedOperationException;
const-string v1, "Not a sign in API"
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method protected abstract getStartServiceAction()Ljava/lang/String;
.end method
.method protected getStartServicePackage()Ljava/lang/String;
.locals 1
const-string v0, "com.google.android.gms"
return-object v0
.end method
.method public getTelemetryConfiguration()Lcom/google/android/gms/common/internal/ConnectionTelemetryConfiguration;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzD:Lcom/google/android/gms/common/internal/zzj;
if-nez v0, :cond_0
const/4 v0, 0x0
return-object v0
:cond_0
iget-object v0, v0, Lcom/google/android/gms/common/internal/zzj;->zzd:Lcom/google/android/gms/common/internal/ConnectionTelemetryConfiguration;
return-object v0
.end method
.method protected getUseDynamicLookup()Z
.locals 2
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/BaseGmsClient;->getMinApkVersion()I
move-result v0
const v1, 0xc9e4920
if-lt v0, v1, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public hasConnectionInfo()Z
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzD:Lcom/google/android/gms/common/internal/zzj;
if-eqz v0, :cond_0
const/4 v0, 0x1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public isConnected()Z
.locals 3
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
monitor-enter v0
:try_start_0
iget v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
const/4 v2, 0x4
if-ne v1, v2, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
monitor-exit v0
return v1
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public isConnecting()Z
.locals 4
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzp:Ljava/lang/Object;
monitor-enter v0
:try_start_0
iget v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzv:I
const/4 v2, 0x2
const/4 v3, 0x1
if-eq v1, v2, :cond_1
const/4 v2, 0x3
if-ne v1, v2, :cond_0
goto :goto_0
:cond_0
const/4 v3, 0x0
:goto_0
:cond_1
monitor-exit v0
return v3
:catchall_0
move-exception v1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method protected onConnectedLocked(Landroid/os/IInterface;)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzh:J
return-void
.end method
.method protected onConnectionFailed(Lcom/google/android/gms/common/ConnectionResult;)V
.locals 2
invoke-virtual {p1}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
move-result p1
iput p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzi:I
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzj:J
return-void
.end method
.method protected onConnectionSuspended(I)V
.locals 2
iput p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzf:I
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
iput-wide v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzg:J
return-void
.end method
.method protected onPostInitHandler(ILandroid/os/IBinder;Landroid/os/Bundle;I)V
.locals 2
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
new-instance v1, Lcom/google/android/gms/common/internal/zzf;
invoke-direct {v1, p0, p1, p2, p3}, Lcom/google/android/gms/common/internal/zzf;-><init>(Lcom/google/android/gms/common/internal/BaseGmsClient;ILandroid/os/IBinder;Landroid/os/Bundle;)V
const/4 p1, 0x1
const/4 p2, -0x1
invoke-virtual {v0, p1, p4, p2, v1}, Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;
move-result-object p1
invoke-virtual {v0, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
return-void
.end method
.method public onUserSignOut(Lcom/google/android/gms/common/internal/BaseGmsClient$SignOutCallbacks;)V
.locals 0
invoke-interface {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient$SignOutCallbacks;->onSignOutComplete()V
return-void
.end method
.method public providesSignIn()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public requiresAccount()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public requiresGooglePlayServices()Z
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public requiresSignIn()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public setAttributionTag(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzA:Ljava/lang/String;
return-void
.end method
.method public triggerConnectionSuspended(I)V
.locals 3
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
iget-object v1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v1
const/4 v2, 0x6
invoke-virtual {v0, v2, v1, p1}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;
move-result-object p1
invoke-virtual {v0, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
return-void
.end method
.method protected triggerNotAvailable(Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;ILandroid/app/PendingIntent;)V
.locals 2
const-string v0, "Connection progress callbacks cannot be null."
invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
iput-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzc:Lcom/google/android/gms/common/internal/BaseGmsClient$ConnectionProgressReportCallbacks;
iget-object p1, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd:Ljava/util/concurrent/atomic/AtomicInteger;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
move-result v0
const/4 v1, 0x3
invoke-virtual {p1, v1, v0, p2, p3}, Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;
move-result-object p2
invoke-virtual {p1, p2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
return-void
.end method
.method public usesClientTelemetry()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method protected final zze()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzz:Ljava/lang/String;
if-nez v0, :cond_0
iget-object v0, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl:Landroid/content/Context;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
:cond_0
return-object v0
.end method
.method protected final zzl(ILandroid/os/Bundle;I)V
.locals 2
iget-object p2, p0, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
new-instance v0, Lcom/google/android/gms/common/internal/zzg;
const/4 v1, 0x0
invoke-direct {v0, p0, p1, v1}, Lcom/google/android/gms/common/internal/zzg;-><init>(Lcom/google/android/gms/common/internal/BaseGmsClient;ILandroid/os/Bundle;)V
const/4 p1, 0x7
const/4 v1, -0x1
invoke-virtual {p2, p1, p3, v1, v0}, Landroid/os/Handler;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;
move-result-object p1
invoke-virtual {p2, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
return-void
.end method