granularity level: instruction
.class public final Lcom/google/android/gms/common/server/response/zal;
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.source "com.google.android.gms:play-services-base@@18.0.1"
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Lcom/google/android/gms/common/server/response/zal;",
">;"
}
.end annotation
.end field
.field final zaa:I
.field final zab:Ljava/lang/String;
.field final zac:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Lcom/google/android/gms/common/server/response/zam;",
">;"
}
.end annotation
.end field
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/google/android/gms/common/server/response/zap;
invoke-direct {v0}, Lcom/google/android/gms/common/server/response/zap;-><init>()V
sput-object v0, Lcom/google/android/gms/common/server/response/zal;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method constructor <init>(ILjava/lang/String;Ljava/util/ArrayList;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Ljava/lang/String;",
"Ljava/util/ArrayList<",
"Lcom/google/android/gms/common/server/response/zam;",
">;)V"
}
.end annotation
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
iput p1, p0, Lcom/google/android/gms/common/server/response/zal;->zaa:I
iput-object p2, p0, Lcom/google/android/gms/common/server/response/zal;->zab:Ljava/lang/String;
iput-object p3, p0, Lcom/google/android/gms/common/server/response/zal;->zac:Ljava/util/ArrayList;
return-void
.end method
.method constructor <init>(Ljava/lang/String;Ljava/util/Map;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Lcom/google/android/gms/common/server/response/FastJsonResponse$Field<",
"**>;>;)V"
}
.end annotation
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
const/4 v0, 0x1
iput v0, p0, Lcom/google/android/gms/common/server/response/zal;->zaa:I
iput-object p1, p0, Lcom/google/android/gms/common/server/response/zal;->zab:Ljava/lang/String;
if-nez p2, :cond_0
const/4 p1, 0x0
goto :goto_1
:cond_0
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
invoke-interface {p2}, Ljava/util/Map;->keySet()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
new-instance v2, Lcom/google/android/gms/common/server/response/zam;
invoke-interface {p2, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/google/android/gms/common/server/response/FastJsonResponse$Field;
invoke-direct {v2, v1, v3}, Lcom/google/android/gms/common/server/response/zam;-><init>(Ljava/lang/String;Lcom/google/android/gms/common/server/response/FastJsonResponse$Field;)V
invoke-virtual {p1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
:goto_1
iput-object p1, p0, Lcom/google/android/gms/common/server/response/zal;->zac:Ljava/util/ArrayList;
return-void
.end method
.method public final writeToParcel(Landroid/os/Parcel;I)V
.locals 3
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
move-result p2
iget v0, p0, Lcom/google/android/gms/common/server/response/zal;->zaa:I
const/4 v1, 0x1
invoke-static {p1, v1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
iget-object v0, p0, Lcom/google/android/gms/common/server/response/zal;->zab:Ljava/lang/String;
const/4 v1, 0x2
const/4 v2, 0x0
invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeString(Landroid/os/Parcel;ILjava/lang/String;Z)V
iget-object v0, p0, Lcom/google/android/gms/common/server/response/zal;->zac:Ljava/util/ArrayList;
const/4 v1, 0x3
invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeTypedList(Landroid/os/Parcel;ILjava/util/List;Z)V
invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
return-void
.end method