package p138.p176.p177.p242.p246;

import android.app.PendingIntent;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.Arrays;
import p000.p001.p002.p003.p004.C0567;
import p138.p176.p177.p242.p246.p249.C4281;
import p138.p176.p177.p242.p246.p249.p250.AbstractC4283;

/* JADX INFO: renamed from: ދ.ހ.֏.ހ.ހ.ؠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C4191 extends AbstractC4283 {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final int f13392;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final int f13393;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final PendingIntent f13394;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final String f13395;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public static final C4191 f13391 = new C4191(0);
    public static final Parcelable.Creator<C4191> CREATOR = new C4323();

    public C4191(int i) {
        this.f13392 = 1;
        this.f13393 = i;
        this.f13394 = null;
        this.f13395 = null;
    }

    public C4191(int i, int i2, PendingIntent pendingIntent, String str) {
        this.f13392 = i;
        this.f13393 = i2;
        this.f13394 = pendingIntent;
        this.f13395 = str;
    }

    public C4191(int i, PendingIntent pendingIntent) {
        this.f13392 = 1;
        this.f13393 = i;
        this.f13394 = pendingIntent;
        this.f13395 = null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static String m6840(int i) {
        if (i == 99) {
            return "UNFINISHED";
        }
        if (i == 1500) {
            return "DRIVE_EXTERNAL_STORAGE_REQUIRED";
        }
        switch (i) {
            case -1:
                return "UNKNOWN";
            case 0:
                return "SUCCESS";
            case 1:
                return "SERVICE_MISSING";
            case 2:
                return "SERVICE_VERSION_UPDATE_REQUIRED";
            case 3:
                return "SERVICE_DISABLED";
            case 4:
                return "SIGN_IN_REQUIRED";
            case 5:
                return "INVALID_ACCOUNT";
            case 6:
                return "RESOLUTION_REQUIRED";
            case 7:
                return "NETWORK_ERROR";
            case 8:
                return "INTERNAL_ERROR";
            case 9:
                return "SERVICE_INVALID";
            case 10:
                return "DEVELOPER_ERROR";
            case 11:
                return "LICENSE_CHECK_FAILED";
            default:
                switch (i) {
                    case 13:
                        return "CANCELED";
                    case 14:
                        return "TIMEOUT";
                    case 15:
                        return "INTERRUPTED";
                    case 16:
                        return "API_UNAVAILABLE";
                    case 17:
                        return "SIGN_IN_FAILED";
                    case 18:
                        return "SERVICE_UPDATING";
                    case 19:
                        return "SERVICE_MISSING_PERMISSION";
                    case 20:
                        return "RESTRICTED_PROFILE";
                    case 21:
                        return "API_VERSION_UPDATE_REQUIRED";
                    default:
                        StringBuilder sb = new StringBuilder(31);
                        sb.append("UNKNOWN_ERROR_CODE(");
                        sb.append(i);
                        sb.append(")");
                        return sb.toString();
                }
        }
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof C4191)) {
            return false;
        }
        C4191 c4191 = (C4191) obj;
        return this.f13393 == c4191.f13393 && C0567.m1922(this.f13394, c4191.f13394) && C0567.m1922((Object) this.f13395, (Object) c4191.f13395);
    }

    public final int hashCode() {
        return Arrays.hashCode(new Object[]{Integer.valueOf(this.f13393), this.f13394, this.f13395});
    }

    public final String toString() {
        C4281 c4281M1935 = C0567.m1935(this);
        c4281M1935.m6962("statusCode", m6840(this.f13393));
        c4281M1935.m6962("resolution", this.f13394);
        c4281M1935.m6962("message", this.f13395);
        return c4281M1935.toString();
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        int iM1843 = C0567.m1843(parcel);
        C0567.m1880(parcel, 1, this.f13392);
        C0567.m1880(parcel, 2, this.f13393);
        C0567.m1884(parcel, 3, (Parcelable) this.f13394, i, false);
        C0567.m1885(parcel, 4, this.f13395, false);
        C0567.m1955(parcel, iM1843);
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public final boolean m6841() {
        return this.f13393 == 0;
    }
}
