125 lines
4.0 KiB
Java
125 lines
4.0 KiB
Java
package com.google.android.gms.common.stats;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import android.text.TextUtils;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
|
import java.util.List;
|
|
|
|
@Deprecated
|
|
/* loaded from: classes2.dex */
|
|
public final class WakeLockEvent extends StatsEvent {
|
|
public static final Parcelable.Creator<WakeLockEvent> CREATOR = new zza();
|
|
final int zza;
|
|
private final long zzb;
|
|
private int zzc;
|
|
private final String zzd;
|
|
private final String zze;
|
|
private final String zzf;
|
|
private final int zzg;
|
|
private final List zzh;
|
|
private final String zzi;
|
|
private final long zzj;
|
|
private int zzk;
|
|
private final String zzl;
|
|
private final float zzm;
|
|
private final long zzn;
|
|
private final boolean zzo;
|
|
private long zzp = -1;
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
|
SafeParcelWriter.writeInt(parcel, 1, this.zza);
|
|
SafeParcelWriter.writeLong(parcel, 2, this.zzb);
|
|
SafeParcelWriter.writeString(parcel, 4, this.zzd, false);
|
|
SafeParcelWriter.writeInt(parcel, 5, this.zzg);
|
|
SafeParcelWriter.writeStringList(parcel, 6, this.zzh, false);
|
|
SafeParcelWriter.writeLong(parcel, 8, this.zzj);
|
|
SafeParcelWriter.writeString(parcel, 10, this.zze, false);
|
|
SafeParcelWriter.writeInt(parcel, 11, this.zzc);
|
|
SafeParcelWriter.writeString(parcel, 12, this.zzi, false);
|
|
SafeParcelWriter.writeString(parcel, 13, this.zzl, false);
|
|
SafeParcelWriter.writeInt(parcel, 14, this.zzk);
|
|
SafeParcelWriter.writeFloat(parcel, 15, this.zzm);
|
|
SafeParcelWriter.writeLong(parcel, 16, this.zzn);
|
|
SafeParcelWriter.writeString(parcel, 17, this.zzf, false);
|
|
SafeParcelWriter.writeBoolean(parcel, 18, this.zzo);
|
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.stats.StatsEvent
|
|
public final String zzd() {
|
|
List list = this.zzh;
|
|
String str = this.zzd;
|
|
int i = this.zzg;
|
|
String join = list == null ? "" : TextUtils.join(",", list);
|
|
int i2 = this.zzk;
|
|
String str2 = this.zze;
|
|
if (str2 == null) {
|
|
str2 = "";
|
|
}
|
|
String str3 = this.zzl;
|
|
if (str3 == null) {
|
|
str3 = "";
|
|
}
|
|
float f = this.zzm;
|
|
String str4 = this.zzf;
|
|
String str5 = str4 != null ? str4 : "";
|
|
boolean z = this.zzo;
|
|
StringBuilder sb = new StringBuilder("\t");
|
|
sb.append(str);
|
|
sb.append("\t");
|
|
sb.append(i);
|
|
sb.append("\t");
|
|
sb.append(join);
|
|
sb.append("\t");
|
|
sb.append(i2);
|
|
sb.append("\t");
|
|
sb.append(str2);
|
|
sb.append("\t");
|
|
sb.append(str3);
|
|
sb.append("\t");
|
|
sb.append(f);
|
|
sb.append("\t");
|
|
sb.append(str5);
|
|
sb.append("\t");
|
|
sb.append(z);
|
|
return sb.toString();
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.stats.StatsEvent
|
|
public final long zzc() {
|
|
return this.zzb;
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.stats.StatsEvent
|
|
public final long zzb() {
|
|
return this.zzp;
|
|
}
|
|
|
|
@Override // com.google.android.gms.common.stats.StatsEvent
|
|
public final int zza() {
|
|
return this.zzc;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public WakeLockEvent(int i, long j, int i2, String str, int i3, List list, String str2, long j2, int i4, String str3, String str4, float f, long j3, String str5, boolean z) {
|
|
this.zza = i;
|
|
this.zzb = j;
|
|
this.zzc = i2;
|
|
this.zzd = str;
|
|
this.zze = str3;
|
|
this.zzf = str5;
|
|
this.zzg = i3;
|
|
this.zzh = list;
|
|
this.zzi = str2;
|
|
this.zzj = j2;
|
|
this.zzk = i4;
|
|
this.zzl = str4;
|
|
this.zzm = f;
|
|
this.zzn = j3;
|
|
this.zzo = z;
|
|
}
|
|
}
|