mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 09:57:16 +01:00
65 lines
2.7 KiB
Java
65 lines
2.7 KiB
Java
package com.google.android.gms.location;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.google.android.gms.common.internal.Objects;
|
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
|
|
|
|
@SafeParcelable.Class(creator = "NetworkLocationStatusCreator")
|
|
/* loaded from: classes7.dex */
|
|
public final class zzaj extends AbstractSafeParcelable {
|
|
public static final Parcelable.Creator<zzaj> CREATOR = new zzak();
|
|
|
|
@SafeParcelable.Field(defaultValueUnchecked = "LocationAvailability.STATUS_UNKNOWN", id = 2)
|
|
private final int zzar;
|
|
|
|
@SafeParcelable.Field(defaultValueUnchecked = "LocationAvailability.STATUS_UNKNOWN", id = 1)
|
|
private final int zzas;
|
|
|
|
@SafeParcelable.Field(defaultValueUnchecked = "NetworkLocationStatus.STATUS_INVALID_TIMESTAMP", id = 4)
|
|
private final long zzat;
|
|
|
|
@SafeParcelable.Field(defaultValueUnchecked = "NetworkLocationStatus.STATUS_INVALID_TIMESTAMP", id = 3)
|
|
private final long zzbt;
|
|
|
|
@SafeParcelable.Constructor
|
|
public zzaj(@SafeParcelable.Param(id = 1) int i, @SafeParcelable.Param(id = 2) int i2, @SafeParcelable.Param(id = 3) long j, @SafeParcelable.Param(id = 4) long j2) {
|
|
this.zzas = i;
|
|
this.zzar = i2;
|
|
this.zzbt = j;
|
|
this.zzat = j2;
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj != null && zzaj.class == obj.getClass()) {
|
|
zzaj zzajVar = (zzaj) obj;
|
|
if (this.zzas == zzajVar.zzas && this.zzar == zzajVar.zzar && this.zzbt == zzajVar.zzbt && this.zzat == zzajVar.zzat) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final int hashCode() {
|
|
return Objects.hashCode(Integer.valueOf(this.zzar), Integer.valueOf(this.zzas), Long.valueOf(this.zzat), Long.valueOf(this.zzbt));
|
|
}
|
|
|
|
public final String toString() {
|
|
return "NetworkLocationStatus: Wifi status: " + this.zzas + " Cell status: " + this.zzar + " elapsed time NS: " + this.zzat + " system time ms: " + this.zzbt;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
|
SafeParcelWriter.writeInt(parcel, 1, this.zzas);
|
|
SafeParcelWriter.writeInt(parcel, 2, this.zzar);
|
|
SafeParcelWriter.writeLong(parcel, 3, this.zzbt);
|
|
SafeParcelWriter.writeLong(parcel, 4, this.zzat);
|
|
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
|
}
|
|
}
|